mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +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
|
@ -384,6 +384,12 @@ void WebContentClient::did_request_color_picker(Color const& current_color)
|
|||
m_view.on_request_color_picker(current_color);
|
||||
}
|
||||
|
||||
void WebContentClient::did_request_select_dropdown(Gfx::IntPoint content_position, i32 minimum_width, Vector<Web::HTML::SelectItem> const& items)
|
||||
{
|
||||
if (m_view.on_request_select_dropdown)
|
||||
m_view.on_request_select_dropdown(content_position, minimum_width, items);
|
||||
}
|
||||
|
||||
void WebContentClient::did_finish_handling_input_event(bool event_was_accepted)
|
||||
{
|
||||
if (m_view.on_finish_handling_input_event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue