commit | a4fd427d8a3b82bd55cd9d64c480d5d610d9c599 | [log] [tgz] |
---|---|---|
author | Mrunal Kapade <mrunal.kapade@intel.com> | Fri Aug 17 23:39:15 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 17 23:39:15 2018 |
tree | 46be1001c6fb9ba47291efefc674aba1e6a64c79 | |
parent | e6a59a6bf0c44a45fabe15389cd29373325eb4e8 [diff] |
Wake Lock API: Implement Screen WakeLock based on Promises. This patch implements navigator.getWakeLock(WakeLockType) and other necessary interfaces such as WakeLock and WakeLockRequest to provide acesss to Screen wakelock for now. Latest WakeLock API spec can be seen here, https://www.w3.org/TR/wake-lock. Intent to Implement, https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/KMNZmMF1_H4 Bug: 257511 Change-Id: I7fa4d0f7f287d7497b48f583e18e0ca5ca39e662 Reviewed-on: https://chromium-review.googlesource.com/918062 Commit-Queue: Mrunal Kapade <mrunal.kapade@intel.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#584239}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .