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

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

Issue 2127203002: Change WebBluetooth chooser OK button's label to be "Pair" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@support_chrome_extension_chooser_title
Patch Set: rebase 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chooser_controller/mock_chooser_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chooser_controller/chooser_controller.h
diff --git a/chrome/browser/chooser_controller/chooser_controller.h b/chrome/browser/chooser_controller/chooser_controller.h
index 161cddd53692bdbe939622a61bb347468409ffff..bb20a77fcbd73ef1048c57eed1c005517428dfa7 100644
--- a/chrome/browser/chooser_controller/chooser_controller.h
+++ b/chrome/browser/chooser_controller/chooser_controller.h
@@ -51,6 +51,9 @@ class ChooserController {
// Returns the text to be displayed in the chooser title.
base::string16 GetTitle() const;
+ // Returns the label for OK button.
+ virtual base::string16 GetOkButtonLabel() const = 0;
+
// The number of options users can pick from. For example, it can be
// the number of USB/Bluetooth device names which are listed in the
// chooser so that users can grant permission.
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chooser_controller/mock_chooser_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698