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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_main_container.h

Issue 19287006: [rAC, OSX] "Save In Chrome" checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload - CQ is capricious Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698