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

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

Issue 15645004: [rAC] Allow sub-views to trigger layout reflow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review issues. Created 7 years, 7 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_section_container.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_section_container.h b/chrome/browser/ui/cocoa/autofill/autofill_section_container.h
index 9b0b3fe4362e1f8106fd0ca6fc1920f526bf7f94..c242dce43ae2e4d44d1ebacabcce9c515a8a1f7d 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_container.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_container.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_nsobject.h"
#include "chrome/browser/ui/autofill/autofill_dialog_types.h"
+#import "chrome/browser/ui/cocoa/autofill/autofill_layout.h"
namespace autofill {
class AutofillDialogController;
@@ -21,10 +22,13 @@ namespace autofill {
// View controller for a section of the payment details. Contains a label
// describing the section as well as associated inputs and controls. Built
// dynamically based on data retrieved from AutofillDialogController.
-@interface AutofillSectionContainer : NSViewController {
+@interface AutofillSectionContainer : NSViewController<AutofillLayout> {
@private
scoped_nsobject<LayoutView> inputs_;
scoped_nsobject<MenuButton> suggestButton_;
+ scoped_nsobject<NSTextField> label_;
+ scoped_nsobject<NSView> view_; // The view for the container.
+
scoped_nsobject<MenuController> menuController_;
autofill::DialogSection section_;
autofill::AutofillDialogController* controller_; // Not owned.

Powered by Google App Engine
This is Rietveld 408576698