mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 02:38:59 +00:00
Browser: Display full UserAgent string in status bar on menu hover
This uses the new on_action_enter & on_action_leave APIs to display the full useragent string when hovering over one of the useragent spoof menu options.
This commit is contained in:
parent
b937ebd121
commit
47dba83d30
Notes:
sideshowbarker
2024-07-18 19:29:29 +09:00
Author: https://github.com/IdanHo
Commit: 47dba83d30
Pull-request: https://github.com/SerenityOS/serenity/pull/6426
3 changed files with 43 additions and 2 deletions
|
@ -67,6 +67,9 @@ public:
|
|||
void did_become_active();
|
||||
void context_menu_requested(const Gfx::IntPoint& screen_position);
|
||||
|
||||
void action_entered(GUI::Action&);
|
||||
void action_left(GUI::Action&);
|
||||
|
||||
Function<void(String)> on_title_change;
|
||||
Function<void(const URL&)> on_tab_open_request;
|
||||
Function<void(Tab&)> on_tab_close_request;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue