| Index: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
|
| diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
|
| index 170b63424089b189dac82647269cb402e80306af..f203664e7497c283997bde2277b7baa4d688ccb4 100644
|
| --- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
|
| +++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
|
| @@ -35,11 +35,19 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
|
| // Makes the bubble the foreground window.
|
| static void ActivateBubble();
|
|
|
| + // Returns true if a bubble is currently shown.
|
| + static bool IsBubbleShown();
|
| +
|
| // Returns a pointer to the bubble.
|
| static ManagePasswordsBubbleView* manage_password_bubble() {
|
| return manage_passwords_bubble_;
|
| }
|
|
|
| + ManagePasswordsBubbleView(content::WebContents* web_contents,
|
| + views::View* anchor_view,
|
| + const gfx::Point& anchor_point,
|
| + DisplayReason reason);
|
| +
|
| content::WebContents* web_contents() const;
|
|
|
| #if defined(UNIT_TEST)
|
| @@ -62,9 +70,6 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
|
| class SignInPromoView;
|
| class UpdatePendingView;
|
|
|
| - ManagePasswordsBubbleView(content::WebContents* web_contents,
|
| - views::View* anchor_view,
|
| - DisplayReason reason);
|
| ~ManagePasswordsBubbleView() override;
|
|
|
| // LocationBarBubbleDelegateView:
|
| @@ -79,6 +84,9 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
|
| bool ShouldShowWindowIcon() const override;
|
| bool ShouldShowCloseButton() const override;
|
|
|
| + // WidgetObserver:
|
| + void OnWidgetDestroying(views::Widget* widget) override;
|
| +
|
| // Refreshes the bubble's state.
|
| void Refresh();
|
|
|
|
|