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

Unified Diff: chrome/browser/ui/views/ash/app_list/app_list_model_builder.cc

Issue 10388032: Move app list from ash to ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix win_aura bot and comments in #5 Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/ash/app_list/app_list_model_builder.cc
===================================================================
--- chrome/browser/ui/views/ash/app_list/app_list_model_builder.cc (revision 135932)
+++ chrome/browser/ui/views/ash/app_list/app_list_model_builder.cc (working copy)
@@ -53,7 +53,7 @@
// ModelItemSortData provides a string key to sort with
// l10n_util::StringComparator.
struct ModelItemSortData {
- explicit ModelItemSortData(ash::AppListItemModel* item)
+ explicit ModelItemSortData(app_list::AppListItemModel* item)
: item(item),
key(base::i18n::ToLower(UTF8ToUTF16(item->title()))) {
}
@@ -64,7 +64,7 @@
return key;
}
- ash::AppListItemModel* item;
+ app_list::AppListItemModel* item;
string16 key;
};
@@ -102,7 +102,7 @@
AppListModelBuilder::~AppListModelBuilder() {
}
-void AppListModelBuilder::SetModel(ash::AppListModel* model) {
+void AppListModelBuilder::SetModel(app_list::AppListModel* model) {
model_ = model;
}
@@ -139,7 +139,7 @@
}
}
-void AppListModelBuilder::InsertItemByTitle(ash::AppListItemModel* item) {
+void AppListModelBuilder::InsertItemByTitle(app_list::AppListItemModel* item) {
DCHECK(model_);
icu::Locale locale(g_browser_process->GetApplicationLocale().c_str());

Powered by Google App Engine
This is Rietveld 408576698