1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

LibWeb: Move window.confirm() to using a PageClient callback

This allows us to move the GUI::MessageBox out of DOM::Window and up to
the widget layer.
This commit is contained in:
Andreas Kling 2021-02-10 08:37:13 +01:00
parent 794ebb699c
commit abf7c02acb
4 changed files with 11 additions and 3 deletions

View file

@ -106,6 +106,7 @@ private:
virtual void page_did_layout() override;
virtual void page_did_request_scroll_into_view(const Gfx::IntRect&) override;
virtual void page_did_request_alert(const String&) override;
virtual bool page_did_request_confirm(const String&) override;
void layout_and_sync_size();