|
|
ShapeDetection: implement barcode detection, blink part
This CL introduces the QR/barcode detection API idls
(BarcodeDetector.idl and DetectedBarcode.idl), and
the Blink-side implementation and mojo definition.
FaceDetector.cpp is almost emptied to become a
storefront for ShapeDetector, where most of the code
is moved to and that is used for both Face and Barcode
detection.
LayoutTests and mock mojo implementation are adapted
all over -- in particular, the tests under
LayoutTests/shapedetection are 'parameterised'.
BUG= 665150
Committed: https://crrev.com/cd43abe6b873841f33cdbe5cc2789bd1611a3d4c
Cr-Commit-Position: refs/heads/master@{#432429}
Total comments: 10
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+591 lines, -543 lines) |
Patch |
 |
M |
content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionImpl.java
|
View
|
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-empty-input.html
|
View
|
1
2
|
1 chunk |
+23 lines, -17 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/shapedetection/detectface-HTMLImageElement.html
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/shapedetection/detectface-HTMLVideoElement.html
|
View
|
|
1 chunk |
+0 lines, -47 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/shapedetection/detectface-ImageBitmap.html
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/shapedetection/detectshape-HTMLImageElement.html
|
View
|
1
2
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/shapedetection/detectshape-HTMLVideoElement.html
|
View
|
1
2
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/shapedetection/detectshape-ImageBitmap.html
|
View
|
1
2
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/shapedetection/resources/mock-shapedetection.js
|
View
|
|
2 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/modules_idl_files.gni
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/shapedetection/BUILD.gn
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
|
View
|
|
1 chunk |
+10 lines, -26 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
View
|
1
2
3
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.h
|
View
|
1
2
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.cpp
|
View
|
1
2
3
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.idl
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
|
View
|
|
1 chunk |
+5 lines, -21 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
View
|
1
2
3
|
1 chunk |
+4 lines, -292 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
|
View
|
1
2
3
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp
|
View
|
1
2
3
|
10 chunks |
+89 lines, -41 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/modules/shapedetection/shapedetection.mojom
|
View
|
1
|
1 chunk |
+15 lines, -4 lines |
0 comments
|
Download
|
Total messages: 40 (21 generated)
|