mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +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
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