mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
LibWebView: Add a standard "look like the OS" style sheet
It's quite common to want the web-view to match the native OS widgets, so let's make that easy to do.
This commit is contained in:
parent
84a5c67d6b
commit
7436f4fec2
4 changed files with 53 additions and 0 deletions
|
@ -10,11 +10,20 @@ set(SOURCES
|
|||
WebSocketClientAdapter.cpp
|
||||
)
|
||||
|
||||
embed_as_string_view(
|
||||
"NativeStyleSheetSource.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/Native.css"
|
||||
"NativeStyleSheetSource.cpp"
|
||||
"native_stylesheet_source"
|
||||
NAMESPACE "WebView"
|
||||
)
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
../../Services/RequestServer/RequestClientEndpoint.h
|
||||
../../Services/RequestServer/RequestServerEndpoint.h
|
||||
../../Services/WebContent/WebContentClientEndpoint.h
|
||||
../../Services/WebContent/WebContentServerEndpoint.h
|
||||
NativeStyleSheetSource.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibWebView webview)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue