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

Unified Diff: chrome/browser/usb/usb_chooser_controller.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 some unnecessary include files and forward declarations 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/usb/usb_chooser_controller.cc
diff --git a/chrome/browser/usb/usb_chooser_controller.cc b/chrome/browser/usb/usb_chooser_controller.cc
index 52c64d23e2d8cd806c0c4579495924b88b3b5d53..23ed71607b5fb3d3d851b7433882840a8c49fa0c 100644
--- a/chrome/browser/usb/usb_chooser_controller.cc
+++ b/chrome/browser/usb/usb_chooser_controller.cc
@@ -93,6 +93,16 @@ base::string16 UsbChooserController::GetOption(size_t index) const {
devices_[index].first->serial_number());
}
+void UsbChooserController::RefreshOptions() {}
+
+bool UsbChooserController::NeedsThrobber() const {
+ return false;
+}
+
+bool UsbChooserController::NeedsStatus() const {
+ return false;
+}
+
void UsbChooserController::Select(size_t index) {
DCHECK_LT(index, devices_.size());
content::WebContents* web_contents =

Powered by Google App Engine
This is Rietveld 408576698