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_GTK_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ |
6 #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ | 6 #define UI_VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/base/gtk/gtk_signal.h" | 9 #include "ui/base/gtk/gtk_signal.h" |
10 #include "ui/base/models/table_model.h" | 10 #include "ui/base/models/table_model.h" |
| 11 #include "ui/views/controls/table/native_table_wrapper.h" |
11 #include "views/controls/native_control_gtk.h" | 12 #include "views/controls/native_control_gtk.h" |
12 #include "views/controls/table/native_table_wrapper.h" | |
13 | 13 |
14 namespace views { | 14 namespace views { |
15 | 15 |
16 class TableView2; | 16 class TableView2; |
17 | 17 |
18 // A View that hosts a native GTK table. | 18 // A View that hosts a native GTK table. |
19 // TODO: Note that the implementation is still incomplete. What remains to be | 19 // TODO: Note that the implementation is still incomplete. What remains to be |
20 // done: | 20 // done: |
21 // - support resizable columns | 21 // - support resizable columns |
22 // - support autosize columns | 22 // - support autosize columns |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 GtkTreeSelection* tree_selection_; | 80 GtkTreeSelection* tree_selection_; |
81 | 81 |
82 // Size (width and height) of images. | 82 // Size (width and height) of images. |
83 static const int kImageSize; | 83 static const int kImageSize; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(NativeTableGtk); | 85 DISALLOW_COPY_AND_ASSIGN(NativeTableGtk); |
86 }; | 86 }; |
87 | 87 |
88 } // namespace views | 88 } // namespace views |
89 | 89 |
90 #endif // VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ | 90 #endif // UI_VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ |
OLD | NEW |