| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 #include "views/examples/single_split_view_example.h" | 5 #include "views/examples/single_split_view_example.h" |
| 6 | 6 |
| 7 #include "views/grid_layout.h" | 7 #include "views/layout/grid_layout.h" |
| 8 | 8 |
| 9 namespace examples { | 9 namespace examples { |
| 10 | 10 |
| 11 SingleSplitViewExample::SingleSplitViewExample(ExamplesMain* main) | 11 SingleSplitViewExample::SingleSplitViewExample(ExamplesMain* main) |
| 12 : ExampleBase(main) { | 12 : ExampleBase(main) { |
| 13 } | 13 } |
| 14 | 14 |
| 15 SingleSplitViewExample::~SingleSplitViewExample() { | 15 SingleSplitViewExample::~SingleSplitViewExample() { |
| 16 } | 16 } |
| 17 | 17 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 gfx::Size SingleSplitViewExample::SplittedView::GetMinimumSize() { | 60 gfx::Size SingleSplitViewExample::SplittedView::GetMinimumSize() { |
| 61 return gfx::Size(10, 10); | 61 return gfx::Size(10, 10); |
| 62 } | 62 } |
| 63 | 63 |
| 64 void SingleSplitViewExample::SplittedView::Layout() { | 64 void SingleSplitViewExample::SplittedView::Layout() { |
| 65 SizeToPreferredSize(); | 65 SizeToPreferredSize(); |
| 66 } | 66 } |
| 67 | 67 |
| 68 } // namespace examples | 68 } // namespace examples |
| OLD | NEW |