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

Unified Diff: modules/battery/NavigatorBattery.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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
« no previous file with comments | « modules/battery/BatteryManager.idl ('k') | modules/beacon/NavigatorBeacon.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/battery/NavigatorBattery.idl
diff --git a/modules/serviceworkers/NavigatorServiceWorker.idl b/modules/battery/NavigatorBattery.idl
similarity index 68%
copy from modules/serviceworkers/NavigatorServiceWorker.idl
copy to modules/battery/NavigatorBattery.idl
index 1f5335479cf79598fd1ce37f85c492eca124fe71..c5bff09da1473e835b8de2b1f59997117385b2c6 100644
--- a/modules/serviceworkers/NavigatorServiceWorker.idl
+++ b/modules/battery/NavigatorBattery.idl
@@ -3,7 +3,8 @@
// found in the LICENSE file.
[
- RuntimeEnabled=ServiceWorker,
+ RuntimeEnabled=BatteryStatus,
] partial interface Navigator {
- readonly attribute ServiceWorkerContainer serviceWorker;
+ [CallWith=ScriptState] Promise getBattery();
};
+
« no previous file with comments | « modules/battery/BatteryManager.idl ('k') | modules/beacon/NavigatorBeacon.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698