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

Unified Diff: modules/bluetooth/NavigatorBluetooth.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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/bluetooth/BluetoothUUID.idl ('k') | modules/bluetooth/RequestDeviceOptions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/bluetooth/NavigatorBluetooth.idl
diff --git a/modules/battery/NavigatorBattery.idl b/modules/bluetooth/NavigatorBluetooth.idl
similarity index 56%
copy from modules/battery/NavigatorBattery.idl
copy to modules/bluetooth/NavigatorBluetooth.idl
index c5bff09da1473e835b8de2b1f59997117385b2c6..671f652e0878ec72e6c0ec99e84688992b1961c1 100644
--- a/modules/battery/NavigatorBattery.idl
+++ b/modules/bluetooth/NavigatorBluetooth.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.
+// https://webbluetoothchrome.github.io/web-bluetooth/#idl-def-navigatorbluetooth
+
[
- RuntimeEnabled=BatteryStatus,
+ RuntimeEnabled=WebBluetooth,
] partial interface Navigator {
- [CallWith=ScriptState] Promise getBattery();
+ readonly attribute Bluetooth bluetooth;
};
-
« no previous file with comments | « modules/bluetooth/BluetoothUUID.idl ('k') | modules/bluetooth/RequestDeviceOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698