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); |