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

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: Merge with tot 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
« no previous file with comments | « components/mus/public/cpp/window_tree_connection.h ('k') | components/mus/ws/event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b316c0bb35bc848c6dc2eb477039dd38e74df5ff..e4855ba7dcabf16b3736454f522c26aea38c9fc0 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
« no previous file with comments | « components/mus/public/cpp/window_tree_connection.h ('k') | components/mus/ws/event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698