| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #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 "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "gfx/canvas_skia.h" | |
| 12 #include "gfx/favicon_size.h" | |
| 13 #include "gfx/icon_util.h" | |
| 14 #include "skia/ext/skia_utils_win.h" | 11 #include "skia/ext/skia_utils_win.h" |
| 15 #include "ui/base/l10n/l10n_util.h" | 12 #include "ui/base/l10n/l10n_util.h" |
| 16 #include "ui/base/l10n/l10n_util_win.h" | 13 #include "ui/base/l10n/l10n_util_win.h" |
| 17 #include "ui/base/models/table_model.h" | 14 #include "ui/base/models/table_model.h" |
| 18 #include "ui/base/win/hwnd_util.h" | 15 #include "ui/base/win/hwnd_util.h" |
| 16 #include "ui/gfx/canvas_skia.h" |
| 17 #include "ui/gfx/favicon_size.h" |
| 18 #include "ui/gfx/icon_util.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 using ui::TableColumn; | 23 using ui::TableColumn; |
| 24 | 24 |
| 25 namespace views { | 25 namespace views { |
| 26 | 26 |
| 27 // Added to column width to prevent truncation. | 27 // Added to column width to prevent truncation. |
| 28 const int kListViewTextPadding = 15; | 28 const int kListViewTextPadding = 15; |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 | 902 |
| 903 //////////////////////////////////////////////////////////////////////////////// | 903 //////////////////////////////////////////////////////////////////////////////// |
| 904 // NativeButtonWrapper, public: | 904 // NativeButtonWrapper, public: |
| 905 | 905 |
| 906 // static | 906 // static |
| 907 NativeTableWrapper* NativeTableWrapper::CreateNativeWrapper(TableView2* table) { | 907 NativeTableWrapper* NativeTableWrapper::CreateNativeWrapper(TableView2* table) { |
| 908 return new NativeTableWin(table); | 908 return new NativeTableWin(table); |
| 909 } | 909 } |
| 910 | 910 |
| 911 } // namespace views | 911 } // namespace views |
| OLD | NEW |