mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 17:07:47 +00:00
Ladybird: Add Android View for WebView and paint into it from bindings
This allows our WebViewImplementationNative class to paint into an Android Bitmap class from the onDraw() view event. We also set the viewport geometry from the view since we're setting the Kotlin Bitmap at the same time.
This commit is contained in:
parent
8d05ff1fe7
commit
1d369cb722
9 changed files with 162 additions and 31 deletions
|
@ -150,7 +150,7 @@ elseif(ANDROID)
|
|||
Android/src/main/cpp/LadybirdActivity.cpp
|
||||
Android/src/main/cpp/WebViewImplementationNative.cpp
|
||||
)
|
||||
target_link_libraries(ladybird PRIVATE log)
|
||||
target_link_libraries(ladybird PRIVATE log jnigraphics)
|
||||
else()
|
||||
# TODO: Check for other GUI frameworks here when we move them in-tree
|
||||
# For now, we can export a static library of common files for chromes to link to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue