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

Unified Diff: Source/core/dom/DocumentWakeLock.idl

Issue 1084923002: Wake Lock API implementation (Blink part) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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/core/dom/DocumentWakeLock.idl
diff --git a/Source/core/dom/DocumentWakeLock.idl b/Source/core/dom/DocumentWakeLock.idl
new file mode 100644
index 0000000000000000000000000000000000000000..9959712101e75c622db9da0b36b1d36fb05e3e02
--- /dev/null
+++ b/Source/core/dom/DocumentWakeLock.idl
@@ -0,0 +1,9 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
mlamouri (slow - plz ping) 2015/04/28 08:00:25 Could you move that to a modules instead? Like Sou
alogvinov 2015/04/28 16:49:10 We actually tried doing that, but got a strange ru
mlamouri (slow - plz ping) 2015/04/29 10:07:08 Hmm, I'm not sure where that's coming from. Did yo
alogvinov 2015/04/29 16:50:59 Tried that, makes no difference. I also tried to m
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ RuntimeEnabled=WakeLock,
+] partial interface Document {
+ attribute boolean keepScreenAwake;
+};

Powered by Google App Engine
This is Rietveld 408576698