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

Unified Diff: chrome/browser/chooser_controller/chooser_controller.cc

Issue 2245603003: Add signal strength indicator icon to WebBluetooth chooser on non-Mac desktops (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address more comments Created 4 years, 4 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/chooser_controller/chooser_controller.cc
diff --git a/chrome/browser/chooser_controller/chooser_controller.cc b/chrome/browser/chooser_controller/chooser_controller.cc
index 1a3da0a073d3150f7715a3b8baf7e66a663cc78e..ea2c78af3ec4c70891cc977cbd4e90964c704da7 100644
--- a/chrome/browser/chooser_controller/chooser_controller.cc
+++ b/chrome/browser/chooser_controller/chooser_controller.cc
@@ -50,3 +50,11 @@ base::string16 ChooserController::GetTitle() const {
url_formatter::FormatOriginForSecurityDisplay(
origin, url_formatter::SchemeDisplay::OMIT_CRYPTOGRAPHIC));
}
+
+bool ChooserController::ShouldShowIconBeforeText() const {
+ return false;
+}
+
+int ChooserController::GetSignalStrengthLevel(size_t index) const {
+ return -1;
+}
« no previous file with comments | « chrome/browser/chooser_controller/chooser_controller.h ('k') | chrome/browser/ui/android/bluetooth_chooser_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698