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

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: Merge to HEAD 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 be453509f40c0b0e4e6136cc901e1ea13cc3ebf3..8418baa9a7c3c67b1b17e83d1f4ae35c602990f4 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
@@ -107,72 +107,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<AutofillLoadingShieldController>
- loadingShieldController_;
- 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_
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698