1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 11:47:35 +00:00

LibWeb: Support window.alert() in multi-process context

Alerts are now delegated to the embedding GUI process.
This commit is contained in:
Andreas Kling 2020-09-12 11:56:13 +02:00
parent aba793fb3e
commit d9e39cb82d
11 changed files with 33 additions and 2 deletions

View file

@ -60,6 +60,7 @@ private:
virtual void handle(const Messages::WebContentClient::DidStartLoading&) override;
virtual void handle(const Messages::WebContentClient::DidRequestContextMenu&) override;
virtual void handle(const Messages::WebContentClient::DidRequestLinkContextMenu&) override;
virtual OwnPtr<Messages::WebContentClient::DidRequestAlertResponse> handle(const Messages::WebContentClient::DidRequestAlert&) override;
OutOfProcessWebView& m_view;
};