Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: views/controls/table/native_table_gtk.cc

Issue 7790009: views: Fix a couple of other trivial TODOs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/table/native_table_gtk.h ('k') | views/controls/table/native_table_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/table/native_table_gtk.cc
diff --git a/views/controls/table/native_table_gtk.cc b/views/controls/table/native_table_gtk.cc
index f87df59dda32040701bf26c00cf1bde7e2e227de..61e39789210c13ffd0f9f5b6356d9f6143d07a18 100644
--- a/views/controls/table/native_table_gtk.cc
+++ b/views/controls/table/native_table_gtk.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -65,7 +65,7 @@ gfx::NativeView NativeTableGtk::GetTestingHandle() const {
return GTK_WIDGET(tree_view_);
}
-void NativeTableGtk::InsertColumn(const TableColumn& column, int index) {
+void NativeTableGtk::InsertColumn(const ui::TableColumn& column, int index) {
NOTIMPLEMENTED();
}
@@ -292,14 +292,15 @@ void NativeTableGtk::CreateNativeControl() {
gtk_widget_show_all(native_view());
}
-void NativeTableGtk::InsertTextColumn(const TableColumn& column, int index) {
+void NativeTableGtk::InsertTextColumn(const ui::TableColumn& column,
+ int index) {
GtkCellRenderer* renderer = gtk_cell_renderer_text_new();
gtk_tree_view_insert_column_with_attributes(tree_view_, -1,
UTF16ToUTF8(column.title).c_str(),
renderer, "text", index, NULL);
}
-void NativeTableGtk::InsertIconAndTextColumn(const TableColumn& column,
+void NativeTableGtk::InsertIconAndTextColumn(const ui::TableColumn& column,
int index) {
// If necessary we could support more than 1 icon and text column and we could
// make it so it does not have to be the 1st column.
« no previous file with comments | « views/controls/table/native_table_gtk.h ('k') | views/controls/table/native_table_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698