mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWebView: Make loading an error page after a crash optional
We won't need this in headless-browser (who isn't calling this helper yet).
This commit is contained in:
parent
956b279ae1
commit
d2151e444e
Notes:
github-actions[bot]
2024-11-12 14:27:13 +00:00
Author: https://github.com/trflynn89
Commit: d2151e444e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2300
Reviewed-by: https://github.com/tcl3 ✅
2 changed files with 21 additions and 14 deletions
|
@ -254,7 +254,11 @@ protected:
|
|||
};
|
||||
virtual void initialize_client(CreateNewClient = CreateNewClient::Yes) { }
|
||||
|
||||
void handle_web_content_process_crash();
|
||||
enum class LoadErrorPage {
|
||||
No,
|
||||
Yes,
|
||||
};
|
||||
void handle_web_content_process_crash(LoadErrorPage = LoadErrorPage::Yes);
|
||||
|
||||
struct SharedBitmap {
|
||||
i32 id { -1 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue