Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Unified Diff: chrome/browser/ui/browser_window.h

Issue 11896021: Change the one-click sign in confirmation bubble into a modal dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index ad1184fca0e275d8270fe8595aedb63c0ec6be9a..d6d2fceb5b42ed6db19c2131fe855dcc93dbae6f 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -218,6 +218,11 @@ class BrowserWindow : public BaseWindow {
virtual void ShowChromeToMobileBubble() = 0;
#if defined(ENABLE_ONE_CLICK_SIGNIN)
+ enum OneClickSigninBubbleType {
+ ONE_CLICK_SIGNIN_BUBBLE_TYPE_BUBBLE,
+ ONE_CLICK_SIGNIN_BUBBLE_TYPE_MODAL_DIALOG
+ };
+
// Callback type used with the ShowOneClickSigninBubble() method. If the
// user chooses to accept the sign in, the callback is called to start the
// sync process.
@@ -226,6 +231,7 @@ class BrowserWindow : public BaseWindow {
// Shows the one-click sign in bubble.
virtual void ShowOneClickSigninBubble(
+ OneClickSigninBubbleType type,
const StartSyncCallback& start_sync_callback) = 0;
#endif
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698