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

Unified Diff: ash/test/ash_test_base.cc

Issue 2272793005: ash: Move alignment and autohide behavior from Shelf to WmShelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 4 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/ash_test_base.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/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index e7ee5ccd9d780731e302ce1aad85991467d02a36..767a0add927b5f657700fb607c811a25e97dadf4 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -176,6 +176,14 @@ void AshTestBase::TearDown() {
}
// static
+WmShelf* AshTestBase::GetPrimaryShelf() {
+ return WmShell::Get()
+ ->GetPrimaryRootWindow()
+ ->GetRootWindowController()
+ ->GetShelf();
+}
+
+// static
SystemTray* AshTestBase::GetPrimarySystemTray() {
return Shell::GetInstance()->GetPrimarySystemTray();
}
@@ -211,14 +219,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);
}
« no previous file with comments | « ash/test/ash_test_base.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