Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1479)

Unified Diff: Source/modules/wake_lock/NavigatorWakeLock.idl

Issue 399313003: Initial implementation of API WakeLock. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Implementation of WakeLock API on JavaScript side Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/wake_lock/NavigatorWakeLock.idl
diff --git a/Source/modules/push_messaging/NavigatorPushManager.idl b/Source/modules/wake_lock/NavigatorWakeLock.idl
similarity index 73%
copy from Source/modules/push_messaging/NavigatorPushManager.idl
copy to Source/modules/wake_lock/NavigatorWakeLock.idl
index 26db0dddc171d946dab70ea59e2202a465f47803..3cee48334139b83b6968981f7a9192c2de158d56 100644
--- a/Source/modules/push_messaging/NavigatorPushManager.idl
+++ b/Source/modules/wake_lock/NavigatorWakeLock.idl
@@ -3,7 +3,7 @@
// found in the LICENSE file.
[
- RuntimeEnabled=PushMessaging,
+ RuntimeEnabled=WakeLock,
] partial interface Navigator {
- readonly attribute PushManager push;
+ readonly attribute WakeLock wakeLock;
mlamouri (slow - plz ping) 2014/08/18 12:15:52 You might want to upload this CL with: git cl uplo
redchenko 2014/08/19 16:42:20 Thanks!
};

Powered by Google App Engine
This is Rietveld 408576698