| 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 VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ | 5 #ifndef VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ |
| 6 #define VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ | 6 #define VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 15 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
| 16 #include "ui/base/keycodes/keyboard_codes.h" | 16 #include "ui/base/keycodes/keyboard_codes.h" |
| 17 #include "ui/base/models/table_model_observer.h" | 17 #include "ui/base/models/table_model_observer.h" |
| 18 #include "views/views_export.h" | 18 #include "views/views_export.h" |
| 19 | 19 |
| 20 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
| 21 #include <windows.h> | 21 #include <windows.h> |
| 22 | 22 |
| 23 // TODO(port): remove the ifdef when native_control.h is ported. | 23 // TODO(port): remove the ifdef when native_control.h is ported. |
| 24 #include "views/controls/native_control.h" | 24 #include "views/controls/native_control.h" |
| 25 | 25 |
| 26 typedef struct tagNMLVCUSTOMDRAW NMLVCUSTOMDRAW; | 26 typedef struct tagNMLVCUSTOMDRAW NMLVCUSTOMDRAW; |
| 27 #endif // defined(OS_WIN) | 27 #endif // defined(OS_WIN) |
| 28 | 28 |
| 29 class SkBitmap; | |
| 30 | |
| 31 namespace gfx { | 29 namespace gfx { |
| 32 class Font; | 30 class Font; |
| 33 } | 31 } |
| 34 | 32 |
| 35 namespace ui { | 33 namespace ui { |
| 36 struct TableColumn; | 34 struct TableColumn; |
| 37 class TableModel; | 35 class TableModel; |
| 38 } | 36 } |
| 39 | 37 |
| 40 // A TableView is a view that displays multiple rows with any number of columns. | 38 // A TableView is a view that displays multiple rows with any number of columns. |
| (...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 | 494 |
| 497 string16 alt_text_; | 495 string16 alt_text_; |
| 498 | 496 |
| 499 DISALLOW_COPY_AND_ASSIGN(TableView); | 497 DISALLOW_COPY_AND_ASSIGN(TableView); |
| 500 }; | 498 }; |
| 501 #endif // defined(OS_WIN) | 499 #endif // defined(OS_WIN) |
| 502 | 500 |
| 503 } // namespace views | 501 } // namespace views |
| 504 | 502 |
| 505 #endif // VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ | 503 #endif // VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ |
| OLD | NEW |