OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ |
6 #define CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual void OpenHelpCenterUrl() const = 0; | 124 virtual void OpenHelpCenterUrl() const = 0; |
125 | 125 |
126 // Provide help information when the adapter is off. | 126 // Provide help information when the adapter is off. |
127 virtual void OpenAdapterOffHelpUrl() const; | 127 virtual void OpenAdapterOffHelpUrl() const; |
128 | 128 |
129 // Only one view may be registered at a time. | 129 // Only one view may be registered at a time. |
130 void set_view(View* view) { view_ = view; } | 130 void set_view(View* view) { view_ = view; } |
131 View* view() const { return view_; } | 131 View* view() const { return view_; } |
132 | 132 |
133 private: | 133 private: |
134 content::RenderFrameHost* const owning_frame_; | 134 base::string16 title_; |
135 const int title_string_id_origin_; | |
136 const int title_string_id_extension_; | |
137 View* view_ = nullptr; | 135 View* view_ = nullptr; |
138 | 136 |
139 DISALLOW_COPY_AND_ASSIGN(ChooserController); | 137 DISALLOW_COPY_AND_ASSIGN(ChooserController); |
140 }; | 138 }; |
141 | 139 |
142 #endif // CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ | 140 #endif // CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ |
OLD | NEW |