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

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

Issue 15645004: [rAC] Allow sub-views to trigger layout reflow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now using proper patch base. 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_main_container.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container.h b/chrome/browser/ui/cocoa/autofill/autofill_main_container.h
index 1a6b96c57a2431ea1cdba2c827958ce0cc53fa21..ee5f92cc8130b380c43bf8c374ead026ca922cdb 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_main_container.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container.h
@@ -35,6 +35,12 @@ namespace autofill {
// Designated initializer.
- (id)initWithController:(autofill::AutofillDialogController*)controller;
+// Determine preferred size for content.
+- (NSSize)preferredSize;
+
+// Layout contents according to preferredSize;
+- (void)performLayout;
+
// Returns the view controller responsible for |section|.
- (AutofillSectionContainer*)sectionForId:(autofill::DialogSection)section;

Powered by Google App Engine
This is Rietveld 408576698