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

Unified Diff: ash/test/shell_test_api.cc

Issue 2118593002: mash: Migrate ShellDelegate ownership and access to WmShell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 5 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/sysui/shell_delegate_mus.h ('k') | ash/test/test_keyboard_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/shell_test_api.cc
diff --git a/ash/test/shell_test_api.cc b/ash/test/shell_test_api.cc
index b369223319c06a4a0e9473a4d3d29444ccb8f67c..f64bc305d958d2e8d23d6510d366e0f9f2973f4b 100644
--- a/ash/test/shell_test_api.cc
+++ b/ash/test/shell_test_api.cc
@@ -4,12 +4,13 @@
#include "ash/test/shell_test_api.h"
+#include "ash/aura/wm_shell_aura.h"
#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/shell_delegate.h"
#include "ash/display/display_configuration_controller.h"
#include "ash/root_window_controller.h"
#include "ash/shelf/shelf_delegate.h"
#include "ash/shell.h"
-#include "ash/shell_delegate.h"
namespace ash {
namespace test {
@@ -41,7 +42,7 @@ DragDropController* ShellTestApi::drag_drop_controller() {
}
app_list::AppListPresenter* ShellTestApi::app_list_presenter() {
- return shell_->delegate_->GetAppListPresenter();
+ return shell_->wm_shell_->delegate()->GetAppListPresenter();
}
void ShellTestApi::DisableDisplayAnimator() {
« no previous file with comments | « ash/sysui/shell_delegate_mus.h ('k') | ash/test/test_keyboard_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698