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

Side by Side Diff: chrome/browser/ui/cocoa/one_click_signin_view_controller.h

Issue 107673002: OneClickSigninBubbleView: Update the bubble form to reflect new bubble/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address sky@ comments. Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_VIEW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_VIEW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_VIEW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_VIEW_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/mac/scoped_nsobject.h" 11 #include "base/mac/scoped_nsobject.h"
12 #include "chrome/browser/ui/browser_window.h" 12 #include "chrome/browser/ui/browser_window.h"
13 13
14 @class BrowserWindowController; 14 @class BrowserWindowController;
15 namespace content { 15 namespace content {
16 class WebContents; 16 class WebContents;
17 } 17 }
18 @class HyperlinkTextView; 18 @class HyperlinkTextView;
19 19
20 // View controller for the one-click signin confirmation UI. 20 // View controller for the one-click signin confirmation UI.
21 @interface OneClickSigninViewController : NSViewController<NSTextViewDelegate> { 21 @interface OneClickSigninViewController : NSViewController<NSTextViewDelegate> {
22 @private 22 @private
23 IBOutlet NSTextField* messageTextField_; 23 IBOutlet NSTextField* messageTextField_;
24 IBOutlet NSTextField* titleTextField_;
24 IBOutlet NSTextField* informativePlaceholderTextField_; 25 IBOutlet NSTextField* informativePlaceholderTextField_;
25 IBOutlet NSButton* advancedLink_; 26 IBOutlet NSButton* advancedLink_;
26 IBOutlet NSButton* closeButton_; 27 IBOutlet NSButton* closeButton_;
27 28
28 // This is YES if this is the modal sync confirmation dialog. 29 // This is YES if this is the modal sync confirmation dialog.
29 BOOL isSyncDialog_; 30 BOOL isSyncDialog_;
30 31
31 // This is YES if the user clicked the Learn More link before another action. 32 // This is YES if the user clicked the Learn More link before another action.
32 BOOL clickedLearnMore_; 33 BOOL clickedLearnMore_;
33 34
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 72
72 // Does not start sync and closes the bubble. 73 // Does not start sync and closes the bubble.
73 - (IBAction)onClickUndo:(id)sender; 74 - (IBAction)onClickUndo:(id)sender;
74 75
75 // Calls |advancedCallback_|. 76 // Calls |advancedCallback_|.
76 - (IBAction)onClickAdvancedLink:(id)sender; 77 - (IBAction)onClickAdvancedLink:(id)sender;
77 78
78 @end 79 @end
79 80
80 #endif // CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_VIEW_CONTROLLER_H_ 81 #endif // CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/app/nibs/OneClickSigninBubble.xib ('k') | chrome/browser/ui/cocoa/one_click_signin_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698