diff options
Diffstat (limited to 'chrome/browser/ui/browser.h')
| -rw-r--r-- | chrome/browser/ui/browser.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h index 37d23b3..b9813b8 100644 --- a/chrome/browser/ui/browser.h +++ b/chrome/browser/ui/browser.h @@ -28,8 +28,10 @@ #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h" #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" #include "chrome/browser/ui/host_desktop.h" +#include "chrome/browser/ui/profile_chooser_constants.h" #include "chrome/browser/ui/search/search_tab_helper_delegate.h" #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h" +#include "chrome/browser/ui/signin_view_controller.h" #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h" #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" #include "components/content_settings/core/common/content_settings.h" @@ -412,6 +414,21 @@ class Browser : public TabStripModelObserver, ui::PageTransition transition, bool user_initiated); + // Shows the signin flow for |mode| in a tab-modal dialog. + // |access_point| indicates the access point used to open the Gaia sign in + // page. + void ShowModalSigninWindow(profiles::BubbleViewMode mode, + signin_metrics::AccessPoint access_point); + + // Closes the tab-modal signin flow opened with ShowModalSigninWindow, if it's + // open. Does nothing otherwise. + void CloseModalSigninWindow(); + + // Shows the tab modal sync confirmation dialog that informs the user about + // sync and gives them a chance to abort signin under the tab modal signin + // flow. + void ShowModalSyncConfirmationWindow(); + // Interface implementations //////////////////////////////////////////////// // Overridden from content::PageNavigator: @@ -992,6 +1009,8 @@ class Browser : public TabStripModelObserver, scoped_ptr<ValidationMessageBubble> validation_message_bubble_; + SigninViewController signin_view_controller_; + // The following factory is used for chrome update coalescing. base::WeakPtrFactory<Browser> chrome_updater_factory_; |
