OLD | NEW |
1 // Copyright (c) 2010 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 #ifndef VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_ | 5 #ifndef VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_ |
6 #define VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_ | 6 #define VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/background.h" | 9 #include "views/background.h" |
10 #include "views/box_layout.h" | |
11 #include "views/controls/button/text_button.h" | 10 #include "views/controls/button/text_button.h" |
12 #include "views/examples/example_base.h" | 11 #include "views/examples/example_base.h" |
| 12 #include "views/layout/box_layout.h" |
13 #include "views/view.h" | 13 #include "views/view.h" |
14 #include "views/widget/root_view.h" | 14 #include "views/widget/root_view.h" |
15 #include "views/widget/widget.h" | 15 #include "views/widget/widget.h" |
16 | 16 |
17 #if defined(OS_LINUX) | 17 #if defined(OS_LINUX) |
18 #include "views/widget/widget_gtk.h" | 18 #include "views/widget/widget_gtk.h" |
19 #endif | 19 #endif |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 break; | 184 break; |
185 } | 185 } |
186 } | 186 } |
187 | 187 |
188 DISALLOW_COPY_AND_ASSIGN(WidgetExample); | 188 DISALLOW_COPY_AND_ASSIGN(WidgetExample); |
189 }; | 189 }; |
190 | 190 |
191 } // namespace examples | 191 } // namespace examples |
192 | 192 |
193 #endif // VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_ | 193 #endif // VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_ |
OLD | NEW |