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

Unified Diff: modules/presentation/NavigatorPresentation.idl

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 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/performance/WorkerGlobalScopePerformance.idl ('k') | modules/presentation/Presentation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
-
« no previous file with comments | « modules/performance/WorkerGlobalScopePerformance.idl ('k') | modules/presentation/Presentation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698