Chromium Code Reviews| Index: chrome/browser/ui/cocoa/autofill/autofill_main_container.h |
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container.h b/chrome/browser/ui/cocoa/autofill/autofill_main_container.h |
| index ae83ea7a6fc696cea23e91c402be467c6bc20452..274bf38328805bf47ccff7ee1c109dc5cbd4b264 100644 |
| --- a/chrome/browser/ui/cocoa/autofill/autofill_main_container.h |
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container.h |
| @@ -29,6 +29,7 @@ namespace autofill { |
| NSTextViewDelegate> { |
| @private |
| base::scoped_nsobject<GTMWidthBasedTweaker> buttonContainer_; |
| + base::scoped_nsobject<NSButton> saveInChromeCheckbox_; |
| base::scoped_nsobject<AutofillDetailsContainer> detailsContainer_; |
| base::scoped_nsobject<HyperlinkTextView> legalDocumentsView_; |
| base::scoped_nsobject<AutofillNotificationContainer> notificationContainer_; |
| @@ -58,6 +59,9 @@ namespace autofill { |
| // Called when the controller-maintained suggestions model has changed. |
| - (void)modelChanged; |
| +// Get status of "Save in Chrome" checkbox. |
| +- (BOOL)saveDetailsLocally; |
| + |
| // Called when the legal documents text might need to be refreshed. |
| - (void)updateLegalDocuments; |
| @@ -69,4 +73,12 @@ namespace autofill { |
| @end |
| + |
| +// AutofillMainContainer helper functions, for testing purposes only. |
| +@interface AutofillMainContainer (Testing) |
| + |
| +@property (readonly, nonatomic) NSButton* saveInChromeCheckboxForTesting; |
|
Robert Sesek
2013/07/16 18:40:38
nit: no space before (
groby-ooo-7-16
2013/07/16 19:55:39
Done.
|
| + |
| +@end |
| + |
| #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ |