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

Unified Diff: mojo/services/gfx/composition/interfaces/hit_tests.mojom

Issue 1782733002: Mozart: The great RectF-ication. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-9
Patch Set: rebase Created 4 years, 9 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: mojo/services/gfx/composition/interfaces/hit_tests.mojom
diff --git a/mojo/services/gfx/composition/interfaces/hit_tests.mojom b/mojo/services/gfx/composition/interfaces/hit_tests.mojom
index 1d00d7e57a510f74a2acda24e8f33af9d000ed17..424de9c91e15aef14f36e503686d7f26f9b4e34e 100644
--- a/mojo/services/gfx/composition/interfaces/hit_tests.mojom
+++ b/mojo/services/gfx/composition/interfaces/hit_tests.mojom
@@ -49,7 +49,7 @@ struct HitTestBehavior {
// If null, the node's entire clip region is tested for hits.
//
// TODO(jeffbrown): Support more complex hit test regions and masks.
- mojo.Rect? hit_rect;
+ mojo.RectF? hit_rect;
};
// A hit testing service for scene graphs.
@@ -58,7 +58,7 @@ interface HitTester {
//
// TODO(jeffbrown): Specify a presentation timestamp to allow for
// hit-tests of geometry as it appeared to the user in the recent past.
- HitTest(mojo.Point point) => (HitTestResult result);
+ HitTest(mojo.PointF point) => (HitTestResult result);
};
// The result of a hit test operation.
« no previous file with comments | « mojo/services/gfx/composition/cpp/formatting.cc ('k') | mojo/services/gfx/composition/interfaces/nodes.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698