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

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

Issue 73293002: [rAC, OSX] Cleanup: Separate out WindowController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_dialog_cocoa.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
index 4bbe157f3568b29333581f4e493517aa6079a01f..a819580ae32b492385a1db0c76b1cb7640ee3f1c 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
@@ -106,71 +106,4 @@ class AutofillDialogCocoa : public AutofillDialogView,
} // autofill
-@interface AutofillDialogWindowController :
- NSWindowController<NSWindowDelegate, AutofillLayout> {
- @private
- content::WebContents* webContents_; // weak.
- autofill::AutofillDialogCocoa* autofillDialog_; // weak.
-
- base::scoped_nsobject<AutofillMainContainer> mainContainer_;
- base::scoped_nsobject<AutofillSignInContainer> signInContainer_;
- base::scoped_nsobject<AutofillAccountChooser> accountChooser_;
- base::scoped_nsobject<AutofillOverlayController> overlayController_;
- base::scoped_nsobject<NSTextField> loadingShieldTextField_;
- base::scoped_nsobject<NSTextField> titleTextField_;
- base::scoped_nsobject<NSTextView> fieldEditor_;
-}
-
-// Designated initializer. The WebContents cannot be NULL.
-- (id)initWithWebContents:(content::WebContents*)webContents
- autofillDialog:(autofill::AutofillDialogCocoa*)autofillDialog;
-
-// A child view request re-layouting.
-- (void)requestRelayout;
-
-// Cancels all previous requests to re-layout.
-- (void)cancelRelayout;
-
-// Validate data. If it is valid, notify the delegate that the user would
-// like to use the data.
-- (IBAction)accept:(id)sender;
-
-// User cancels dialog.
-- (IBAction)cancel:(id)sender;
-
-// Forwarding AutofillDialogView calls.
-- (void)show;
-- (void)hide;
-- (void)updateNotificationArea;
-- (void)updateAccountChooser;
-- (void)updateButtonStrip;
-- (void)updateSection:(autofill::DialogSection)section;
-- (void)fillSection:(autofill::DialogSection)section
- forInput:(const autofill::DetailInput&)input;
-- (void)getInputs:(autofill::DetailOutputMap*)outputs
- forSection:(autofill::DialogSection)section;
-- (NSString*)getCvc;
-- (BOOL)saveDetailsLocally;
-- (content::NavigationController*)showSignIn;
-- (void)hideSignIn;
-- (void)modelChanged;
-- (void)updateErrorBubble;
-- (void)onSignInResize:(NSSize)size;
-
-@end
-
-
-// Mirrors the TestableAutofillDialogView API on the C++ side.
-@interface AutofillDialogWindowController (TestableAutofillDialogView)
-
-- (void)setTextContents:(NSString*)text
- forInput:(const autofill::DetailInput&)input;
-- (void)setTextContents:(NSString*)text
- ofSuggestionForSection:(autofill::DialogSection)section;
-- (void)activateFieldForInput:(const autofill::DetailInput&)input;
-- (content::WebContents*)getSignInWebContents;
-- (BOOL)IsShowingOverlay;
-
-@end
-
#endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_

Powered by Google App Engine
This is Rietveld 408576698