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

Unified Diff: ash/wm/common/workspace/multi_window_resize_controller.cc

Issue 1943603002: Makes ash/wm/common a library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge again Created 4 years, 7 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/common/workspace/multi_window_resize_controller.cc
diff --git a/ash/wm/common/workspace/multi_window_resize_controller.cc b/ash/wm/common/workspace/multi_window_resize_controller.cc
index f15c2ca15216e95d42d5f64ffd3a6d18a045d316..69661bc926f927a1e04096cce1be7f312f079d39 100644
--- a/ash/wm/common/workspace/multi_window_resize_controller.cc
+++ b/ash/wm/common/workspace/multi_window_resize_controller.cc
@@ -4,6 +4,7 @@
#include "ash/wm/common/workspace/multi_window_resize_controller.h"
+#include "ash/wm/common/wm_lookup.h"
#include "ash/wm/common/wm_root_window_controller.h"
#include "ash/wm/common/wm_shell_window_ids.h"
#include "ash/wm/common/wm_window.h"
@@ -383,7 +384,8 @@ void MultiWindowResizeController::ShowNow() {
ResizeView* view = new ResizeView(this, windows_.direction);
resize_widget_->set_focus_on_creation(false);
resize_widget_->Init(params);
- wm::WmWindow::Get(resize_widget_.get())
+ wm::WmLookup::Get()
+ ->GetWindowForWidget(resize_widget_.get())
->SetVisibilityAnimationType(::wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE);
resize_widget_->SetContentsView(view);
show_bounds_in_screen_ = windows_.window1->GetParent()->ConvertRectToScreen(
« no previous file with comments | « ash/wm/common/workspace/multi_window_resize_controller.h ('k') | ash/wm/common/workspace/phantom_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698