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

Side by Side Diff: third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom

Issue 1991063002: Implement the gattserverdisconnected event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-web-bluetooth-device
Patch Set: Skip the new tests on Mac, where getCharacteristic isn't implemented yet. Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module blink.mojom; 5 module blink.mojom;
6 6
7 // Errors that can occur during Web Bluetooth execution, which are transformed 7 // Errors that can occur during Web Bluetooth execution, which are transformed
8 // to a DOMException in Source/modules/bluetooth/BluetoothError.cpp. 8 // to a DOMException in Source/modules/bluetooth/BluetoothError.cpp.
9 // 9 //
10 // These errors all produce constant message strings. If a particular message 10 // These errors all produce constant message strings. If a particular message
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 RemoteCharacteristicStopNotifications( 153 RemoteCharacteristicStopNotifications(
154 string characteristic_instance_id) => (); 154 string characteristic_instance_id) => ();
155 }; 155 };
156 156
157 // Classes should implement this interface and pass an associated pointer 157 // Classes should implement this interface and pass an associated pointer
158 // bound to them to the WebBluetoothService by using SetClient. Classes 158 // bound to them to the WebBluetoothService by using SetClient. Classes
159 // that do this will be notified of device events e.g. device disconnection. 159 // that do this will be notified of device events e.g. device disconnection.
160 interface WebBluetoothServiceClient { 160 interface WebBluetoothServiceClient {
161 RemoteCharacteristicValueChanged(string characteristic_instance_id, 161 RemoteCharacteristicValueChanged(string characteristic_instance_id,
162 array<uint8> value); 162 array<uint8> value);
163 GattServerDisconnected(string device_id);
163 }; 164 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698