Index: third_party/WebKit/Source/modules/bluetooth/FakeBluetoothChooserEvent.idl |
diff --git a/third_party/WebKit/Source/modules/bluetooth/FakeBluetoothChooserEvent.idl b/third_party/WebKit/Source/modules/bluetooth/FakeBluetoothChooserEvent.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6aa783574e5e0add42bc860b467b357f6baf62d9 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/bluetooth/FakeBluetoothChooserEvent.idl |
@@ -0,0 +1,17 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+enum ChooserEventType { |
+ "chooseropened", |
+ "scanstarted", |
+ "scanstopped", |
+ "deviceupdate", |
+}; |
+ |
+[NoInterfaceObject] |
+interface FakeBluetoothChooserEvent { |
+ readonly attribute ChooserEventType type; |
+ readonly attribute DOMString? domain; |
+ readonly attribute FakeLEPeripheral? peripheral; |
+}; |