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

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

Issue 9863032: [Sync] [Mac] Implement one-click signin bubble for OS X (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sky's comments Created 8 years, 9 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/nibs/OneClickSigninBubble.xib ('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 1f69c6acd740a9d76137d44f494cab2ea38151fa..8b61058751c7b5093bde5e78e6936c61f881fb11 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
#pragma once
+#include "base/callback_forward.h"
#include "chrome/browser/ui/base_window.h"
#include "chrome/browser/ui/bookmarks/bookmark_bar.h"
#include "chrome/browser/ui/fullscreen_exit_bubble_type.h"
@@ -217,8 +218,11 @@ class BrowserWindow : public BaseWindow {
virtual void ShowChromeToMobileBubble() = 0;
#if defined(ENABLE_ONE_CLICK_SIGNIN)
- // Shows the one-click sign in bubble.
- virtual void ShowOneClickSigninBubble() = 0;
+ // Shows the one-click sign in bubble. The given closures are run
+ // when their corresponding links are clicked.
+ virtual void ShowOneClickSigninBubble(
+ const base::Closure& learn_more_callback,
+ const base::Closure& advanced_callback) = 0;
#endif
// Whether or not the shelf view is visible.
« no previous file with comments | « chrome/app/nibs/OneClickSigninBubble.xib ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698