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

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 2882533003: [Mac] Hover/Active Omnibox Icon States for Secondary UI MD (Closed)
Patch Set: Addressed tapted's comments Created 3 years, 7 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 | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698