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:
Timothy Flynn 2024-11-12 08:43:37 -05:00 committed by Tim Ledbetter
commit d2151e444e
Notes: github-actions[bot] 2024-11-12 14:27:13 +00:00
2 changed files with 21 additions and 14 deletions

View file

@ -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 };