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

Unified Diff: chrome/browser/views/options/passwords_page_view.cc

Issue 126184: Move TableModel out of views/ and into app/.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: addressed comments, build fixes Created 11 years, 6 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 | « chrome/browser/views/options/passwords_page_view.h ('k') | chrome/browser/views/shelf_item_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/passwords_page_view.cc
===================================================================
--- chrome/browser/views/options/passwords_page_view.cc (revision 18411)
+++ chrome/browser/views/options/passwords_page_view.cc (working copy)
@@ -96,8 +96,7 @@
return TableModel::CompareValues(row1, row2, column_id);
}
-void PasswordsTableModel::SetObserver(
- views::TableModelObserver* observer) {
+void PasswordsTableModel::SetObserver(TableModelObserver* observer) {
observer_ = observer;
}
@@ -305,12 +304,12 @@
// Creates the different columns for the table.
// The float resize values are the result of much tinkering.
- std::vector<views::TableColumn> columns;
- columns.push_back(views::TableColumn(IDS_PASSWORDS_PAGE_VIEW_SITE_COLUMN,
- views::TableColumn::LEFT, -1, 0.55f));
+ std::vector<TableColumn> columns;
+ columns.push_back(TableColumn(IDS_PASSWORDS_PAGE_VIEW_SITE_COLUMN,
+ TableColumn::LEFT, -1, 0.55f));
columns.back().sortable = true;
- columns.push_back(views::TableColumn(
- IDS_PASSWORDS_PAGE_VIEW_USERNAME_COLUMN, views::TableColumn::LEFT,
+ columns.push_back(TableColumn(
+ IDS_PASSWORDS_PAGE_VIEW_USERNAME_COLUMN, TableColumn::LEFT,
-1, 0.37f));
columns.back().sortable = true;
table_view_ = new views::TableView(&table_model_, columns, views::TEXT_ONLY,
Property changes on: chrome/browser/views/options/passwords_page_view.cc
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/views/options/passwords_page_view.h ('k') | chrome/browser/views/shelf_item_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698