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

Unified Diff: ash/common/wm_root_window_controller.h

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/common/wm_root_window_controller.h
diff --git a/ash/common/wm_root_window_controller.h b/ash/common/wm_root_window_controller.h
index ad26b546c2cfe77cea17b552a00d7e5d4b023713..792b01e742e725196b781d2bdf5980ed1e6414fc 100644
--- a/ash/common/wm_root_window_controller.h
+++ b/ash/common/wm_root_window_controller.h
@@ -59,6 +59,10 @@ class ASH_EXPORT WmRootWindowController {
// may extend outside the bounds of the window.
virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0;
+ // Gets the last location seen in a mouse event in this root window's
+ // coordinates. This may return a point outside the root window's bounds.
+ virtual gfx::Point GetLastMouseLocationInRoot() = 0;
+
virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0;
virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698