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

Issue 2753413002: RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)

Created:
3 years, 9 months ago by junwei
Modified:
3 years, 9 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, agrieve+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, haraken, Aaron Boodman, darin-cc_chromium.org, mac-reviews_chromium.org, blink-reviews, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. 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 33adf4c85dd553eb607bcf9c02c5fa60c8738a68) 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} Committed: https://chromium.googlesource.com/chromium/src/+/b1caeee1ee08c8b3bcaa423c8aa4a9f06e9ce40a

Patch Set 1 : https://codereview.chromium.org/2681913003 #

Patch Set 2 : include the generated JS bindings for bitmap.mojom in the layout tests archive. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -252 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/shapedetection/BarcodeDetectionImpl.java View 4 chunks +16 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionImpl.java View 4 chunks +16 lines, -6 lines 0 comments Download
M content/public/android/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionImpl.java View 2 chunks +22 lines, -10 lines 0 comments Download
M services/shape_detection/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M services/shape_detection/barcode_detection_impl_mac.h View 2 chunks +2 lines, -3 lines 0 comments Download
M services/shape_detection/barcode_detection_impl_mac.mm View 1 chunk +3 lines, -5 lines 0 comments Download
M services/shape_detection/barcode_detection_impl_mac_unittest.mm View 3 chunks +5 lines, -19 lines 0 comments Download
M services/shape_detection/detection_utils_mac.h View 1 chunk +3 lines, -4 lines 0 comments Download
M services/shape_detection/detection_utils_mac.mm View 1 chunk +12 lines, -42 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac.h View 2 chunks +2 lines, -3 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac.mm View 1 chunk +3 lines, -5 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac_unittest.mm View 1 chunk +2 lines, -14 lines 0 comments Download
M services/shape_detection/public/interfaces/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/shape_detection/public/interfaces/barcodedetection.mojom View 2 chunks +3 lines, -4 lines 0 comments Download
M services/shape_detection/public/interfaces/facedetection.mojom View 2 chunks +3 lines, -4 lines 0 comments Download
M services/shape_detection/public/interfaces/textdetection.mojom View 2 chunks +3 lines, -3 lines 0 comments Download
M services/shape_detection/text_detection_impl_mac.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M services/shape_detection/text_detection_impl_mac.mm View 1 1 chunk +3 lines, -5 lines 0 comments Download
M services/shape_detection/text_detection_impl_mac_unittest.mm View 1 2 chunks +5 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/shapedetection/resources/mock-facedetection.js View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/shapedetection/resources/mock-textdetection.js View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp View 2 chunks +5 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/FaceDetector.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp View 2 chunks +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp View 5 chunks +30 lines, -56 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/TextDetector.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp View 2 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
junwei
Dirk Pranke@ mcasas@ PTAL.
3 years, 9 months ago (2017-03-18 09:47:21 UTC) #2
Dirk Pranke
lgtm (dunno if you want to use this CL or https://codereview.chromium.org/2681913003/ ).
3 years, 9 months ago (2017-03-19 21:10:05 UTC) #9
mcasas
On 2017/03/19 21:10:05, Dirk Pranke wrote: > lgtm > > (dunno if you want to ...
3 years, 9 months ago (2017-03-19 22:37:32 UTC) #12
mcasas
On 2017/03/19 22:37:32, mcasas wrote: > On 2017/03/19 21:10:05, Dirk Pranke wrote: > > lgtm ...
3 years, 9 months ago (2017-03-19 22:40:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2753413002/20001
3 years, 9 months ago (2017-03-20 00:38:41 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/b1caeee1ee08c8b3bcaa423c8aa4a9f06e9ce40a
3 years, 9 months ago (2017-03-20 00:46:47 UTC) #18
vasilii
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2755393002/ by vasilii@chromium.org. ...
3 years, 9 months ago (2017-03-20 10:19:55 UTC) #19
junwei
Could you please share the link of try bots so that I can get more ...
3 years, 9 months ago (2017-03-20 11:19:09 UTC) #20
junwei
3 years, 9 months ago (2017-03-20 11:19:10 UTC) #21
Message was sent while issue was closed.
Could you please share the link of try bots so that I can get more information
about the error messages.

发自我的 iPhone
在 2017年3月20日,下午6:20,"vasilii@chromium.org<mailto:vasilii@chromium.org>"
<vasilii@chromium.org<mailto:vasilii@chromium.org>> 写道:

A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2755393002/ by
vasilii@chromium.org<mailto:vasilii@chromium.org>.

The reason for reverting is: Broke shapedetection/detection-on-worker.html
shapedetection/detection-security-test.html reliably:

18:14:35.412 4150
[10306:39683:0319/181429.446067:1229254778376:WARNING:url_request_job_manager.cc(90)]
Failed to map:
layout-test-mojom://content/shell/renderer/layout_test/frame_interface_registry
18:14:35.413 4150
[10306:39683:0319/181429.446194:1229254899173:WARNING:url_request_job_manager.cc(90)]
Failed to map:
layout-test-mojom://content/shell/renderer/layout_test/interface_registry
18:14:35.413 4150
[10308:771:0319/181429.450430:1229259136455:ERROR:mojo_context_state.cc(199)]
Failed to fetch source for module
"content/shell/renderer/layout_test/frame_interface_registry"
18:14:35.413 4150
[10308:771:0319/181429.450505:1229259209121:ERROR:mojo_context_state.cc(199)]
Failed to fetch source for module
"content/shell/renderer/layout_test/interface_registry"
18:14:35.413 4150
[10308:771:0319/181429.452582:1229261287723:ERROR:mojo_context_state.cc(199)]
Failed to fetch source for module "skia/public/interfaces/bitmap.mojom"
18:14:35.414 4111 [46631/51882] shapedetection/detection-security-test.html
failed unexpectedly (test timed out).

https://codereview.chromium.org/2753413002/

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698