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

Issue 2629523008: Shape Detection: Remove ConstructorCallWith=Document (Closed)

Created:
3 years, 11 months ago by xianglu
Modified:
3 years, 11 months ago
CC:
jochen (gone - plz use gerrit), Aaron Boodman, abarth-chromium, blink-reviews, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, haraken, jam, nasko+codewatch_chromium.org, 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.

Description

Shape Detection: Remove ConstructorCallWith=Document This CL moves FaceDetection, BarcodeDetection and TextDetection registration to render_process_host_impl.cc. Now they no longer depend on |LocalFrame| to get the interfaces. FaceDetection Java interface is registered in //content, and the other two are still in //chrome. BUG=681231 SPEC=https://wicg.github.io/shape-detection-api/#api CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2629523008 Cr-Commit-Position: refs/heads/master@{#445083} Committed: https://chromium.googlesource.com/chromium/src/+/5314b70c4d6d2ae4ed6c7719bc5ac68861409baa

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove ExecutionContext #

Total comments: 4

Patch Set 3 : Add layout test for worker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -108 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java View 2 chunks +12 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/shapedetection/BarcodeDetectionFactory.java View 1 chunk +5 lines, -18 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java View 1 chunk +5 lines, -19 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 3 chunks +1 line, -13 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 chunks +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M content/public/app/mojo/content_browser_manifest.json View 2 chunks +3 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/shapedetection/detection-on-worker.html View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/shapedetection/resources/mock-facedetection.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/shapedetection/resources/mock-textdetection.js View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/shapedetection/resources/worker.js View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h View 1 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp View 1 1 chunk +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/FaceDetector.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp View 1 1 chunk +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/TextDetector.h View 1 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp View 1 1 chunk +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/TextDetector.idl View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 68 (52 generated)
xianglu
I'm moving three Shape Detection registrations to render_process_host_impl.cc, so the renderer doesn't need a frame ...
3 years, 11 months ago (2017-01-14 01:30:23 UTC) #22
Reilly Grant (use Gerrit)
If the service is in the manifest but unimplemented by the browser process then the ...
3 years, 11 months ago (2017-01-17 19:51:47 UTC) #26
Ken Rockot(use gerrit already)
On 2017/01/17 at 19:51:47, reillyg wrote: > If the service is in the manifest but ...
3 years, 11 months ago (2017-01-17 21:56:50 UTC) #27
Ken Rockot(use gerrit already)
On 2017/01/17 at 21:56:50, Ken Rockot wrote: > On 2017/01/17 at 19:51:47, reillyg wrote: > ...
3 years, 11 months ago (2017-01-17 21:57:25 UTC) #28
xianglu
On 2017/01/17 21:57:25, Ken Rockot wrote: > On 2017/01/17 at 21:56:50, Ken Rockot wrote: > ...
3 years, 11 months ago (2017-01-18 01:22:42 UTC) #33
xianglu
jochen@, please take a look at the whole CL. tsepez@, please review *.json
3 years, 11 months ago (2017-01-18 01:37:10 UTC) #42
Reilly Grant (use Gerrit)
lgtm
3 years, 11 months ago (2017-01-18 01:53:03 UTC) #43
mcasas
lgtm with an idea https://codereview.chromium.org/2629523008/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java File chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java (right): https://codereview.chromium.org/2629523008/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java#newcode25 chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java:25: } Hmm these Factory classes ...
3 years, 11 months ago (2017-01-18 02:05:10 UTC) #44
xianglu
https://codereview.chromium.org/2629523008/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java File chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java (right): https://codereview.chromium.org/2629523008/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java#newcode25 chrome/android/java/src/org/chromium/chrome/browser/shapedetection/TextDetectionFactory.java:25: } On 2017/01/18 02:05:10, mcasas wrote: > Hmm these ...
3 years, 11 months ago (2017-01-18 02:22:31 UTC) #45
jochen (gone - plz use gerrit)
can you add a layout test that uses the different detectors from workers?
3 years, 11 months ago (2017-01-18 12:28:07 UTC) #48
Tom Sepez
lgtm
3 years, 11 months ago (2017-01-18 18:02:47 UTC) #49
Ken Rockot(use gerrit already)
lgtm
3 years, 11 months ago (2017-01-19 19:57:01 UTC) #50
xianglu
jochen@ PTAL.
3 years, 11 months ago (2017-01-20 03:00:37 UTC) #59
jochen (gone - plz use gerrit)
lgtm
3 years, 11 months ago (2017-01-20 07:29:56 UTC) #62
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/2629523008/200001
3 years, 11 months ago (2017-01-20 17:21:34 UTC) #65
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 17:26:54 UTC) #68
Message was sent while issue was closed.
Committed patchset #3 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/5314b70c4d6d2ae4ed6c7719bc5a...

Powered by Google App Engine
This is Rietveld 408576698