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

Unified Diff: views/examples/table_example.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/examples/table2_example.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/examples/table_example.cc
diff --git a/views/examples/table_example.cc b/views/examples/table_example.cc
index ace41f6fadfa9a0cb35d2a9e4eb30f35016c89e5..b2f6f784c95a08a27a57dd36b8c66fb2dbe51573 100644
--- a/views/examples/table_example.cc
+++ b/views/examples/table_example.cc
@@ -37,11 +37,11 @@ void TableExample::CreateExampleView(views::View* container) {
views::GridLayout* layout = new views::GridLayout(container);
container->SetLayoutManager(layout);
- std::vector<TableColumn> columns;
- columns.push_back(TableColumn(0, L"Fruit", TableColumn::LEFT, 100));
- columns.push_back(TableColumn(1, L"Color", TableColumn::LEFT, 100));
- columns.push_back(TableColumn(2, L"Origin", TableColumn::LEFT, 100));
- columns.push_back(TableColumn(3, L"Price", TableColumn::LEFT, 100));
+ std::vector<ui::TableColumn> columns;
+ columns.push_back(ui::TableColumn(0, L"Fruit", ui::TableColumn::LEFT, 100));
+ columns.push_back(ui::TableColumn(1, L"Color", ui::TableColumn::LEFT, 100));
+ columns.push_back(ui::TableColumn(2, L"Origin", ui::TableColumn::LEFT, 100));
+ columns.push_back(ui::TableColumn(3, L"Price", ui::TableColumn::LEFT, 100));
table_ = new views::TableView(this, columns, views::ICON_AND_TEXT,
true, true, true);
table_->SetObserver(this);
« no previous file with comments | « views/examples/table2_example.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698