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 #ifndef UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ | 5 #ifndef UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ |
6 #define UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ | 6 #define UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "ui/base/models/table_model.h" | 14 #include "ui/base/models/table_model.h" |
| 15 #include "ui/views/controls/table/table_view.h" |
| 16 #include "ui/views/controls/table/table_view_observer.h" |
15 #include "ui/views/examples/example_base.h" | 17 #include "ui/views/examples/example_base.h" |
16 #include "views/controls/button/button.h" | 18 #include "views/controls/button/button.h" |
17 #include "views/controls/table/table_view.h" | |
18 #include "views/controls/table/table_view_observer.h" | |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 class Checkbox; | 21 class Checkbox; |
22 class Event; | 22 class Event; |
23 class TableView; | 23 class TableView; |
24 } | 24 } |
25 | 25 |
26 namespace examples { | 26 namespace examples { |
27 | 27 |
28 class TableExample : public ExampleBase, | 28 class TableExample : public ExampleBase, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 SkBitmap icon1_; | 66 SkBitmap icon1_; |
67 SkBitmap icon2_; | 67 SkBitmap icon2_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(TableExample); | 69 DISALLOW_COPY_AND_ASSIGN(TableExample); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace examples | 72 } // namespace examples |
73 | 73 |
74 #endif // UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ | 74 #endif // UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ |
OLD | NEW |