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

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

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

Description

RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. Original CL got reverted due to conflit with another landed CL that need to use mojom::bitmap. 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 Review-Url: https://codereview.chromium.org/2681913003 Cr-Commit-Position: refs/heads/master@{#450582} Committed: https://chromium.googlesource.com/chromium/src/+/ab1a9331a441fa315edb669486ac1964788e47c7

Patch Set 1 : Original https://codereview.chromium.org/2629433003 #

Patch Set 2 : RELAND: ShapeDetection: use mojom::Bitmap for mojo interface #

Total comments: 1

Patch Set 3 : RELAND: ShapeDetection: use mojom::Bitmap for mojo interface #

Patch Set 4 : Rebase to https://codereview.chromium.org/2690253002/ #

Patch Set 5 : Rebase #

Patch Set 6 : Fix the issue of failing to fetch bitmap module #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -252 lines) Patch
M AUTHORS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/BUILD.gn View 1 2 3 4 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 2 3 4 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 2 3 1 chunk +1 line, -0 lines 0 comments Download
M services/shape_detection/barcode_detection_impl_mac.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M services/shape_detection/barcode_detection_impl_mac.mm View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download
M services/shape_detection/barcode_detection_impl_mac_unittest.mm View 1 2 3 3 chunks +5 lines, -19 lines 0 comments Download
M services/shape_detection/detection_utils_mac.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M services/shape_detection/detection_utils_mac.mm View 1 2 1 chunk +12 lines, -42 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac.mm View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac_unittest.mm View 1 2 3 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 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M services/shape_detection/text_detection_impl_mac.mm View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download
M services/shape_detection/text_detection_impl_mac_unittest.mm View 1 2 3 4 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 1 2 3 4 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 1 2 3 4 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 1 2 3 4 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 1 2 3 4 2 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 130 (87 generated)
junwei
3 years, 10 months ago (2017-02-08 01:52:03 UTC) #6
junwei
On 2017/02/08 01:52:03, junwei.fu wrote: PTAL.
3 years, 10 months ago (2017-02-08 01:52:41 UTC) #8
junwei
On 2017/02/08 01:52:41, junwei.fu wrote: > On 2017/02/08 01:52:03, junwei.fu wrote: > > PTAL. TBR=leonhsl,Tom ...
3 years, 10 months ago (2017-02-08 05:40:08 UTC) #15
junwei
On 2017/02/08 05:40:08, junwei.fu wrote: > On 2017/02/08 01:52:41, junwei.fu wrote: > > On 2017/02/08 ...
3 years, 10 months ago (2017-02-09 00:30:09 UTC) #23
haraken
WebKit LGTM
3 years, 10 months ago (2017-02-09 00:47:43 UTC) #24
Tom Sepez
mojom LGTM
3 years, 10 months ago (2017-02-09 17:19:34 UTC) #25
Ken Rockot(use gerrit already)
lgtm
3 years, 10 months ago (2017-02-09 17:19:53 UTC) #26
mcasas
lgtm with a comment. Thanks! https://codereview.chromium.org/2681913003/diff/60001/services/shape_detection/detection_utils_mac.mm File services/shape_detection/detection_utils_mac.mm (right): https://codereview.chromium.org/2681913003/diff/60001/services/shape_detection/detection_utils_mac.mm#newcode32 services/shape_detection/detection_utils_mac.mm:32: SkCreateCGImageRefWithColorspace(bitmap, colorspace)); Remove the ...
3 years, 10 months ago (2017-02-10 16:03:02 UTC) #27
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/2681913003/80001
3 years, 10 months ago (2017-02-11 08:48:18 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/362288)
3 years, 10 months ago (2017-02-11 08:54:27 UTC) #36
junwei
3 years, 10 months ago (2017-02-11 08:59:09 UTC) #38
junwei
David Trainor@ bsalomon@ reed1@ PTAL, thanks.
3 years, 10 months ago (2017-02-11 09:01:10 UTC) #39
David Trainor- moved to gerrit
lgtm
3 years, 10 months ago (2017-02-13 22:03:18 UTC) #40
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/2681913003/80001
3 years, 10 months ago (2017-02-14 00:24:10 UTC) #42
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/2681913003/80001
3 years, 10 months ago (2017-02-14 00:27:40 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/363372)
3 years, 10 months ago (2017-02-14 00:34:43 UTC) #47
junwei
On 2017/02/14 00:34:43, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-02-14 00:47:25 UTC) #48
bsalomon
lgtm
3 years, 10 months ago (2017-02-14 02:12:49 UTC) #49
junwei
On 2017/02/14 02:12:49, bsalomon wrote: > lgtm mcasas@ PTAL these files, thanks: services/shape_detection/barcode_detection_impl_mac_unittest.mm services/shape_detection/face_detection_impl_mac_unittest.mm
3 years, 10 months ago (2017-02-14 08:22:17 UTC) #70
mcasas
ps4 lgtm -- also, try to give descriptive names to the different patchsets, e.g. name ...
3 years, 10 months ago (2017-02-14 16:55:52 UTC) #71
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/2681913003/180001
3 years, 10 months ago (2017-02-15 03:53:31 UTC) #79
commit-bot: I haz the power
Committed patchset #4 (id:180001) as https://chromium.googlesource.com/chromium/src/+/ab1a9331a441fa315edb669486ac1964788e47c7
3 years, 10 months ago (2017-02-15 06:11:07 UTC) #82
perkj_chrome
A revert of this CL (patchset #4 id:180001) has been created in https://codereview.chromium.org/2696143002/ by perkj@chromium.org. ...
3 years, 10 months ago (2017-02-15 07:34:21 UTC) #83
junwei
On 2017/02/15 07:34:21, perkj_chrome wrote: > A revert of this CL (patchset #4 id:180001) has ...
3 years, 10 months ago (2017-02-17 07:01:10 UTC) #84
junwei
mcasas@ xianglu@ Could you please help me to analyse these errors, thanks. 22:45:09.367 5988 worker/4 ...
3 years, 10 months ago (2017-02-22 06:50:21 UTC) #86
mcasas
On 2017/02/22 06:50:21, junwei.fu wrote: > mcasas@ xianglu@ Could you please help me to analyse ...
3 years, 9 months ago (2017-03-14 18:25:01 UTC) #87
junwei
3 years, 9 months ago (2017-03-15 08:43:18 UTC) #89
junwei
On 2017/03/14 18:25:01, mcasas wrote: > On 2017/02/22 06:50:21, junwei.fu wrote: > > mcasas@ xianglu@ ...
3 years, 9 months ago (2017-03-15 08:48:31 UTC) #90
junwei
On 2017/03/15 08:48:31, junwei wrote: > On 2017/03/14 18:25:01, mcasas wrote: > > On 2017/02/22 ...
3 years, 9 months ago (2017-03-16 06:36:02 UTC) #91
leonhsl(Using Gerrit)
Hi, a question maybe unrelates with this CL: Given the fact that shape_detection::mojom::FaceDetectionProvider interface is ...
3 years, 9 months ago (2017-03-16 09:14:09 UTC) #105
Ken Rockot(use gerrit already)
On Mar 16, 2017 2:14 AM, <leon.han@intel.com> wrote: Hi, a question maybe unrelates with this ...
3 years, 9 months ago (2017-03-16 13:09:04 UTC) #108
Ken Rockot(use gerrit already)
On Mar 16, 2017 2:14 AM, <leon.han@intel.com> wrote: Hi, a question maybe unrelates with this ...
3 years, 9 months ago (2017-03-16 13:09:04 UTC) #109
junwei
3 years, 9 months ago (2017-03-17 00:48:03 UTC) #111
junwei
> Failed to fetch source for module "skia/public/interfaces/bitmap.mojom" Sam McNally@ could you please help me ...
3 years, 9 months ago (2017-03-17 00:53:29 UTC) #112
Sam McNally
On 2017/03/17 00:53:29, junwei wrote: > > Failed to fetch source for module "skia/public/interfaces/bitmap.mojom" > ...
3 years, 9 months ago (2017-03-17 01:37:07 UTC) #113
junwei
On 2017/03/17 01:37:07, Sam McNally wrote: > On 2017/03/17 00:53:29, junwei wrote: > > > ...
3 years, 9 months ago (2017-03-17 02:08:01 UTC) #114
junwei
mcasas@ should i skip the failed test case in the cl, and then anther cl ...
3 years, 9 months ago (2017-03-17 02:09:37 UTC) #115
junwei
On 2017/03/17 02:09:37, junwei wrote: > mcasas@ should i skip the failed test case in ...
3 years, 9 months ago (2017-03-17 02:20:37 UTC) #116
junwei
3 years, 9 months ago (2017-03-17 05:30:09 UTC) #120
junwei
Dirk Pranke@ PTAL BUILD.gn that is fix the issue of failing to fetch bitmap.mojom module.
3 years, 9 months ago (2017-03-17 05:33:37 UTC) #121
mcasas
On 2017/03/17 05:33:37, junwei wrote: > Dirk Pranke@ PTAL BUILD.gn that is fix the issue ...
3 years, 9 months ago (2017-03-17 17:09:52 UTC) #127
Dirk Pranke
lgtm
3 years, 9 months ago (2017-03-19 21:05:58 UTC) #128
Dirk Pranke
3 years, 5 months ago (2017-07-15 22:09:19 UTC) #130
Rietveld cleanup time ...

I think this CL is obsolete since we've landed and reverted newer versions,
e.g.: https://codereview.chromium.org/2681913003 . So, I'm closing this. If this
is still needed, please move it to Gerrit.

Powered by Google App Engine
This is Rietveld 408576698