mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 17:17:45 +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
|
@ -115,6 +115,8 @@ private:
|
|||
void update_status(Optional<String> text_override = {}, i32 count_waiting = 0);
|
||||
void close_sub_widgets();
|
||||
|
||||
void select_dropdown_add_item(GUI::Menu& menu, Web::HTML::SelectItem const& item);
|
||||
|
||||
WebView::History m_history;
|
||||
|
||||
RefPtr<WebView::OutOfProcessWebView> m_web_content_view;
|
||||
|
@ -155,6 +157,9 @@ private:
|
|||
RefPtr<GUI::Menu> m_go_back_context_menu;
|
||||
RefPtr<GUI::Menu> m_go_forward_context_menu;
|
||||
|
||||
RefPtr<GUI::Menu> m_select_dropdown;
|
||||
bool m_select_dropdown_closed_by_action { false };
|
||||
|
||||
DeprecatedString m_title;
|
||||
RefPtr<Gfx::Bitmap const> m_icon;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue