mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWebView+UI: Generate the zoom menu
This commit is contained in:
Notes:
github-actions[bot]
2025-09-11 18:24:52 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/9684e6dbc59 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6062
@@ -77,6 +77,9 @@ public:
|
||||
Action& select_all_action() { return *m_select_all_action; }
|
||||
Action& view_source_action() { return *m_view_source_action; }
|
||||
|
||||
Menu& zoom_menu() { return *m_zoom_menu; }
|
||||
Action& reset_zoom_action() { return *m_reset_zoom_action; }
|
||||
|
||||
Menu& color_scheme_menu() { return *m_color_scheme_menu; }
|
||||
Menu& contrast_menu() { return *m_contrast_menu; }
|
||||
Menu& motion_menu() { return *m_motion_menu; }
|
||||
@@ -176,6 +179,9 @@ private:
|
||||
RefPtr<Action> m_select_all_action;
|
||||
RefPtr<Action> m_view_source_action;
|
||||
|
||||
RefPtr<Menu> m_zoom_menu;
|
||||
RefPtr<Action> m_reset_zoom_action;
|
||||
|
||||
RefPtr<Menu> m_color_scheme_menu;
|
||||
Web::CSS::PreferredColorScheme m_color_scheme { Web::CSS::PreferredColorScheme::Auto };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user