Chromium Code Reviews| Index: chrome/browser/ui/browser_dialogs.h |
| diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h |
| index a6aa62be6204da9d4cce4dc47d0eda5f4436bb99..0011f996932a84324b11f296162c13a399094f36 100644 |
| --- a/chrome/browser/ui/browser_dialogs.h |
| +++ b/chrome/browser/ui/browser_dialogs.h |
| @@ -21,6 +21,10 @@ |
| #include "chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.h" |
| #endif // OS_CHROMEOS |
| +#if defined(OS_MACOSX) |
| +class LocationBarDecoration; |
| +#endif |
| + |
| class Browser; |
| class ContentSettingBubbleModel; |
| class GURL; |
| @@ -123,7 +127,8 @@ void ShowPageInfoBubbleViewsAtPoint( |
| Profile* profile, |
| content::WebContents* web_contents, |
| const GURL& virtual_url, |
| - const security_state::SecurityInfo& security_info); |
| + const security_state::SecurityInfo& security_info, |
| + LocationBarDecoration* decoration); |
|
sky
2017/05/19 14:53:22
The code in c/b/ui shouldn't know about platform s
spqchan
2017/05/19 17:44:55
Done.
tapted
2017/05/21 08:15:28
Ooh interesting. I think the fact that we can even
|
| // Show a Views bookmark bubble at the given point. This occurs when the |
| // bookmark star is clicked or "Bookmark This Page..." is selected from a menu |
| @@ -133,7 +138,8 @@ void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point, |
| bookmarks::BookmarkBubbleObserver* observer, |
| Browser* browser, |
| const GURL& url, |
| - bool newly_bookmarked); |
| + bool newly_bookmarked, |
| + LocationBarDecoration* decoration); |
| // Shows a views zoom bubble at the |anchor_point|. This occurs when the zoom |
| // icon is clicked or when a shortcut key is pressed or whenever |web_contents| |
| @@ -199,7 +205,9 @@ class ContentSettingBubbleViewsBridge { |
| static void Show(gfx::NativeView parent_view, |
| ContentSettingBubbleModel* model, |
| content::WebContents* web_contents, |
| - const gfx::Point& anchor); |
| + const gfx::Point& anchor, |
| + LocationBarDecoration* decoration); |
| + |
| private: |
| DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleViewsBridge); |
| }; |