OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ | 5 #ifndef CHROME_VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ |
6 #define CHROME_VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ | 6 #define CHROME_VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
11 #include <windows.h> | 11 #include <windows.h> |
12 #endif // defined(OS_WIN) | 12 #endif // defined(OS_WIN) |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <unicode/coll.h> | 15 #include <unicode/coll.h> |
16 #include <unicode/uchar.h> | 16 #include <unicode/uchar.h> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
| 19 #include "app/l10n_util.h" |
19 #include "base/logging.h" | 20 #include "base/logging.h" |
20 #include "chrome/common/l10n_util.h" | |
21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
22 // TODO(port): remove the ifdef when native_control.h is ported. | 22 // TODO(port): remove the ifdef when native_control.h is ported. |
23 #include "chrome/views/controls/native_control.h" | 23 #include "chrome/views/controls/native_control.h" |
24 #endif // defined(OS_WIN) | 24 #endif // defined(OS_WIN) |
25 #include "skia/include/SkColor.h" | 25 #include "skia/include/SkColor.h" |
26 | 26 |
27 class SkBitmap; | 27 class SkBitmap; |
28 | 28 |
29 // A TableView is a view that displays multiple rows with any number of columns. | 29 // A TableView is a view that displays multiple rows with any number of columns. |
30 // TableView is driven by a TableModel. The model returns the contents | 30 // TableView is driven by a TableModel. The model returns the contents |
(...skipping 636 matching lines...) Loading... |
667 scoped_array<int> view_to_model_; | 667 scoped_array<int> view_to_model_; |
668 scoped_array<int> model_to_view_; | 668 scoped_array<int> model_to_view_; |
669 | 669 |
670 DISALLOW_COPY_AND_ASSIGN(TableView); | 670 DISALLOW_COPY_AND_ASSIGN(TableView); |
671 }; | 671 }; |
672 #endif // defined(OS_WIN) | 672 #endif // defined(OS_WIN) |
673 | 673 |
674 } // namespace views | 674 } // namespace views |
675 | 675 |
676 #endif // CHROME_VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ | 676 #endif // CHROME_VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_ |
OLD | NEW |