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_NATIVE_TABLE_WIN_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ |
6 #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ | 6 #define UI_VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <windows.h> | 9 #include <windows.h> |
10 | 10 |
11 #include "ui/base/models/table_model.h" | 11 #include "ui/base/models/table_model.h" |
| 12 #include "ui/views/controls/table/native_table_wrapper.h" |
12 #include "views/controls/native_control_win.h" | 13 #include "views/controls/native_control_win.h" |
13 #include "views/controls/table/native_table_wrapper.h" | |
14 | 14 |
15 typedef struct tagNMLVCUSTOMDRAW NMLVCUSTOMDRAW; | 15 typedef struct tagNMLVCUSTOMDRAW NMLVCUSTOMDRAW; |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 | 18 |
19 class TableView2; | 19 class TableView2; |
20 | 20 |
21 // A View that hosts a native Windows table. | 21 // A View that hosts a native Windows table. |
22 class NativeTableWin : public NativeControlWin, public NativeTableWrapper { | 22 class NativeTableWin : public NativeControlWin, public NativeTableWrapper { |
23 public: | 23 public: |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 WNDPROC original_handler_; | 117 WNDPROC original_handler_; |
118 | 118 |
119 // Size (width and height) of images. | 119 // Size (width and height) of images. |
120 static const int kImageSize; | 120 static const int kImageSize; |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(NativeTableWin); | 122 DISALLOW_COPY_AND_ASSIGN(NativeTableWin); |
123 }; | 123 }; |
124 | 124 |
125 } // namespace views | 125 } // namespace views |
126 | 126 |
127 #endif // VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ | 127 #endif // UI_VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ |
OLD | NEW |