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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h

Issue 130563003: Change all other AutofillDialogView methods with a const DetailInput& as a param (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AUTOFILL_AUTOFILL_DIALOG_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_WINDOW_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // User canceled the dialog. 86 // User canceled the dialog.
87 - (IBAction)cancel:(id)sender; 87 - (IBAction)cancel:(id)sender;
88 88
89 @end 89 @end
90 90
91 91
92 // Mirrors the TestableAutofillDialogView API on the C++ side. 92 // Mirrors the TestableAutofillDialogView API on the C++ side.
93 @interface AutofillDialogWindowController (TestableAutofillDialogView) 93 @interface AutofillDialogWindowController (TestableAutofillDialogView)
94 94
95 - (void)setTextContents:(NSString*)text 95 - (void)setTextContents:(NSString*)text
96 forInput:(const autofill::DetailInput&)input; 96 forType:(autofill::ServerFieldType)type;
97 - (void)setTextContents:(NSString*)text 97 - (void)setTextContents:(NSString*)text
98 ofSuggestionForSection:(autofill::DialogSection)section; 98 ofSuggestionForSection:(autofill::DialogSection)section;
99 - (void)activateFieldForInput:(const autofill::DetailInput&)input; 99 - (void)activateFieldForType:(autofill::ServerFieldType)type;
100 - (content::WebContents*)getSignInWebContents; 100 - (content::WebContents*)getSignInWebContents;
101 - (BOOL)isShowingOverlay; 101 - (BOOL)isShowingOverlay;
102 102
103 @end 103 @end
104 104
105 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_WINDOW_CONTROLLER_H_ 105 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698