Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
master
web_webview
/
ohos_interface
/
ohos_glue
/
ohos_nweb
下载当前目录
li-zhan006
add executeAIPageCommand
3e57053e
创建于
8 天前
历史提交
文件
最后提交记录
最后更新时间
bridge
add executeAIPageCommand Co-Authored-By: Agent Signed-off-by: li-zhan006 <lizhan12@huawei.com>
8 天前
cpptoc
feat: add image info callback API for WebView This commit adds support for retrieving image information from WebView through a callback-based API. The feature enables applications to get image pixel data including dimensions, color type, alpha type, and raw pixel data from specified image URLs. Key changes: - Added NWebImageInfo class to hold image metadata and pixel data - Support for width, height, alpha type, color type - Raw pixel data access with data size information - Added NWebImageInfoCallback interface for asynchronous retrieval - OnReceivedValue callback with error code and image info vector - Added GetImageInfosByUrls method to NWeb interface - Accepts vector of image URLs - Returns image data through callback interface - Implemented glue layer bridge code - ArkWebImageInfo wrapper/impl for webcore and webview - ArkWebImageInfoCallback wrapper/impl for callback handling - Vector conversion utilities (cpptoc/ctocpp) - Updated bridge type enumeration (ARK_WEB_IMAGE_INFO = 117, ARK_WEB_IMAGE_INFO_CALLBACK = 118) - Updated BUILD.gn files to include new source files This feature is useful for applications that need to access image data loaded in WebView for processing, saving, or manipulation. 🤖 Generated with [Claude Code](
https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: LGH W <wulonghui2@huawei.com>
1 个月前
ctocpp
feat: add image info callback API for WebView This commit adds support for retrieving image information from WebView through a callback-based API. The feature enables applications to get image pixel data including dimensions, color type, alpha type, and raw pixel data from specified image URLs. Key changes: - Added NWebImageInfo class to hold image metadata and pixel data - Support for width, height, alpha type, color type - Raw pixel data access with data size information - Added NWebImageInfoCallback interface for asynchronous retrieval - OnReceivedValue callback with error code and image info vector - Added GetImageInfosByUrls method to NWeb interface - Accepts vector of image URLs - Returns image data through callback interface - Implemented glue layer bridge code - ArkWebImageInfo wrapper/impl for webcore and webview - ArkWebImageInfoCallback wrapper/impl for callback handling - Vector conversion utilities (cpptoc/ctocpp) - Updated bridge type enumeration (ARK_WEB_IMAGE_INFO = 117, ARK_WEB_IMAGE_INFO_CALLBACK = 118) - Updated BUILD.gn files to include new source files This feature is useful for applications that need to access image data loaded in WebView for processing, saving, or manipulation. 🤖 Generated with [Claude Code](
https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: LGH W <wulonghui2@huawei.com>
1 个月前
include
add executeAIPageCommand Co-Authored-By: Agent Signed-off-by: li-zhan006 <lizhan12@huawei.com>
8 天前