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