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..07505a5c2f67b605db906c8abe67c1aa67d1ec1c 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_container.h |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_container.h |
@@ -25,6 +25,9 @@ namespace autofill { |
@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. |
@@ -37,6 +40,12 @@ namespace autofill { |
- (id)initWithController:(autofill::AutofillDialogController*)controller |
forSection:(autofill::DialogSection)section; |
+// Determine preferred size for content. |
+- (NSSize)preferredSize; |
+ |
+// Layout contents according to preferredSize; |
+- (void)performLayout; |
+ |
// Populates |output| with mappings from field identification to input value. |
- (void)getInputs:(autofill::DetailOutputMap*)output; |