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..835bedc0fe36d30689d01a32c35a3cd10fc1fe1d 100644 |
--- a/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h |
+++ b/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h |
@@ -9,8 +9,25 @@ 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); |
+ |
// 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_ |