mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +00:00
Ladybird+LibWeb: Add basic select element support
This commit is contained in:
parent
b439431488
commit
466153e680
28 changed files with 641 additions and 4 deletions
|
@ -404,6 +404,11 @@ void PageClient::color_picker_closed(Optional<Color> picked_color)
|
|||
page().color_picker_closed(picked_color);
|
||||
}
|
||||
|
||||
void PageClient::select_dropdown_closed(Optional<String> value)
|
||||
{
|
||||
page().select_dropdown_closed(value);
|
||||
}
|
||||
|
||||
Web::WebIDL::ExceptionOr<void> PageClient::toggle_media_play_state()
|
||||
{
|
||||
return page().toggle_media_play_state();
|
||||
|
@ -504,6 +509,11 @@ void PageClient::page_did_request_color_picker(Color current_color)
|
|||
client().async_did_request_color_picker(current_color);
|
||||
}
|
||||
|
||||
void PageClient::page_did_request_select_dropdown(Gfx::IntPoint content_position, i32 minimum_width, Vector<Web::HTML::SelectItem> items)
|
||||
{
|
||||
client().async_did_request_select_dropdown(content_position, minimum_width, items);
|
||||
}
|
||||
|
||||
void PageClient::page_did_change_theme_color(Gfx::Color color)
|
||||
{
|
||||
client().async_did_change_theme_color(color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue