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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_layout_view.h

Issue 14704004: [Autofill] Add Details Section (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_LAYOUT_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_LAYOUT_VIEW_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "base/memory/scoped_ptr.h"
11
12 class SimpleGridLayout;
13
14 // A view that carries its own layout manager. Re-layouts on setFrame:.
15 @interface AutofillLayoutView : NSView {
sail 2013/05/01 17:12:36 It might be nice to generalize this, something lik
groby-ooo-7-16 2013/05/01 20:37:44 Done. (in separate CL)
16 @private
17 scoped_ptr<SimpleGridLayout> layout_;
18 }
19
20 // Sets a layout manager and takes ownership of it.
21 - (void)setLayoutManager:(SimpleGridLayout*) layout;
sail 2013/05/01 17:12:36 since this takes ownership, pass a scoped_ptr inst
groby-ooo-7-16 2013/05/01 20:37:44 Done. (in separate CL) On 2013/05/01 17:12:36, sai
22 - (void)setFrame:(NSRect)frame;
23 - (void)performLayout;
24 - (CGFloat)preferredHeightForWidth:(CGFloat)width;
25
26 @end
27
28 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_LAYOUT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698