Add RectF and PointF typemaps in blink

Desktop / Chromium - mthiesse [chromium.org] - 14 June 2017 15:45 EDT

Maps gfx::PointF and gfx::RectF to blink::WebFloatSize and blink::WebFloatPoint.

BUG=732403

Review-Url: https://codereview.chromium.org/2928413002 Cr-Commit-Position: refs/heads/master@{#479473}

d1c41b9 Add RectF and PointF typemaps in blink.
.../modules/shapedetection/BarcodeDetector.cpp | 10 +++----
.../Source/modules/shapedetection/FaceDetector.cpp | 8 +++---
.../Source/modules/shapedetection/TextDetector.cpp | 5 ++--
.../WebKit/Source/platform/mojo/Geometry.typemap | 12 ++++++--
.../Source/platform/mojo/GeometryStructTraits.cpp | 22 +++++++++++++++
.../Source/platform/mojo/GeometryStructTraits.h | 18 ++++++++++++
.../platform/mojo/GeometryStructTraitsTest.cpp | 33 ++++++++++++++++++----
7 files changed, 88 insertions(+), 20 deletions(-)

Upstream: git.chromium.org


  • Share