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
commit abf7c02acb
Notes: sideshowbarker 2024-07-18 22:27:15 +09:00
4 changed files with 11 additions and 3 deletions

View file

@ -105,6 +105,7 @@ public:
virtual void page_did_layout() { }
virtual void page_did_request_scroll_into_view(const Gfx::IntRect&) { }
virtual void page_did_request_alert(const String&) { }
virtual bool page_did_request_confirm(const String&) { return false; }
};
}