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_MAIN_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 // Called when the legal documents text might need to be refreshed. | 65 // Called when the legal documents text might need to be refreshed. |
66 - (void)updateLegalDocuments; | 66 - (void)updateLegalDocuments; |
67 | 67 |
68 // Called when there are changes to the notification area. | 68 // Called when there are changes to the notification area. |
69 - (void)updateNotificationArea; | 69 - (void)updateNotificationArea; |
70 | 70 |
71 // Validates form input data. | 71 // Validates form input data. |
72 - (BOOL)validate; | 72 - (BOOL)validate; |
73 | 73 |
74 // Updates status of "save in Chrome" checkbox. | |
75 - (void)updateSaveInChrome; | |
76 | |
77 @end | 74 @end |
78 | 75 |
79 | 76 |
80 // AutofillMainContainer helper functions, for testing purposes only. | 77 // AutofillMainContainer helper functions, for testing purposes only. |
81 @interface AutofillMainContainer (Testing) | 78 @interface AutofillMainContainer (Testing) |
82 | 79 |
83 @property(readonly, nonatomic) NSButton* saveInChromeCheckboxForTesting; | 80 @property(readonly, nonatomic) NSButton* saveInChromeCheckboxForTesting; |
84 | 81 |
85 @end | 82 @end |
86 | 83 |
87 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ | 84 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ |
OLD | NEW |