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

Unified Diff: ui/app_list/test/app_list_test_model.cc

Issue 220393003: Add a unit test for resetting the app list on a reshow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trent_whole_app_list_unit_test
Patch Set: fix NULL icon cases for app list folders Created 6 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
« no previous file with comments | « ui/app_list/app_list_folder_item.cc ('k') | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/test/app_list_test_model.cc
diff --git a/ui/app_list/test/app_list_test_model.cc b/ui/app_list/test/app_list_test_model.cc
index 66d2a6924ea83f5d173d14645dbfa928425ff185..70b60a882f930ac8aec194fe6ed1af6a042912e7 100644
--- a/ui/app_list/test/app_list_test_model.cc
+++ b/ui/app_list/test/app_list_test_model.cc
@@ -6,6 +6,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/stringprintf.h"
+#include "grit/ui_resources.h"
+#include "ui/base/resource/resource_bundle.h"
namespace app_list {
namespace test {
@@ -21,6 +23,7 @@ AppListTestModel::AppListTestItem::AppListTestItem(
: AppListItem(id),
model_(model) {
}
+
AppListTestModel::AppListTestItem::~AppListTestItem() {
}
@@ -54,7 +57,7 @@ AppListItem* AppListTestModel::AddItemToFolder(AppListItem* item,
}
void AppListTestModel::MoveItemToFolder(AppListItem* item,
- const std::string& folder_id) {
+ const std::string& folder_id) {
AppListModel::MoveItemToFolder(item, folder_id);
}
« no previous file with comments | « ui/app_list/app_list_folder_item.cc ('k') | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698