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

Unified Diff: services/viz/public/interfaces/hit_test/input_hit_test.mojom

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Make the hit test API accesible by viz component Created 3 years, 4 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: services/viz/public/interfaces/hit_test/input_hit_test.mojom
diff --git a/services/viz/public/interfaces/hit_test/input_hit_test.mojom b/services/viz/public/interfaces/hit_test/input_hit_test.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..10b758dfd7959d882a5a8857f9930d59a41fe21b
--- /dev/null
+++ b/services/viz/public/interfaces/hit_test/input_hit_test.mojom
@@ -0,0 +1,8 @@
+module viz.mojom;
Navid Zolghadr 2017/08/09 16:08:22 Is this place alright for the mojom file?
rjkroege 2017/08/14 18:26:58 We discussed collectively. In the short term, havi
Navid Zolghadr 2017/08/18 15:29:48 Done.
+
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// Returns the hit-tested remote frame id for the given coordinates.
+interface FrameInputHitTest {
rjkroege 2017/08/14 18:26:58 I am opposed to this name. The "Test" suffix sugge
Navid Zolghadr 2017/08/18 15:29:48 Done.
+ HitTestFrameAt(gfx.mojom.Point point) => (int32 frame_id);
+};

Powered by Google App Engine
This is Rietveld 408576698