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

Unified Diff: ash/wm/aura/wm_root_window_controller_aura.cc

Issue 1900443002: Removes aura dependencies from WindowPositioner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke GetWorkAreaForWindowInParent and fix windows Created 4 years, 8 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/wm/aura/wm_root_window_controller_aura.h ('k') | ash/wm/aura/wm_window_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/aura/wm_root_window_controller_aura.cc
diff --git a/ash/wm/aura/wm_root_window_controller_aura.cc b/ash/wm/aura/wm_root_window_controller_aura.cc
index a8ed4cfee530883e3a1c463b8e5780128fec63af..5b4a8890b8d815a53190ab82a8160b097f69b237 100644
--- a/ash/wm/aura/wm_root_window_controller_aura.cc
+++ b/ash/wm/aura/wm_root_window_controller_aura.cc
@@ -5,6 +5,7 @@
#include "ash/wm/aura/wm_root_window_controller_aura.h"
#include "ash/root_window_controller.h"
+#include "ash/wm/aura/wm_globals_aura.h"
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
@@ -52,5 +53,9 @@ bool WmRootWindowControllerAura::HasShelf() {
return root_window_controller_->shelf() != nullptr;
}
+WmGlobals* WmRootWindowControllerAura::GetGlobals() {
+ return WmGlobalsAura::Get();
+}
+
} // namespace wm
} // namespace ash
« no previous file with comments | « ash/wm/aura/wm_root_window_controller_aura.h ('k') | ash/wm/aura/wm_window_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698