| Automatic generation of glue layer code.
Change-Id: Ia166421060e1c6569f49ca95590aae6dd522c107
Signed-off-by: runlei <leirun1@huawei.com>
Co-Authored-By: Agent
| 2 个月前 |
| Clear several formatting alerts and add CT_TEMP_POINTER for CursorType.
Signed-off-by: runlei <leirun1@huawei.com>
| 1 个月前 |
| Automatic generation of glue layer code.
Change-Id: Ia166421060e1c6569f49ca95590aae6dd522c107
Signed-off-by: runlei <leirun1@huawei.com>
Co-Authored-By: Agent
| 2 个月前 |
| 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 个月前 |
| !3819 保护Clear接口传入空指针
Merge pull request !3819 from ustc-tianyu/master
| 10 个月前 |
| 脚本增加日志输出
Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
| 1 年前 |
| gule层解除接口顺序依赖
Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
| 1 年前 |
| 脚本增加日志输出
Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
| 1 年前 |
| gule层解除接口顺序依赖
Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
| 1 年前 |
| gule层解除接口顺序依赖
Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
| 1 年前 |
| 脚本增加日志输出
Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
| 1 年前 |
| 脚本增加日志输出
Signed-off-by: zhangyanchuan <zhangyanchuan@huawei.com>
| 1 年前 |