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

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

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
« no previous file with comments | « no previous file | 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/display.mojom
diff --git a/components/mus/public/interfaces/display.mojom b/components/mus/public/interfaces/display.mojom
index 71364999b0ab75a82dc45714cd4507e0b101fc56..c22e45160e6fd834b3d1dda9081de26e836963a9 100644
--- a/components/mus/public/interfaces/display.mojom
+++ b/components/mus/public/interfaces/display.mojom
@@ -5,6 +5,7 @@
module mus.mojom;
import "components/mus/public/interfaces/window_manager_constants.mojom";
+import "ui/mojo/geometry/geometry.mojom";
interface DisplayManagerObserver {
// Sent when the observer is added. Gives the initial state.
@@ -22,4 +23,8 @@ interface DisplayManagerObserver {
interface DisplayManager {
AddObserver(DisplayManagerObserver observer);
+
+ // The mouse cursor on this display moved.
+ [Sync]
+ GetCursorScreenPoint() => (mojo.Point location);
sky 2016/04/15 20:38:57 If you keep this on DisplayManager then there is e
Elliot Glaysher 2016/04/15 23:56:52 Done. The call is now on WindowTree. I left the s
};
« no previous file with comments | « no previous file | components/mus/ws/event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698