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

Unified Diff: ash/aura/wm_root_window_controller_aura.cc

Issue 2168733002: Splits debug_commands into aura and non-aura parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 5 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/aura/wm_root_window_controller_aura.cc
diff --git a/ash/aura/wm_root_window_controller_aura.cc b/ash/aura/wm_root_window_controller_aura.cc
index 0bb740fe290cc40c616c97bd878127047edba843..07ff348f228ccec35b14ff541fc84bc64985a94b 100644
--- a/ash/aura/wm_root_window_controller_aura.cc
+++ b/ash/aura/wm_root_window_controller_aura.cc
@@ -16,7 +16,9 @@
#include "ash/shell.h"
#include "ash/wm/workspace_controller.h"
#include "ui/aura/window.h"
+#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_property.h"
+#include "ui/aura/window_tree_host.h"
#include "ui/events/event_targeter.h"
#include "ui/events/event_utils.h"
@@ -114,6 +116,12 @@ WmWindow* WmRootWindowControllerAura::FindEventTarget(
return WmWindowAura::Get(static_cast<aura::Window*>(event_handler));
}
+gfx::Point WmRootWindowControllerAura::GetLastMouseLocationInRoot() {
+ return root_window_controller_->GetHost()
+ ->dispatcher()
+ ->GetLastMouseLocationInRoot();
+}
+
void WmRootWindowControllerAura::AddObserver(
WmRootWindowControllerObserver* observer) {
observers_.AddObserver(observer);

Powered by Google App Engine
This is Rietveld 408576698