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

Unified Diff: ash/wm/workspace_controller.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/wm/workspace_controller.cc
diff --git a/ash/wm/workspace_controller.cc b/ash/wm/workspace_controller.cc
index 09e14960b453a505e41aaffce741150a1ab555d4..a76ff98d7d324afbd48f4d6754db82674952837a 100644
--- a/ash/wm/workspace_controller.cc
+++ b/ash/wm/workspace_controller.cc
@@ -6,6 +6,7 @@
#include <utility>
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/shell_window_ids.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm/workspace/workspace_layout_manager.h"
@@ -14,7 +15,6 @@
#include "ash/root_window_controller.h"
#include "ash/shelf/shelf_layout_manager.h"
#include "ash/shell.h"
-#include "ash/wm/aura/wm_window_aura.h"
#include "ash/wm/window_animations.h"
#include "ash/wm/window_state_aura.h"
#include "ash/wm/window_util.h"
@@ -50,13 +50,12 @@ WorkspaceController::WorkspaceController(
: viewport_(viewport),
shelf_(NULL),
event_handler_(new WorkspaceEventHandler),
- layout_manager_(
- new WorkspaceLayoutManager(wm::WmWindowAura::Get(viewport),
- std::move(delegate))) {
+ layout_manager_(new WorkspaceLayoutManager(WmWindowAura::Get(viewport),
+ std::move(delegate))) {
SetWindowVisibilityAnimationTransition(
viewport_, ::wm::ANIMATE_NONE);
- wm::WmWindowAura::Get(viewport_)->SetLayoutManager(
+ WmWindowAura::Get(viewport_)->SetLayoutManager(
base::WrapUnique(layout_manager_));
viewport_->AddPreTargetHandler(event_handler_.get());
}

Powered by Google App Engine
This is Rietveld 408576698