This is part 1 of matching WebBluetooth chooser views to mocks.
This CL changes the WebBluetooth chooser title from "connect to"
to "pair with".
BUG=583452
Review-Url: https://codereview.chromium.org/2126873003
Cr-Commit-Position: refs/heads/master@{#405370}
diff --git a/chrome/browser/chooser_controller/chooser_controller.h b/chrome/browser/chooser_controller/chooser_controller.h
index bb20a77f..7ed166f 100644
--- a/chrome/browser/chooser_controller/chooser_controller.h
+++ b/chrome/browser/chooser_controller/chooser_controller.h
@@ -21,7 +21,9 @@
// 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 @@
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);