mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Implement HTMLDialogElement::show()
This commit is contained in:
parent
8042558805
commit
151cd11b5b
Notes:
sideshowbarker
2024-07-17 10:16:43 +09:00
Author: https://github.com/tcl3
Commit: 151cd11b5b
Pull-request: https://github.com/SerenityOS/serenity/pull/23188
Reviewed-by: https://github.com/trflynn89 ✅
4 changed files with 51 additions and 3 deletions
|
@ -21,7 +21,7 @@ public:
|
|||
String return_value() const;
|
||||
void set_return_value(String);
|
||||
|
||||
void show();
|
||||
WebIDL::ExceptionOr<void> show();
|
||||
void show_modal();
|
||||
void close(Optional<String> return_value);
|
||||
|
||||
|
@ -35,6 +35,8 @@ private:
|
|||
|
||||
void close_the_dialog(Optional<String> result);
|
||||
|
||||
void run_dialog_focusing_steps();
|
||||
|
||||
String m_return_value;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue