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

Side by Side Diff: ui/views/layout/fill_layout.h

Issue 6286013: V2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
« no previous file with comments | « ui/views/events/event_win.cc ('k') | ui/views/layout/fill_layout.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 UI_VIEWS_LAYOUT_FILL_LAYOUT_H_
6 #define UI_VIEWS_LAYOUT_FILL_LAYOUT_H_
7 #pragma once
8
9 #include "base/logging.h"
10 #include "ui/views/layout/layout_manager.h"
11
12 namespace ui {
13
14 ////////////////////////////////////////////////////////////////////////////////
15 // FillLayout class
16 //
17 // A simple LayoutManager that compels a single view to fit its parent.
18 //
19 class FillLayout : public LayoutManager {
20 public:
21 FillLayout();
22 virtual ~FillLayout();
23
24 // Overridden from LayoutManager:
25 virtual void Layout(View* host);
26 virtual gfx::Size GetPreferredSize(View* host);
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(FillLayout);
30 };
31
32 } // namespace ui
33
34 #endif // UI_VIEWS_LAYOUT_FILL_LAYOUT_H_
35
OLDNEW
« no previous file with comments | « ui/views/events/event_win.cc ('k') | ui/views/layout/fill_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698