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

Issue 2765723002: 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, 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 add gen/skia/public/interfaces to generated bindings paths. 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-Original-Commit-Position: refs/heads/master@{#450582} Review-Url: https://codereview.chromium.org/2753413002 Cr-Original-Commit-Position: refs/heads/master@{#458010} Review-Url: https://codereview.chromium.org/2765723002 Cr-Commit-Position: refs/heads/master@{#458657} Committed: https://chromium.googlesource.com/chromium/src/+/11a82c3aaabd39fc3a0981a6e66bf870cc46d5e8

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

Patch Set 2 : RELAND 2: revert the dependence of skia/public/interfaces in BUILD.gn. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -252 lines) Patch
M AUTHORS View 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 chunk +1 line, -3 lines 0 comments Download
M services/shape_detection/text_detection_impl_mac.mm View 1 chunk +3 lines, -5 lines 0 comments Download
M services/shape_detection/text_detection_impl_mac_unittest.mm View 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: 41 (29 generated)
junwei
Dirk Pranke@ mcasas@ PTAL. The cl of adding gen/skia/public/interfaces to generated bindings paths is [1]. ...
3 years, 9 months ago (2017-03-21 03:06:44 UTC) #5
bsalomon_chromium
skia DEPS lgtm
3 years, 9 months ago (2017-03-21 13:24:44 UTC) #6
David Trainor- moved to gerrit
lgtm
3 years, 9 months ago (2017-03-21 16:33:53 UTC) #7
Tom Sepez
mojom LGTM
3 years, 9 months ago (2017-03-21 18:32:49 UTC) #8
Dirk Pranke
lgtm, though really haraken is a better reviewer for this.
3 years, 9 months ago (2017-03-21 19:39:57 UTC) #9
mcasas
On 2017/03/21 19:39:57, Dirk Pranke wrote: > lgtm, though really haraken is a better reviewer ...
3 years, 9 months ago (2017-03-21 22:07:34 UTC) #10
junwei
On 2017/03/21 22:07:34, mcasas wrote: > On 2017/03/21 19:39:57, Dirk Pranke wrote: > > lgtm, ...
3 years, 9 months ago (2017-03-22 02:08:06 UTC) #14
haraken
WebKit LGTM
3 years, 9 months ago (2017-03-22 04:14:30 UTC) #23
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/2765723002/100001
3 years, 9 months ago (2017-03-22 06:27:54 UTC) #36
commit-bot: I haz the power
Committed patchset #2 (id:100001) as https://chromium.googlesource.com/chromium/src/+/11a82c3aaabd39fc3a0981a6e66bf870cc46d5e8
3 years, 9 months ago (2017-03-22 07:10:22 UTC) #39
dgozman
A revert of this CL (patchset #2 id:100001) has been created in https://codereview.chromium.org/2773593002/ by dgozman@chromium.org. ...
3 years, 9 months ago (2017-03-22 23:59:20 UTC) #40
dgozman
3 years, 9 months ago (2017-03-23 00:09:17 UTC) #41
Message was sent while issue was closed.
On 2017/03/22 23:59:20, dgozman wrote:
> A revert of this CL (patchset #2 id:100001) has been created in
> https://codereview.chromium.org/2773593002/ by mailto:dgozman@chromium.org.
> 
> The reason for reverting is: Breaks on MSAN:
>
https://uberchromegw.corp.google.com/i/chromium.webkit/builders/WebKit%20Linu....

Revert failed, so I filed an issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=704360

Powered by Google App Engine
This is Rietveld 408576698