Index: modules/presentation/NavigatorPresentation.idl |
diff --git a/modules/battery/NavigatorBattery.idl b/modules/presentation/NavigatorPresentation.idl |
similarity index 54% |
copy from modules/battery/NavigatorBattery.idl |
copy to modules/presentation/NavigatorPresentation.idl |
index c5bff09da1473e835b8de2b1f59997117385b2c6..4cf7e1e3de71c4d96955ed98163dc25c1b05eb33 100644 |
--- a/modules/battery/NavigatorBattery.idl |
+++ b/modules/presentation/NavigatorPresentation.idl |
@@ -2,9 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// http://webscreens.github.io/presentation-api/#presentation-extension-to-navigator |
+ |
[ |
- RuntimeEnabled=BatteryStatus, |
+ RuntimeEnabled=Presentation |
] partial interface Navigator { |
- [CallWith=ScriptState] Promise getBattery(); |
+ readonly attribute Presentation presentation; |
}; |
- |