|
|
Chromium Code Reviews|
Created:
4 years ago by xianglu Modified:
3 years, 11 months ago Reviewers:
David Trainor- moved to gerrit, Reilly Grant (use Gerrit), Maria, haraken, mcasas, Tom Sepez, jochen (gone - plz use gerrit) CC:
Aaron Boodman, abarth-chromium, agrieve+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, haraken, jam, qsr+mojo_chromium.org, Reilly Grant (use Gerrit), viettrungluu+watch_chromium.org, yzshen+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionShape Detection: Add Text Detection in Chrome Android
This CL adds text detection API in addition to face detection and barcode
detection. It uses com.google.android.gms package and is registered in
ChromeInterfaceRegistrar.java.
Intent to implement:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ
BUG=676124
SPEC=
https://wicg.github.io/shape-detection-api/#text-detection-api
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
DEMO=
https://s.codepen.io/xianglu_google/debug/pNGBKv
https://s.codepen.io/xianglu_google/debug/QGoaYe
https://drive.google.com/file/d/0B3T2kSOMuTq3aFhZelAxTFdNWUk/view?usp=sharing (video)
Review-Url: https://codereview.chromium.org/2588293005
Cr-Commit-Position: refs/heads/master@{#442293}
Committed: https://chromium.googlesource.com/chromium/src/+/bbe29b0276f347c3619cdc33fcb6540eef466bb9
Patch Set 1 #
Total comments: 4
Patch Set 2 : Change binding interface for mock-textdetection, rebase #
Total comments: 3
Patch Set 3 : 2016=>2017 #
Total comments: 4
Patch Set 4 : jochen@ comments, rebase #Messages
Total messages: 143 (125 generated)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Patchset #1 (id:1) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android BUG= ========== to ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 TEST(Layout)= 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 ==========
Patchset #2 (id:40001) has been deleted
Patchset #1 (id:20001) has been deleted
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 TEST(Layout)= 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 ========== to ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 TEST(Layout)= 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 DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 TEST(Layout)= 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 DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv ========== to ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 TEST(Layout)= 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 DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 TEST(Layout)= 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 DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv ========== to ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 TEST(Layout)= 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 DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 TEST(Layout)= 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 DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv ========== to ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 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 DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv ==========
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:60001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:100001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:120001) has been deleted
Patchset #1 (id:80001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Patchset #2 (id:160001) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Description was changed from
==========
Shape Detection: Add Text Detection in Chrome Android
BUG=676124
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
DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv
==========
to
==========
Shape Detection: Add Text Detection in Chrome Android
BUG=676124
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
DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv
http://s.codepen.io/xianglu_google/debug/QGoaYe
==========
Description was changed from
==========
Shape Detection: Add Text Detection in Chrome Android
BUG=676124
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
DEMO=https://s.codepen.io/xianglu_google/debug/pNGBKv
http://s.codepen.io/xianglu_google/debug/QGoaYe
==========
to
==========
Shape Detection: Add Text Detection in Chrome Android
BUG=676124
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
DEMO=
https://s.codepen.io/xianglu_google/debug/pNGBKv
http://s.codepen.io/xianglu_google/debug/QGoaYe
==========
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe ========== to ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe Spec=https://wicg.github.io/shape-detection-api/#api ==========
Patchset #1 (id:140001) has been deleted
Patchset #1 (id:180001) has been deleted
Patchset #1 (id:200001) has been deleted
Patchset #1 (id:220001) has been deleted
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe Spec=https://wicg.github.io/shape-detection-api/#api ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe Spec=https://wicg.github.io/shape-detection-api/#api ==========
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe Spec=https://wicg.github.io/shape-detection-api/#api ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe Spec=https://wicg.github.io/shape-detection-api/#text-detection-api ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe Spec=https://wicg.github.io/shape-detection-api/#text-detection-api ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe Spec= https://wicg.github.io/shape-detection-api/#text-detection-api ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe Spec= https://wicg.github.io/shape-detection-api/#text-detection-api ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv http://s.codepen.io/xianglu_google/debug/QGoaYe SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api ==========
Patchset #1 (id:240001) has been deleted
xianglu@chromium.org changed reviewers: + mcasas@chromium.org
PTAL.
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
reillyg@chromium.org changed reviewers: + reillyg@chromium.org
https://codereview.chromium.org/2588293005/diff/260001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/media/autoplay-muted-expected.txt (right): https://codereview.chromium.org/2588293005/diff/260001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/media/autoplay-muted-expected.txt:13: This file looks unrelated to your change. https://codereview.chromium.org/2588293005/diff/260001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/shapedetection/resources/mock-textdetection.js (right): https://codereview.chromium.org/2588293005/diff/260001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/shapedetection/resources/mock-textdetection.js:21: textDetection.TextDetection); yzshen@ recently sent me a patch with a new API for doing bindings: https://codereview.chromium.org/2594213002/
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:280001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Please take another look. Thanks! https://codereview.chromium.org/2588293005/diff/260001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/media/autoplay-muted-expected.txt (right): https://codereview.chromium.org/2588293005/diff/260001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/media/autoplay-muted-expected.txt:13: On 2016/12/23 02:24:28, Reilly Grant wrote: > This file looks unrelated to your change. Deleted. https://codereview.chromium.org/2588293005/diff/260001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/shapedetection/resources/mock-textdetection.js (right): https://codereview.chromium.org/2588293005/diff/260001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/shapedetection/resources/mock-textdetection.js:21: textDetection.TextDetection); On 2016/12/23 02:24:28, Reilly Grant wrote: > yzshen@ recently sent me a patch with a new API for doing bindings: > https://codereview.chromium.org/2594213002/ Done.
lgtm
xianglu@chromium.org changed reviewers: + mariakhomenko@google.com
xianglu@chromium.org changed reviewers: + mariakhomenko@chromium.org - mariakhomenko@google.com
xianglu@chromium.org changed reviewers: + haraken@chromium.org, tsepez@chromium.org
xianglu@chromium.org changed reviewers: + jochen@chromium.org
PTAL.
mojom LGTM
mariakhomenko@chromium.org changed reviewers: + dtrainor@chromium.org
java lgtm % nit https://codereview.chromium.org/2588293005/diff/300001/chrome/android/java/sr... File chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionImpl.java (right): https://codereview.chromium.org/2588293005/diff/300001/chrome/android/java/sr... chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionImpl.java:97: detectedTextArray[i].boundingBox = new RectF(); new RectF(rect); or boundingBox.set(rect);?
https://codereview.chromium.org/2588293005/diff/300001/chrome/android/java/sr... File chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionImpl.java (right): https://codereview.chromium.org/2588293005/diff/300001/chrome/android/java/sr... chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionImpl.java:97: detectedTextArray[i].boundingBox = new RectF(); On 2017/01/03 23:38:20, David Trainor wrote: > new RectF(rect); or boundingBox.set(rect);? Thanks for pointing that out. I tried that last time but it failed most bots. RectF here is a mojom class, and there seems no matching constructor or a set() method. https://cs.chromium.org/chromium/src/out/Debug/gen/ui/gfx/geometry/mojo/geome...
can you please add a link to the "intent to implement" thread on blink-dev to the CL description? if there's none yet, please send one!
WebKit/ implementation LGTM https://codereview.chromium.org/2588293005/diff/300001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/shapedetection/DetectedText.cpp (right): https://codereview.chromium.org/2588293005/diff/300001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/shapedetection/DetectedText.cpp:1: // Copyright 2016 The Chromium Authors. All rights reserved. Nit: 2016 => 2017
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe ==========
On 2017/01/04 08:52:06, jochen wrote: > can you please add a link to the "intent to implement" thread on blink-dev to > the CL description? > > if there's none yet, please send one! Just updated.
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #3 (id:320001) has been deleted
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Patchset #3 (id:340001) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #3 (id:360001) has been deleted
Patchset #3 (id:380001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Ah my bad I thought it was the android RectF class. Thanks!
https://codereview.chromium.org/2588293005/diff/400001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/shapedetection/DetectedText.idl (right): https://codereview.chromium.org/2588293005/diff/400001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/shapedetection/DetectedText.idl:11: [SameObject] readonly attribute DOMString rawValue; nit. can you switch the order of rawValue and boundingBox so our IDL is as close as possible to the spec one? https://codereview.chromium.org/2588293005/diff/400001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/shapedetection/TextDetector.idl (right): https://codereview.chromium.org/2588293005/diff/400001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/shapedetection/TextDetector.idl:9: ConstructorCallWith=Document, shouldn't that be ConstructorCallWith=ExecutionContext? Otherwise, how would that work on a worker?
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/open?id=0B7N3MBkF__KzUGs2bDc3ZXdXcmM ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/open?id=0B7N3MBkF__KzUGs2bDc3ZXdXcmM ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/a/google.com/file/d/0B7N3MBkF__KzUGs2bDc3ZXdXcmM/vie... (video) ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/a/google.com/file/d/0B7N3MBkF__KzUGs2bDc3ZXdXcmM/vie... (video) ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/a/google.com/file/d/0B7N3MBkF__KzcF82ZVp1X3ZDMzQ/vie... (video) ==========
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/a/google.com/file/d/0B7N3MBkF__KzcF82ZVp1X3ZDMzQ/vie... (video) ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/a/google.com/file/d/0B7N3MBkF__KzY3pGbWhra2otUVk/vie... (video) ==========
The CQ bit was checked by xianglu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2588293005/diff/400001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/shapedetection/DetectedText.idl (right): https://codereview.chromium.org/2588293005/diff/400001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/shapedetection/DetectedText.idl:11: [SameObject] readonly attribute DOMString rawValue; On 2017/01/05 12:11:55, jochen wrote: > nit. can you switch the order of rawValue and boundingBox so our IDL is as close > as possible to the spec one? Done. https://codereview.chromium.org/2588293005/diff/400001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/shapedetection/TextDetector.idl (right): https://codereview.chromium.org/2588293005/diff/400001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/shapedetection/TextDetector.idl:9: ConstructorCallWith=Document, On 2017/01/05 12:11:55, jochen wrote: > shouldn't that be ConstructorCallWith=ExecutionContext? Otherwise, how would > that work on a worker? That makes sense. While that could touch more than text detector, I'm going to create a bug and work on that in next CL.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/a/google.com/file/d/0B7N3MBkF__KzY3pGbWhra2otUVk/vie... (video) ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/file/d/0B3T2kSOMuTq3aFhZelAxTFdNWUk/view?usp=sharing (video) ==========
lgtm
The CQ bit was checked by xianglu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dtrainor@chromium.org, reillyg@chromium.org, haraken@chromium.org, tsepez@chromium.org Link to the patchset: https://codereview.chromium.org/2588293005/#ps420001 (title: "jochen@ comments, rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 420001, "attempt_start_ts": 1483978303217020,
"parent_rev": "b6bda67c0ddcc984c0f27da39b95fa018fcde652", "commit_rev":
"bbe29b0276f347c3619cdc33fcb6540eef466bb9"}
Message was sent while issue was closed.
Description was changed from ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/file/d/0B3T2kSOMuTq3aFhZelAxTFdNWUk/view?usp=sharing (video) ========== to ========== Shape Detection: Add Text Detection in Chrome Android This CL adds text detection API in addition to face detection and barcode detection. It uses com.google.android.gms package and is registered in ChromeInterfaceRegistrar.java. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/JkdoxpINjxQ BUG=676124 SPEC= https://wicg.github.io/shape-detection-api/#text-detection-api 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 DEMO= https://s.codepen.io/xianglu_google/debug/pNGBKv https://s.codepen.io/xianglu_google/debug/QGoaYe https://drive.google.com/file/d/0B3T2kSOMuTq3aFhZelAxTFdNWUk/view?usp=sharing (video) Review-Url: https://codereview.chromium.org/2588293005 Cr-Commit-Position: refs/heads/master@{#442293} Committed: https://chromium.googlesource.com/chromium/src/+/bbe29b0276f347c3619cdc33fcb6... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:420001) as https://chromium.googlesource.com/chromium/src/+/bbe29b0276f347c3619cdc33fcb6... |
