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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_service_ash.cc

Issue 23072036: Adds an integration test for uninstalling app list search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit indenting Created 7 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
Index: chrome/browser/ui/ash/app_list/app_list_service_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_service_ash.cc b/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
index 232e1b1549b32bd5498c655dc1154a3fb7b6ee98..e5414cb1af6a3f294b2f4f6b90ee8c69d1c99bac 100644
--- a/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
@@ -11,6 +11,7 @@
#include "chrome/browser/ui/app_list/app_list_service_impl.h"
#include "chrome/browser/ui/ash/app_list/app_list_controller_ash.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
+#include "ui/app_list/views/app_list_view.h"
namespace {
@@ -36,6 +37,7 @@ class AppListServiceAsh : public AppListServiceImpl {
virtual void EnableAppList(Profile* initial_profile) OVERRIDE;
virtual gfx::NativeWindow GetAppListWindow() OVERRIDE;
virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE;
+ virtual app_list::AppListModel* GetAppListModelForTesting() OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(AppListServiceAsh);
};
@@ -76,6 +78,10 @@ AppListControllerDelegate* AppListServiceAsh::CreateControllerDelegate() {
return new AppListControllerDelegateAsh();
}
+app_list::AppListModel* AppListServiceAsh::GetAppListModelForTesting() {
+ return ash::Shell::GetInstance()->GetAppListViewForTesting()->model();
+}
+
} // namespace
namespace chrome {

Powered by Google App Engine
This is Rietveld 408576698