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

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

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Address Rob's comments 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/target_frame_for_input_delegate.mojom
diff --git a/services/viz/public/interfaces/hit_test/target_frame_for_input_delegate.mojom b/services/viz/public/interfaces/hit_test/target_frame_for_input_delegate.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..61b879092718cf751e69b440704cfaf98b35d1fd
--- /dev/null
+++ b/services/viz/public/interfaces/hit_test/target_frame_for_input_delegate.mojom
@@ -0,0 +1,11 @@
+module viz.mojom;
+
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// TODO(nzolghadr): This interface should be relocated to servcices/ui/public
+// when all Chrome implementation use the services/ui windows server.
+
+// Returns the hit-tested remote frame id for the given coordinates.
+interface TargetFrameForInputDelegate {
+ HitTestFrameAt(gfx.mojom.Point point) => (int32 frame_id);
+};
« no previous file with comments | « services/viz/public/interfaces/hit_test/BUILD.gn ('k') | third_party/WebKit/Source/core/exported/WebNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698