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

Unified Diff: components/mus/public/interfaces/window_tree.mojom

Issue 1881253002: mus: Implement ScreenMus::GetCursorScreenPoint(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually apply the 32bit patch now that the delegate crash was fixed. 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/public/interfaces/window_tree.mojom
diff --git a/components/mus/public/interfaces/window_tree.mojom b/components/mus/public/interfaces/window_tree.mojom
index f899c62f81e65cd9b66e6cb6943dc8e64b22f5eb..1a3af29f62147c53d6b1fdfc5f73fd66b2a7da7a 100644
--- a/components/mus/public/interfaces/window_tree.mojom
+++ b/components/mus/public/interfaces/window_tree.mojom
@@ -260,6 +260,11 @@ interface WindowTree {
// See description of WindowManager for details.
GetWindowManagerClient(associated WindowManagerClient& internal);
+
+ // Returns a shared memory segment that contains two 16-bit ints packed into a
+ // single Atomic32, which represent the current location of the mouse cursor
+ // where the location is (x << 16) | y.
+ GetCursorLocationMemory() => (handle<shared_buffer> cursor_buffer);
};
// Changes to windows are not sent to the connection that originated the

Powered by Google App Engine
This is Rietveld 408576698