summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Page/Page.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-30 23:15:40 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-30 23:16:41 +0100
commit74c8490acd9fa1c0687804f30e2f1ec336442c4d (patch)
tree86ae4d3245d8fdf613cd819176e98fd176e6b319 /Userland/Libraries/LibWeb/Page/Page.h
parent32a363ded50e8c45ec3b5005a63a655c5ca4e08b (diff)
downloadserenity-74c8490acd9fa1c0687804f30e2f1ec336442c4d.zip
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.)
Diffstat (limited to 'Userland/Libraries/LibWeb/Page/Page.h')
-rw-r--r--Userland/Libraries/LibWeb/Page/Page.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Page/Page.h b/Userland/Libraries/LibWeb/Page/Page.h
index 5d7325d283..375bc3c75f 100644
--- a/Userland/Libraries/LibWeb/Page/Page.h
+++ b/Userland/Libraries/LibWeb/Page/Page.h
@@ -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&) { }