Chromium Code Reviews| Index: chrome/browser/ui/views/profiles/profile_chooser_view.h |
| diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.h b/chrome/browser/ui/views/profiles/profile_chooser_view.h |
| index d9b59812d1169b414a1797ffc4ee645fc86132d6..c1ecd80ae9789f25b1cee27af180438a81e19577 100644 |
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.h |
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h |
| @@ -62,6 +62,15 @@ class ProfileChooserView : public content::WebContentsDelegate, |
| views::BubbleBorder::BubbleAlignment border_alignment, |
| Browser* browser); |
| static bool IsShowing(); |
| + |
| + // A ShowingType to indicate whether the avatar bubble view is showing in |
| + // designated browser. |
|
msw
2015/05/20 00:18:12
nit: sorry, grammatically, this should be "in a de
gogerald1
2015/05/20 14:06:24
Done.
|
| + enum ShowingType { |
| + IS_NOT_SHOWING = 0, |
| + IS_SHOWING = 1, |
| + IS_SHOWING_IN_ANOTHER_BROWSER = 2, |
| + }; |
| + static ShowingType IsShowingInBrowser(const Browser* browser); |
| static void Hide(); |
| private: |