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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
(...skipping 17 matching lines...) Expand all
28 scoped_nsobject<AutofillDetailsContainer> detailsContainer_; 28 scoped_nsobject<AutofillDetailsContainer> detailsContainer_;
29 AutofillDialogWindowController* target_; 29 AutofillDialogWindowController* target_;
30 autofill::AutofillDialogController* controller_; // Not owned. 30 autofill::AutofillDialogController* controller_; // Not owned.
31 } 31 }
32 32
33 @property(assign, nonatomic) AutofillDialogWindowController* target; 33 @property(assign, nonatomic) AutofillDialogWindowController* target;
34 34
35 // Designated initializer. 35 // Designated initializer.
36 - (id)initWithController:(autofill::AutofillDialogController*)controller; 36 - (id)initWithController:(autofill::AutofillDialogController*)controller;
37 37
38 // Determine preferred size for content.
39 - (NSSize)preferredSize;
40
41 // Layout contents according to preferredSize;
42 - (void)performLayout;
43
38 // Returns the view controller responsible for |section|. 44 // Returns the view controller responsible for |section|.
39 - (AutofillSectionContainer*)sectionForId:(autofill::DialogSection)section; 45 - (AutofillSectionContainer*)sectionForId:(autofill::DialogSection)section;
40 46
41 // Called when the controller-maintained suggestions model has changed. 47 // Called when the controller-maintained suggestions model has changed.
42 - (void)modelChanged; 48 - (void)modelChanged;
43 49
44 @end 50 @end
45 51
46 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ 52 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698