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

Unified Diff: chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc

Issue 2155743002: Add throbber and status text to WebBluetooth chooser UI on non-Mac desktops (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unnecessary include file Created 4 years, 5 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
Index: chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
diff --git a/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc b/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
index b1962b9af9884a9abbb66754b9d25faf4a0776ea..f7edd9b8c97a166b860d5fe518b9abe9f38b4733 100644
--- a/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
+++ b/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
@@ -25,9 +25,12 @@ ChromeExtensionBluetoothChooser::ChromeExtensionBluetoothChooser(
ChromeExtensionBluetoothChooser::~ChromeExtensionBluetoothChooser() {}
void ChromeExtensionBluetoothChooser::SetAdapterPresence(
- AdapterPresence presence) {}
+ AdapterPresence presence) {
+ bluetooth_chooser_controller_->OnAdapterPresenceChanged(presence);
+}
void ChromeExtensionBluetoothChooser::ShowDiscoveryState(DiscoveryState state) {
+ bluetooth_chooser_controller_->OnDiscoveryStateChanged(state);
}
void ChromeExtensionBluetoothChooser::AddDevice(
« no previous file with comments | « chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc ('k') | chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698