Index: Source/modules/wake_lock/NavigatorWakeLock.idl |
diff --git a/Source/modules/wake_lock/NavigatorWakeLock.idl b/Source/modules/wake_lock/NavigatorWakeLock.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..40ffafea7b43e13265ecf9cc8e3370468e904dc2 |
--- /dev/null |
+++ b/Source/modules/wake_lock/NavigatorWakeLock.idl |
@@ -0,0 +1,9 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ RuntimeEnabled=WakeLock, |
+] partial interface Navigator { |
+ [CallWith=ScriptState] readonly attribute WakeLock wakeLock; |
+}; |