[webkit-changes] [WebKit/WebKit] c1ae4b: Import Shape Detection API IDLs
Myles C. Maxfield
noreply at github.com
Sat Apr 8 23:25:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c1ae4bf56dcfbb654055cb817d22eca9f6f0dd98
https://github.com/WebKit/WebKit/commit/c1ae4bf56dcfbb654055cb817d22eca9f6f0dd98
Author: Myles C. Maxfield <mmaxfield at apple.com>
Date: 2023-04-08 (Sat, 08 Apr 2023)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
A Source/WebCore/Modules/ShapeDetection/BarcodeDetector.cpp
A Source/WebCore/Modules/ShapeDetection/BarcodeDetector.h
A Source/WebCore/Modules/ShapeDetection/BarcodeDetector.idl
A Source/WebCore/Modules/ShapeDetection/BarcodeDetectorOptions.h
A Source/WebCore/Modules/ShapeDetection/BarcodeDetectorOptions.idl
A Source/WebCore/Modules/ShapeDetection/BarcodeFormat.h
A Source/WebCore/Modules/ShapeDetection/BarcodeFormat.idl
A Source/WebCore/Modules/ShapeDetection/DetectedBarcode.h
A Source/WebCore/Modules/ShapeDetection/DetectedBarcode.idl
A Source/WebCore/Modules/ShapeDetection/DetectedFace.h
A Source/WebCore/Modules/ShapeDetection/DetectedFace.idl
A Source/WebCore/Modules/ShapeDetection/DetectedText.h
A Source/WebCore/Modules/ShapeDetection/DetectedText.idl
A Source/WebCore/Modules/ShapeDetection/FaceDetector.cpp
A Source/WebCore/Modules/ShapeDetection/FaceDetector.h
A Source/WebCore/Modules/ShapeDetection/FaceDetector.idl
A Source/WebCore/Modules/ShapeDetection/FaceDetectorOptions.h
A Source/WebCore/Modules/ShapeDetection/FaceDetectorOptions.idl
A Source/WebCore/Modules/ShapeDetection/Landmark.h
A Source/WebCore/Modules/ShapeDetection/Landmark.idl
A Source/WebCore/Modules/ShapeDetection/LandmarkType.h
A Source/WebCore/Modules/ShapeDetection/LandmarkType.idl
A Source/WebCore/Modules/ShapeDetection/Point2D.h
A Source/WebCore/Modules/ShapeDetection/Point2D.idl
A Source/WebCore/Modules/ShapeDetection/TextDetector.cpp
A Source/WebCore/Modules/ShapeDetection/TextDetector.h
A Source/WebCore/Modules/ShapeDetection/TextDetector.idl
M Source/WebCore/Modules/applepay/ApplePaySetupWebCore.h
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/bindings/js/WebCoreBuiltinNames.h
Log Message:
-----------
Import Shape Detection API IDLs
https://bugs.webkit.org/show_bug.cgi?id=255191
rdar://107783367
Reviewed by Alex Christensen.
This creates a new setting, named ShapeDetection, that is off by default, and
imports the Shape Detection API IDLs guarded by that setting. The IDLs are
current as of cc6c9460a134e53901da65822dfd36cc11b4331b. The methods backing
the IDLs are just stubbed out and do nothing just yet.
See:
https://github.com/WICG/shape-detection-api
https://wicg.github.io/shape-detection-api/
https://wicg.github.io/shape-detection-api/text.html
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/ShapeDetection/BarcodeDetector.cpp: Added.
(WebCore::BarcodeDetector::getSupportedFormats):
(WebCore::BarcodeDetector::detect):
* Source/WebCore/Modules/ShapeDetection/BarcodeDetector.h: Added.
(WebCore::BarcodeDetector::create):
(WebCore::BarcodeDetector::BarcodeDetector):
* Source/WebCore/Modules/ShapeDetection/BarcodeDetector.idl: Added.
* Source/WebCore/Modules/ShapeDetection/BarcodeDetectorOptions.h: Added.
* Source/WebCore/Modules/ShapeDetection/BarcodeDetectorOptions.idl: Added.
* Source/WebCore/Modules/ShapeDetection/BarcodeFormat.h: Added.
* Source/WebCore/Modules/ShapeDetection/BarcodeFormat.idl: Added.
* Source/WebCore/Modules/ShapeDetection/DetectedBarcode.h: Added.
* Source/WebCore/Modules/ShapeDetection/DetectedBarcode.idl: Added.
* Source/WebCore/Modules/ShapeDetection/DetectedFace.h: Added.
* Source/WebCore/Modules/ShapeDetection/DetectedFace.idl: Added.
* Source/WebCore/Modules/ShapeDetection/DetectedText.h: Added.
* Source/WebCore/Modules/ShapeDetection/DetectedText.idl: Added.
* Source/WebCore/Modules/ShapeDetection/FaceDetector.cpp: Added.
(WebCore::FaceDetector::detect):
* Source/WebCore/Modules/ShapeDetection/FaceDetector.h: Added.
(WebCore::FaceDetector::create):
(WebCore::FaceDetector::FaceDetector):
* Source/WebCore/Modules/ShapeDetection/FaceDetector.idl: Added.
* Source/WebCore/Modules/ShapeDetection/FaceDetectorOptions.h: Added.
* Source/WebCore/Modules/ShapeDetection/FaceDetectorOptions.idl: Added.
* Source/WebCore/Modules/ShapeDetection/Landmark.h: Added.
* Source/WebCore/Modules/ShapeDetection/Landmark.idl: Added.
* Source/WebCore/Modules/ShapeDetection/LandmarkType.h: Added.
* Source/WebCore/Modules/ShapeDetection/LandmarkType.idl: Added.
* Source/WebCore/Modules/ShapeDetection/Point2D.h: Added.
* Source/WebCore/Modules/ShapeDetection/Point2D.idl: Added.
* Source/WebCore/Modules/ShapeDetection/TextDetector.cpp: Added.
(WebCore::TextDetector::detect):
* Source/WebCore/Modules/ShapeDetection/TextDetector.h: Added.
(WebCore::TextDetector::create):
(WebCore::TextDetector::TextDetector):
* Source/WebCore/Modules/ShapeDetection/TextDetector.idl: Added.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
Canonical link: https://commits.webkit.org/262755@main
More information about the webkit-changes
mailing list