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

Unified Diff: ash/test/test_shell_delegate.h

Issue 2576913002: Use mojo app list interfaces for mash and classic ash. (Closed)
Patch Set: Sync and rebase Created 3 years, 11 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 | « ash/test/test_app_list_view_presenter_impl.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.h
diff --git a/ash/test/test_shell_delegate.h b/ash/test/test_shell_delegate.h
index a2722bec7e1bea744116d54b843ef297f8b1aed5..fe30c3c90bc3ee9ee47efa7af02c89d98a3e7aaf 100644
--- a/ash/test/test_shell_delegate.h
+++ b/ash/test/test_shell_delegate.h
@@ -12,11 +12,6 @@
#include "ash/common/test/test_session_state_delegate.h"
#include "base/macros.h"
-namespace app_list {
-class AppListPresenterDelegateFactory;
-class AppListPresenterImpl;
-}
-
namespace keyboard {
class KeyboardUI;
}
@@ -45,7 +40,6 @@ class TestShellDelegate : public ShellDelegate {
void Exit() override;
keyboard::KeyboardUI* CreateKeyboardUI() override;
void OpenUrlFromArc(const GURL& url) override;
- app_list::AppListPresenter* GetAppListPresenter() override;
ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override;
SystemTrayDelegate* CreateSystemTrayDelegate() override;
std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override;
@@ -65,10 +59,6 @@ class TestShellDelegate : public ShellDelegate {
int num_exit_requests() const { return num_exit_requests_; }
- app_list::AppListPresenterImpl* app_list_presenter() {
- return app_list_presenter_.get();
- }
-
void SetForceMaximizeOnFirstRun(bool maximize) {
force_maximize_on_first_run_ = maximize;
}
@@ -79,10 +69,6 @@ class TestShellDelegate : public ShellDelegate {
bool force_maximize_on_first_run_;
bool touchscreen_enabled_in_local_pref_;
- std::unique_ptr<app_list::AppListPresenterDelegateFactory>
- app_list_presenter_delegate_factory_;
- std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_;
-
DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
};
« no previous file with comments | « ash/test/test_app_list_view_presenter_impl.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698