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

Unified Diff: ui/views/controls/table/table_view_win.cc

Issue 9187027: Attempt 2 at: Adds a trivial views based table implementation (only supports single (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | « ui/views/controls/table/table_view_win.h ('k') | ui/views/examples/examples_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/table/table_view_win.cc
diff --git a/ui/views/controls/table/table_view_win.cc b/ui/views/controls/table/table_view_win.cc
index bb21443d8da6c05869c8c290a5b568b8c572d839..1fdc1043ce6d2bfdcdfb5d140504d7143d269e3c 100644
--- a/ui/views/controls/table/table_view_win.cc
+++ b/ui/views/controls/table/table_view_win.cc
@@ -102,6 +102,10 @@ void TableView::SetModel(ui::TableModel* model) {
OnModelChanged();
}
+View* TableView::CreateParentIfNecessary() {
+ return this;
+}
+
void TableView::SetSortDescriptors(const SortDescriptors& sort_descriptors) {
if (!sort_descriptors_.empty()) {
ResetColumnSortImage(sort_descriptors_[0].column_id,
« no previous file with comments | « ui/views/controls/table/table_view_win.h ('k') | ui/views/examples/examples_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698