RELAND2: ShapeDetection: use mojom::Bitmap for mojo interface.
Original CL got reverted due to test cases are concurrent in same
script context, it will cause random crash/time out.
CL [1] has resolved the random issue, so rebase the commit align with
the latest code. Reland implementation of detecting on mac
platform, layout tests files, interface definition in mojom file and
implementation in /Source/modules/shapedetion. Implementation on
Android platform is new code include all of java files.
[1] https://chromium-review.googlesource.com/475077
Original CL description ------------------------------------------------
ShapeDetection: use mojom::Bitmap for mojo interface.
This CL uses mojo::Bitmap for mojo ShapeDetection interfaces definition,
so that the Detect API is completely flexible and friendly.
BUG=665488
TEST(Layout)=
third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-empty-input.html
third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html
third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html
third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html
third_party/WebKit/LayoutTests/shapedetection/detection-ImageBitmap.html
third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html
Review-Url: https://codereview.chromium.org/2629433003
Cr-Commit-Position: refs/heads/master@{#446142}
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
TBR=rockot@chromium.org, dtrainor@chromium.org, haraken@chromium.org
since the gist of the CL hasn't changed.
Review-Url: https://codereview.chromium.org/2681913003
Cr-Original-Original-Original-Commit-Position: refs/heads/master@{#450582}
Review-Url: https://codereview.chromium.org/2753413002
Cr-Original-Original-Commit-Position: refs/heads/master@{#458010}
Review-Url: https://codereview.chromium.org/2765723002
Cr-Original-Commit-Position: refs/heads/master@{#458657}
Review-Url: https://codereview.chromium.org/2875243002
Cr-Commit-Position: refs/heads/master@{#476598}
40 files changed