OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ |
6 #define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ | 6 #define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "ui/base/models/list_selection_model.h" | 12 #include "ui/base/models/list_selection_model.h" |
12 #include "ui/base/models/table_model.h" | 13 #include "ui/base/models/table_model.h" |
13 #include "ui/base/models/table_model_observer.h" | 14 #include "ui/base/models/table_model_observer.h" |
14 #include "ui/gfx/font_list.h" | 15 #include "ui/gfx/font_list.h" |
15 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
16 #include "ui/views/views_export.h" | 17 #include "ui/views/views_export.h" |
17 | 18 |
18 // A TableView is a view that displays multiple rows with any number of columns. | 19 // A TableView is a view that displays multiple rows with any number of columns. |
19 // TableView is driven by a TableModel. The model returns the contents | 20 // TableView is driven by a TableModel. The model returns the contents |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 | 357 |
357 // True if in SetVisibleColumnWidth(). | 358 // True if in SetVisibleColumnWidth(). |
358 bool in_set_visible_column_width_; | 359 bool in_set_visible_column_width_; |
359 | 360 |
360 DISALLOW_COPY_AND_ASSIGN(TableView); | 361 DISALLOW_COPY_AND_ASSIGN(TableView); |
361 }; | 362 }; |
362 | 363 |
363 } // namespace views | 364 } // namespace views |
364 | 365 |
365 #endif // UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ | 366 #endif // UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ |
OLD | NEW |