mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
LibWeb: Implement HTMLDialogElement::show()
This commit is contained in:
parent
8042558805
commit
151cd11b5b
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