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

Unified Diff: chrome/browser/ui/cocoa/one_click_signin_bubble_controller.h

Issue 13845022: Mac: Display a native bubble (instead of the JS one) after the web signin flow. (branched from http… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ntpBubble
Patch Set: Fix bot issues Created 7 years, 8 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/cocoa/one_click_signin_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/one_click_signin_bubble_controller.h b/chrome/browser/ui/cocoa/one_click_signin_bubble_controller.h
index 2086f355a85633fa14c697316dcce9704eb639cc..a7f64d8139843e231857cc9698e3ca18decedf6c 100644
--- a/chrome/browser/ui/cocoa/one_click_signin_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/one_click_signin_bubble_controller.h
@@ -19,6 +19,8 @@
// has started).
@interface OneClickSigninBubbleController : BaseBubbleController {
scoped_nsobject<OneClickSigninViewController> viewController_;
+ @private
+ IBOutlet NSTextField* messageTextField_;
}
@property(readonly, nonatomic) OneClickSigninViewController* viewController;
@@ -30,6 +32,8 @@
// The bubble is not automatically displayed; call showWindow:id to
// display. The bubble is auto-released on close.
- (id)initWithBrowserWindowController:(BrowserWindowController*)controller
+ webContents:(content::WebContents*)webContents
+ errorMessage:(const string16&)errorMessage
Alexei Svitkine (slow) 2013/04/19 19:54:15 Please document the parameters, particularly |erro
noms (inactive) 2013/04/22 15:28:07 Done.
callback:(const BrowserWindow::StartSyncCallback&)
syncCallback;

Powered by Google App Engine
This is Rietveld 408576698