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

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

Issue 2126873003: Change WebBluetooth chooser title to "pair with" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@support_chrome_extension_chooser_title
Patch Set: address comment 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/chooser_controller.cc » ('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 bb20a77fcbd73ef1048c57eed1c005517428dfa7..7ed166fe8b1332c9ba822401fd03df3958b648af 100644
--- a/chrome/browser/chooser_controller/chooser_controller.h
+++ b/chrome/browser/chooser_controller/chooser_controller.h
@@ -21,7 +21,9 @@ class RenderFrameHost;
// calls back into it are not allowed.
class ChooserController {
public:
- explicit ChooserController(content::RenderFrameHost* owner);
+ ChooserController(content::RenderFrameHost* owner,
+ int title_string_id_origin,
+ int title_string_id_extension);
virtual ~ChooserController();
// Since the set of options can change while the UI is visible an
@@ -82,7 +84,9 @@ class ChooserController {
Observer* observer() const { return observer_; }
private:
- content::RenderFrameHost* owning_frame_;
+ content::RenderFrameHost* const owning_frame_;
+ const int title_string_id_origin_;
+ const int title_string_id_extension_;
Observer* observer_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(ChooserController);
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chooser_controller/chooser_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698