mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ladybird: Stub out new WebView::ViewImplementation APIs
These were added for WebDriver, which doesn't have a Ladybird implementation yet.
This commit is contained in:
parent
15e4d151c3
commit
0b15fd4a12
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/0b15fd4a12 Pull-request: https://github.com/SerenityOS/serenity/pull/16583 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/awesomekling ✅ Reviewed-by: https://github.com/linusg
2 changed files with 29 additions and 0 deletions
|
@ -909,6 +909,30 @@ void WebContentView::notify_server_did_update_resource_count(i32 count_waiting)
|
|||
(void)count_waiting;
|
||||
}
|
||||
|
||||
void WebContentView::notify_server_did_request_restore_window()
|
||||
{
|
||||
}
|
||||
|
||||
Gfx::IntPoint WebContentView::notify_server_did_request_reposition_window(Gfx::IntPoint const&)
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
Gfx::IntSize WebContentView::notify_server_did_request_resize_window(Gfx::IntSize const&)
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
Gfx::IntRect WebContentView::notify_server_did_request_maximize_window()
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
Gfx::IntRect WebContentView::notify_server_did_request_minimize_window()
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
void WebContentView::notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32 request_id)
|
||||
{
|
||||
auto file = Core::File::open(path, Core::OpenMode::ReadOnly);
|
||||
|
|
|
@ -138,6 +138,11 @@ public:
|
|||
virtual String notify_server_did_request_cookie(Badge<WebContentClient>, const AK::URL& url, Web::Cookie::Source source) override;
|
||||
virtual void notify_server_did_set_cookie(Badge<WebContentClient>, const AK::URL& url, Web::Cookie::ParsedCookie const& cookie, Web::Cookie::Source source) override;
|
||||
virtual void notify_server_did_update_resource_count(i32 count_waiting) override;
|
||||
virtual void notify_server_did_request_restore_window() override;
|
||||
virtual Gfx::IntPoint notify_server_did_request_reposition_window(Gfx::IntPoint const&) override;
|
||||
virtual Gfx::IntSize notify_server_did_request_resize_window(Gfx::IntSize const&) override;
|
||||
virtual Gfx::IntRect notify_server_did_request_maximize_window() override;
|
||||
virtual Gfx::IntRect notify_server_did_request_minimize_window() override;
|
||||
virtual void notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32) override;
|
||||
|
||||
signals:
|
||||
|
|
Loading…
Reference in a new issue