OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_SECTION_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SECTION_CONTAINER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SECTION_CONTAINER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SECTION_CONTAINER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
| 10 #include <memory> |
| 11 |
10 #include "base/mac/scoped_nsobject.h" | 12 #include "base/mac/scoped_nsobject.h" |
11 #include "base/memory/scoped_ptr.h" | |
12 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" | 13 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
13 #import "chrome/browser/ui/cocoa/autofill/autofill_input_field.h" | 14 #import "chrome/browser/ui/cocoa/autofill/autofill_input_field.h" |
14 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h" | 15 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h" |
15 #include "components/autofill/core/browser/detail_input.h" | 16 #include "components/autofill/core/browser/detail_input.h" |
16 #include "components/autofill/core/browser/dialog_section.h" | 17 #include "components/autofill/core/browser/dialog_section.h" |
17 | 18 |
18 namespace autofill { | 19 namespace autofill { |
19 class AutofillDialogViewDelegate; | 20 class AutofillDialogViewDelegate; |
20 } | 21 } |
21 | 22 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // Sets the value for the suggestion text field. | 123 // Sets the value for the suggestion text field. |
123 - (void)setSuggestionFieldValue:(NSString*)text; | 124 - (void)setSuggestionFieldValue:(NSString*)text; |
124 | 125 |
125 // Activates a given input field, determined by |type|. Does nothing if the | 126 // Activates a given input field, determined by |type|. Does nothing if the |
126 // field is not part of this section. | 127 // field is not part of this section. |
127 - (void)activateFieldForType:(autofill::ServerFieldType)type; | 128 - (void)activateFieldForType:(autofill::ServerFieldType)type; |
128 | 129 |
129 @end | 130 @end |
130 | 131 |
131 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SECTION_CONTAINER_H_ | 132 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SECTION_CONTAINER_H_ |
OLD | NEW |