Skip to content
  • junwei.fu's avatar
    RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. · b1caeee1
    junwei.fu authored
    Original CL got reverted due to shapedetection/detection-on-worker.html
    fail to fetch source for module skia/public/interfaces/bitmap.mojom.
    
    This CL includes the generated JS bindings for skia/public/interfaces/bitmap.mojom
    in the layout tests archive.
    
    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}
    (cherry picked from commit 33adf4c8)
    
    Conflicts:
    	third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
    	third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
    
    TBR=rockot@chromium.org, dtrainor@chromium.org, haraken@chromium.org, bsalomon@google.com, tsepez@chromium.org
    since the gist of the CL hasn't changed.
    
    Review-Url: https://codereview.chromium.org/2681913003
    Cr-Original-Commit-Position: refs/heads/master@{#450582}
    Review-Url: https://codereview.chromium.org/2753413002
    Cr-Commit-Position: refs/heads/master@{#458010}
    b1caeee1