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

Unified Diff: content/common/input/input_handler.mojom

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Created 3 years, 6 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: content/common/input/input_handler.mojom
diff --git a/content/common/input/input_handler.mojom b/content/common/input/input_handler.mojom
index fae10f96c1d3d7eacec511775e4f7800e2e404a8..31b8aa5e70fe8fe94e9fbfa9f2e2f65b6f48890b 100644
--- a/content/common/input/input_handler.mojom
+++ b/content/common/input/input_handler.mojom
@@ -58,6 +58,9 @@ interface FrameInputHandler {
SelectAll();
CollapseSelection();
+ // Returns the hit-tested remote frame id for the given coordinates.
rjkroege 2017/06/26 18:29:52 how are we suppose to use this API from ui/ws? Cou
Navid Zolghadr 2017/07/17 18:54:45 riajiang@ I believe you have written some code tha
+ HitTestFrameAt(gfx.mojom.PointF point) => (int32 frame_id);
rjkroege 2017/06/26 18:29:52 What is your expectation of the coordinate system
riajiang 2017/06/27 16:37:28 Input |point| would be in display-coordinate-pixel
rjkroege 2017/06/28 18:40:19 display coordinate pixels is likely wrong. I clai
Navid Zolghadr 2017/06/28 19:25:06 Essentially you are asking frame X to tell you the
+
// Replaces the selected region or a word around the cursor with the
// specified string.
Replace(mojo.common.mojom.String16 word);

Powered by Google App Engine
This is Rietveld 408576698