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

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: Make enum protected 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
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index c34b37f50e35f35d55a445dbc065b34210d8490c..fa812194dbf078b8750547c02b35431caccdc16e 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

Powered by Google App Engine
This is Rietveld 408576698