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

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

Issue 77283002: [rAc OSX] Factor out AutofillHeader class to contain dialog header elements. (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..a15370de7da7438d8dba8cdee2996c0132320632 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
@@ -23,8 +23,8 @@ namespace autofill {
class AutofillDialogViewDelegate;
}
-@class AutofillAccountChooser;
@class AutofillDialogWindowController;
+@class AutofillHeader;
@class AutofillMainContainer;
@class AutofillOverlayController;
@class AutofillSignInContainer;
@@ -110,20 +110,19 @@ class AutofillDialogCocoa : public AutofillDialogView,
NSWindowController<NSWindowDelegate, AutofillLayout> {
@private
content::WebContents* webContents_; // weak.
- autofill::AutofillDialogCocoa* autofillDialog_; // weak.
+ autofill::AutofillDialogCocoa* dialog_; // weak.
+ base::scoped_nsobject<AutofillHeader> header_;
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;
+ dialog:(autofill::AutofillDialogCocoa*)dialog;
// A child view request re-layouting.
- (void)requestRelayout;

Powered by Google App Engine
This is Rietveld 408576698