Chromium Code Reviews| Index: chrome/browser/ui/website_settings/chooser_bubble_controller.h |
| diff --git a/chrome/browser/ui/website_settings/chooser_bubble_controller.h b/chrome/browser/ui/website_settings/chooser_bubble_controller.h |
| index 70f766053dcf6137992ee0d45ed680345c0b78ee..c6b519a01033132dc284f986a06d6de45151d6dd 100644 |
| --- a/chrome/browser/ui/website_settings/chooser_bubble_controller.h |
| +++ b/chrome/browser/ui/website_settings/chooser_bubble_controller.h |
| @@ -14,6 +14,10 @@ |
| class Browser; |
| class GURL; |
| +namespace url { |
| +class Origin; |
| +} |
| + |
| // Subclass ChooserBubbleController to implement a chooser bubble, which has |
| // some introductory text and a list of options that users can pick one of. |
| // Create an instance of your subclass and pass it to |
| @@ -53,6 +57,9 @@ class ChooserBubbleController : public BubbleDelegate { |
| virtual ~Observer() {} |
| }; |
| + // Return the origin URL to be displayed on the bubble title. |
| + url::Origin GetOriginUrl() const; |
|
palmer
2016/04/18 21:13:59
Nit: I'd probably name this simply |GetOrigin|.
juncai
2016/04/18 21:20:36
Done.
|
| + |
| // Open help center URL. |
| void OpenHelpCenterUrl() const; |