OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #include "views/controls/table/native_table_win.h" | 5 #include "views/controls/table/native_table_win.h" |
6 | 6 |
7 #include <commctrl.h> | 7 #include <commctrl.h> |
8 #include <windowsx.h> | 8 #include <windowsx.h> |
9 | 9 |
10 #include "app/gfx/canvas.h" | 10 #include "app/gfx/canvas.h" |
11 #include "app/gfx/favicon_size.h" | 11 #include "app/gfx/favicon_size.h" |
12 #include "app/gfx/icon_util.h" | |
13 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
14 #include "app/l10n_util_win.h" | 13 #include "app/l10n_util_win.h" |
15 #include "app/table_model.h" | 14 #include "app/table_model.h" |
16 #include "base/logging.h" | 15 #include "base/logging.h" |
17 #include "base/win_util.h" | 16 #include "base/win_util.h" |
| 17 #include "gfx/icon_util.h" |
18 #include "skia/ext/skia_utils_win.h" | 18 #include "skia/ext/skia_utils_win.h" |
19 #include "views/controls/table/table_view2.h" | 19 #include "views/controls/table/table_view2.h" |
20 #include "views/controls/table/table_view_observer.h" | 20 #include "views/controls/table/table_view_observer.h" |
21 #include "views/widget/widget.h" | 21 #include "views/widget/widget.h" |
22 | 22 |
23 namespace views { | 23 namespace views { |
24 | 24 |
25 // Added to column width to prevent truncation. | 25 // Added to column width to prevent truncation. |
26 const int kListViewTextPadding = 15; | 26 const int kListViewTextPadding = 15; |
27 // Additional column width necessary if column has icons. | 27 // Additional column width necessary if column has icons. |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 | 884 |
885 //////////////////////////////////////////////////////////////////////////////// | 885 //////////////////////////////////////////////////////////////////////////////// |
886 // NativeButtonWrapper, public: | 886 // NativeButtonWrapper, public: |
887 | 887 |
888 // static | 888 // static |
889 NativeTableWrapper* NativeTableWrapper::CreateNativeWrapper(TableView2* table) { | 889 NativeTableWrapper* NativeTableWrapper::CreateNativeWrapper(TableView2* table) { |
890 return new NativeTableWin(table); | 890 return new NativeTableWin(table); |
891 } | 891 } |
892 | 892 |
893 } // namespace views | 893 } // namespace views |
OLD | NEW |