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

Unified Diff: ash/focus_cycler_unittest.cc

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests 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/focus_cycler_unittest.cc
diff --git a/ash/focus_cycler_unittest.cc b/ash/focus_cycler_unittest.cc
index 3407b48f0a615e2b35a935f7f72fdfd44f2a33ae..62d9ce9add8459921f4d00d3a28ea3432618b748 100644
--- a/ash/focus_cycler_unittest.cc
+++ b/ash/focus_cycler_unittest.cc
@@ -7,8 +7,8 @@
#include <memory>
#include "ash/common/shell_window_ids.h"
-#include "ash/common/wm/wm_globals.h"
-#include "ash/common/wm/wm_window.h"
+#include "ash/common/wm_shell.h"
+#include "ash/common/wm_window.h"
#include "ash/shelf/shelf.h"
#include "ash/shelf/shelf_widget.h"
#include "ash/shell.h"
@@ -92,10 +92,9 @@ class FocusCyclerTest : public AshTestBase {
bool CreateTray() {
if (tray_)
return false;
- wm::WmWindow* parent =
- wm::WmGlobals::Get()
- ->GetRootWindowForNewWindows()
- ->GetChildByShellWindowId(kShellWindowId_StatusContainer);
+ WmWindow* parent =
+ WmShell::Get()->GetRootWindowForNewWindows()->GetChildByShellWindowId(
+ kShellWindowId_StatusContainer);
StatusAreaWidget* widget = new StatusAreaWidget(parent, shelf_widget());
widget->CreateTrayViews();

Powered by Google App Engine
This is Rietveld 408576698