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

Unified Diff: components/mus/ws/event_dispatcher_delegate.h

Issue 1881253002: mus: Implement ScreenMus::GetCursorScreenPoint(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: And fix chromeos. 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
Index: components/mus/ws/event_dispatcher_delegate.h
diff --git a/components/mus/ws/event_dispatcher_delegate.h b/components/mus/ws/event_dispatcher_delegate.h
index a762df51a8ff2c25e20a7d1ae72f21b0eb390f6d..91a667a21ec3f95aaafe95c498661a9f3d5d8743 100644
--- a/components/mus/ws/event_dispatcher_delegate.h
+++ b/components/mus/ws/event_dispatcher_delegate.h
@@ -35,6 +35,10 @@ class EventDispatcherDelegate {
// ReleaseNativeCapture is invoked if appropriate.
virtual void OnServerWindowCaptureLost(ServerWindow* window) = 0;
+ // Called when the screen location of the mouse cursor has changed. Used to
+ // update clients about the global screen state.
+ virtual void OnMouseCursorLocationChanged(const gfx::Point& location) = 0;
+
// |in_nonclient_area| is true if the event occurred in the non-client area.
virtual void DispatchInputEventToWindow(ServerWindow* target,
bool in_nonclient_area,

Powered by Google App Engine
This is Rietveld 408576698