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

Unified Diff: ash/test/ash_test_base.cc

Issue 2093283002: mash: Convert all of //ash/system to use WmShelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 6baece0302c6e9359b12954709a180e139f0a968..c83c6c68b5a442068131bee20f12c8f4ec1ed41a 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -9,9 +9,7 @@
#include "ash/common/ash_switches.h"
#include "ash/common/wm/window_positioner.h"
-#include "ash/common/wm_root_window_controller.h"
#include "ash/common/wm_shell.h"
-#include "ash/common/wm_window.h"
#include "ash/display/window_tree_host_manager.h"
#include "ash/ime/input_method_event_handler.h"
#include "ash/shell.h"
@@ -209,14 +207,6 @@ bool AshTestBase::SupportsHostWindowResize() {
return AshTestHelper::SupportsHostWindowResize();
}
-// static
-WmShelf* AshTestBase::GetPrimaryShelf() {
- return WmShell::Get()
- ->GetPrimaryRootWindow()
- ->GetRootWindowController()
- ->GetShelf();
-}
-
void AshTestBase::UpdateDisplay(const std::string& display_specs) {
DisplayManagerTestApi().UpdateDisplay(display_specs);
}
« ash/system/web_notification/web_notification_tray_unittest.cc ('K') | « ash/test/ash_test_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698