Index: chrome/browser/ui/cocoa/bubble_anchor_helper_views.h |
diff --git a/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h b/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h |
index 527c5ceb187a1bfff42b85cb3adfd6255293b4a5..82136200728d545e4f9c8f8f8f6fea46d525b830 100644 |
--- a/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h |
+++ b/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h |
@@ -5,12 +5,37 @@ |
#ifndef CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_ |
#define CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_ |
+namespace gfx { |
+class Point; |
+} |
+ |
namespace views { |
class BubbleDialogDelegateView; |
} |
+class LocationBarDecoration; |
+ |
+// Returns the manage password icon decoration in the omnibox. |
+LocationBarDecoration* GetManagePasswordDecoration( |
+ views::BubbleDialogDelegateView* bubble); |
+ |
+// Returns the star icon decoration in the omnibox. |
+LocationBarDecoration* GetStarDecoration( |
+ views::BubbleDialogDelegateView* bubble); |
+ |
+// Returns the page icon decoration in the omnibox. |
+LocationBarDecoration* GetPageInfoDecoration( |
+ views::BubbleDialogDelegateView* bubble); |
+ |
+LocationBarDecoration* GetContentSettingDecoration( |
+ views::BubbleDialogDelegateView* bubble, |
+ const gfx::Point& anchor); |
+ |
// Monitors |bubble|'s parent window for size changes, and updates the bubble |
-// anchor. The monitor will be deleted when |bubble| is closed. |
-void KeepBubbleAnchored(views::BubbleDialogDelegateView* bubble); |
+// anchor. The monitor will be deleted when |bubble| is closed. If |decoration| |
+// is provided, the decoration will be set to active in this function. It will |
+// be set to inactive when |bubble| is closed. |
+void KeepBubbleAnchored(views::BubbleDialogDelegateView* bubble, |
+ LocationBarDecoration* decoration = nullptr); |
#endif // CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_ |