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

Side by Side Diff: chrome/browser/views/options/exceptions_page_view.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/browser/views/options/exceptions_page_view.h" 5 #include "chrome/browser/views/options/exceptions_page_view.h"
6 6
7 #include "app/l10n_util.h"
7 #include "base/string_util.h" 8 #include "base/string_util.h"
8 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profile.h"
9 #include "chrome/browser/views/standard_layout.h" 10 #include "chrome/browser/views/standard_layout.h"
10 #include "chrome/common/l10n_util.h"
11 #include "chrome/common/pref_names.h" 11 #include "chrome/common/pref_names.h"
12 #include "chrome/common/pref_service.h" 12 #include "chrome/common/pref_service.h"
13 #include "chrome/views/background.h" 13 #include "chrome/views/background.h"
14 #include "chrome/views/controls/button/native_button.h" 14 #include "chrome/views/controls/button/native_button.h"
15 #include "chrome/views/grid_layout.h" 15 #include "chrome/views/grid_layout.h"
16 #include "grit/generated_resources.h" 16 #include "grit/generated_resources.h"
17 17
18 using views::ColumnSet; 18 using views::ColumnSet;
19 using views::GridLayout; 19 using views::GridLayout;
20 20
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 columns.back().sortable = true; 170 columns.back().sortable = true;
171 table_view_ = new views::TableView(&table_model_, columns, views::TEXT_ONLY, 171 table_view_ = new views::TableView(&table_model_, columns, views::TEXT_ONLY,
172 true, true, true); 172 true, true, true);
173 // Make the table initially sorted by host. 173 // Make the table initially sorted by host.
174 views::TableView::SortDescriptors sort; 174 views::TableView::SortDescriptors sort;
175 sort.push_back(views::TableView::SortDescriptor( 175 sort.push_back(views::TableView::SortDescriptor(
176 IDS_PASSWORDS_PAGE_VIEW_SITE_COLUMN, true)); 176 IDS_PASSWORDS_PAGE_VIEW_SITE_COLUMN, true));
177 table_view_->SetSortDescriptors(sort); 177 table_view_->SetSortDescriptors(sort);
178 table_view_->SetObserver(this); 178 table_view_->SetObserver(this);
179 } 179 }
OLDNEW
« no previous file with comments | « chrome/browser/views/options/cookies_view.cc ('k') | chrome/browser/views/options/fonts_languages_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698