mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-20 17:29:21 +00:00
LibWebView+UI: Handle common WebView client initialization in LibWebView
No need to have every UI manually implement these common steps.
This commit is contained in:
parent
44d6601dc5
commit
4e1dab477a
Notes:
github-actions[bot]
2024-11-14 10:48:24 +00:00
Author: https://github.com/trflynn89
Commit: 4e1dab477a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2327
6 changed files with 47 additions and 97 deletions
|
@ -7,7 +7,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Badge.h>
|
||||
#include <AK/Function.h>
|
||||
#include <AK/RefPtr.h>
|
||||
#include <LibCore/Forward.h>
|
||||
#include <LibCore/Promise.h>
|
||||
|
@ -31,8 +30,6 @@ public:
|
|||
TestPromise& test_promise() { return *m_test_promise; }
|
||||
void on_test_complete(TestCompletion);
|
||||
|
||||
Function<void()> on_web_content_crashed;
|
||||
|
||||
private:
|
||||
HeadlessWebView(Core::AnonymousBuffer theme, Web::DevicePixelSize viewport_size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue