1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

LibWeb: Don't try to create GUI::TextBox inside multi-process web views

This is a workaround until we can implement a proper <input type=text>
in terms of LibWeb primitives.

This makes google.com not crash in multi-process mode (but there is no
search box.)
This commit is contained in:
Andreas Kling 2021-01-30 23:15:40 +01:00
parent 32a363ded5
commit 74c8490acd
4 changed files with 7 additions and 0 deletions

View file

@ -81,6 +81,7 @@ private:
class PageClient {
public:
virtual bool is_multi_process() const = 0;
virtual Gfx::Palette palette() const = 0;
virtual void page_did_set_document_in_main_frame(DOM::Document*) { }
virtual void page_did_change_title(const String&) { }