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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.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: Fix compile after rebase 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_window_controller.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h b/chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h
index f94d0a821b6b9733bf409f6bb530d03ce32acce3..b68b904258dac97a72dad10a24348d3e24d394a4 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h
@@ -11,8 +11,8 @@
#include "chrome/browser/ui/autofill/autofill_dialog_types.h"
#import "chrome/browser/ui/cocoa/autofill/autofill_layout.h"
-@class AutofillAccountChooser;
@class AutofillDialogWindowController;
+@class AutofillHeader;
@class AutofillLoadingShieldController;
@class AutofillMainContainer;
@class AutofillOverlayController;
@@ -57,22 +57,20 @@ class AutofillDialogCocoa;
NSWindowController<NSWindowDelegate, AutofillLayout, AutofillDialogBridge> {
@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<AutofillLoadingShieldController>
loadingShieldController_;
- 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;
// Requests a re-layout for the entire dialog. The layout will be postponed
// until the next cycle of the runloop.

Powered by Google App Engine
This is Rietveld 408576698