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

Unified Diff: ash/test/test_shell_delegate.h

Issue 1866403006: Revert of AppListController refactoring part 3: Switching over to use AppListShower in Ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus_chrome_delegates_ash_impl
Patch Set: Created 4 years, 8 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/shell_test_api.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 e43cef6be9ad537b43740152eb84f50797e7b431..63727c034cebafa5cd5bddb5cf98925045b3cfd9 100644
--- a/ash/test/test_shell_delegate.h
+++ b/ash/test/test_shell_delegate.h
@@ -14,11 +14,6 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/observer_list.h"
-
-namespace app_list {
-class AppListShowerDelegateFactory;
-class AppListShowerImpl;
-}
namespace keyboard {
class KeyboardUI;
@@ -53,7 +48,7 @@
void RemoveVirtualKeyboardStateObserver(
VirtualKeyboardStateObserver* observer) override;
void OpenUrl(const GURL& url) override;
- app_list::AppListShower* GetAppListShower() override;
+ app_list::AppListViewDelegate* GetAppListViewDelegate() override;
ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override;
SystemTrayDelegate* CreateSystemTrayDelegate() override;
UserWallpaperDelegate* CreateUserWallpaperDelegate() override;
@@ -69,10 +64,6 @@
int num_exit_requests() const { return num_exit_requests_; }
- app_list::AppListShowerImpl* app_list_shower() {
- return app_list_shower_.get();
- }
-
void SetMediaCaptureState(MediaCaptureState state);
void SetForceMaximizeOnFirstRun(bool maximize) {
force_maximize_on_first_run_ = maximize;
@@ -83,9 +74,7 @@
bool multi_profiles_enabled_;
bool force_maximize_on_first_run_;
- std::unique_ptr<app_list::AppListShowerDelegateFactory>
- app_list_shower_delegate_factory_;
- std::unique_ptr<app_list::AppListShowerImpl> app_list_shower_;
+ std::unique_ptr<app_list::AppListViewDelegate> app_list_view_delegate_;
base::ObserverList<ash::VirtualKeyboardStateObserver>
keyboard_state_observer_list_;
« no previous file with comments | « ash/test/shell_test_api.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698