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..fcdd8b89601a1cca2c58ef9155a30c3f76570d43 100644 |
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.h |
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h |
| @@ -37,6 +37,12 @@ class LabelButton; |
| class Browser; |
| +enum ShowingType { |
|
Roger Tawa OOO till Jul 10th
2015/05/15 14:29:17
Please add a comment explaining how this is used.
gogerald1
2015/05/19 23:35:12
Done.
|
| + IS_NOT_SHOWING = 0, |
| + IS_SHOWING = 1, |
| + IS_SHOWING_IN_ANOTHER_BROWSER = 2, |
| +}; |
| + |
| // This bubble view is displayed when the user clicks on the avatar button. |
| // It displays a list of profiles and allows users to switch between profiles. |
| class ProfileChooserView : public content::WebContentsDelegate, |
| @@ -62,6 +68,7 @@ class ProfileChooserView : public content::WebContentsDelegate, |
| views::BubbleBorder::BubbleAlignment border_alignment, |
| Browser* browser); |
| static bool IsShowing(); |
| + static ShowingType IsShowingInBrowser(const Browser* browser); |
| static void Hide(); |
| private: |