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

Unified Diff: ash/test/shell_test_api.cc

Issue 2183483002: Clean up ash::ShellTestApi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/test/shell_test_api.h ('k') | ash/wm/dock/docked_window_resizer_unittest.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 b904335223a6c3db14874230cfbd1be2b268a88b..8c8293c4f9eb088522a151751330807de86fbe76 100644
--- a/ash/test/shell_test_api.cc
+++ b/ash/test/shell_test_api.cc
@@ -4,9 +4,7 @@
#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/shell.h"
@@ -32,19 +30,10 @@ AshNativeCursorManager* ShellTestApi::ash_native_cursor_manager() {
return shell_->native_cursor_manager_;
}
-ShelfModel* ShellTestApi::shelf_model() {
- // TODO(jamescook): Remove this and access WmShell::shelf_model() directly.
- return shell_->wm_shell_->shelf_model();
-}
-
DragDropController* ShellTestApi::drag_drop_controller() {
return shell_->drag_drop_controller_.get();
}
-app_list::AppListPresenter* ShellTestApi::app_list_presenter() {
- return shell_->wm_shell_->delegate()->GetAppListPresenter();
-}
-
void ShellTestApi::DisableDisplayAnimator() {
shell_->display_configuration_controller()->ResetAnimatorForTest();
}
« no previous file with comments | « ash/test/shell_test_api.h ('k') | ash/wm/dock/docked_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698