Merge pull request #10328 from akallabeth/win-scheme-stub
[client,sdl] add_scheme_handler stub for windows
This commit is contained in:
commit
31257b1710
@ -15,7 +15,7 @@ set (CHANNEL_URBDRC OFF CACHE BOOL "USB redirection")
|
|||||||
set (BUILD_TESTING ON CACHE BOOL "build testing")
|
set (BUILD_TESTING ON CACHE BOOL "build testing")
|
||||||
set (WITH_FFMPEG OFF CACHE BOOL "ci default")
|
set (WITH_FFMPEG OFF CACHE BOOL "ci default")
|
||||||
set (WITH_SWSCALE OFF CACHE BOOL "ci default")
|
set (WITH_SWSCALE OFF CACHE BOOL "ci default")
|
||||||
set (WITH_WEBVIEW OFF CACHE BOOL "ci default")
|
set (WITH_WEBVIEW ON CACHE BOOL "ci default")
|
||||||
set (ZLIB_USE_STATIC_LIBS ON CACHE BOOL "ci default")
|
set (ZLIB_USE_STATIC_LIBS ON CACHE BOOL "ci default")
|
||||||
set (WITH_FREERDP_DEPRECATED_COMMANDLINE ON CACHE BOOL "Enable deprecated command line options")
|
set (WITH_FREERDP_DEPRECATED_COMMANDLINE ON CACHE BOOL "Enable deprecated command line options")
|
||||||
set (WITH_SDL_LINK_SHARED OFF CACHE BOOL "ci default")
|
set (WITH_SDL_LINK_SHARED OFF CACHE BOOL "ci default")
|
||||||
|
@ -991,6 +991,13 @@ namespace webview
|
|||||||
m_navigateCallbackArg = arg;
|
m_navigateCallbackArg = arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void add_scheme_handler(const std::string& scheme,
|
||||||
|
std::function<void(const std::string&, void*)> callback,
|
||||||
|
void* arg)
|
||||||
|
{
|
||||||
|
// TODO: Implement
|
||||||
|
}
|
||||||
|
|
||||||
void set_html(const std::string& html)
|
void set_html(const std::string& html)
|
||||||
{
|
{
|
||||||
objc::msg_send<void>(
|
objc::msg_send<void>(
|
||||||
@ -2456,6 +2463,13 @@ namespace webview
|
|||||||
m_com_handler->add_navigate_listener(callback, arg);
|
m_com_handler->add_navigate_listener(callback, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void add_scheme_handler(const std::string& scheme,
|
||||||
|
std::function<void(const std::string&, void*)> callback,
|
||||||
|
void* arg)
|
||||||
|
{
|
||||||
|
// TODO: Implement
|
||||||
|
}
|
||||||
|
|
||||||
void set_html(const std::string& html)
|
void set_html(const std::string& html)
|
||||||
{
|
{
|
||||||
m_webview->NavigateToString(widen_string(html).c_str());
|
m_webview->NavigateToString(widen_string(html).c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user