| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |