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

Unified Diff: Source/modules/bluetooth/Bluetooth.idl

Issue 639533002: bluetooth: Extend navigator.bluetooth IDL to include Bluetooth interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | « Source/modules/bluetooth/Bluetooth.h ('k') | Source/modules/bluetooth/NavigatorBluetooth.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/bluetooth/Bluetooth.idl
diff --git a/Source/modules/geofencing/GeofencingRegion.idl b/Source/modules/bluetooth/Bluetooth.idl
similarity index 52%
copy from Source/modules/geofencing/GeofencingRegion.idl
copy to Source/modules/bluetooth/Bluetooth.idl
index 4e22058d98b22fb2f0a7d196263ea4b9a458feab..45ef93185fd1caf2b5ccbb43e4f06795dbbe8359 100644
--- a/Source/modules/geofencing/GeofencingRegion.idl
+++ b/Source/modules/bluetooth/Bluetooth.idl
@@ -2,10 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// https://webbluetoothcg.github.io/web-bluetooth/#idl-def-Bluetooth
+
[
- RuntimeEnabled=Geofencing,
- NoInterfaceObject,
GarbageCollected,
-] interface GeofencingRegion {
- readonly attribute DOMString id;
+ NoInterfaceObject,
+ RuntimeEnabled=Bluetooth,
+] interface Bluetooth {
};
+
+// http://crbug.com/420284
+// Bluetooth implements BluetoothDiscovery;
« no previous file with comments | « Source/modules/bluetooth/Bluetooth.h ('k') | Source/modules/bluetooth/NavigatorBluetooth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698