mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 04:39:10 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
Notes:
sideshowbarker
2024-07-18 01:17:49 +09:00
Author: https://github.com/awesomekling
Commit: 8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -66,10 +66,10 @@ public:
|
|||
|
||||
void launch(URL const&, LauncherHandler const&) const;
|
||||
|
||||
Function<void(StringView const& path, bool can_read_in_path, bool can_write_in_path)> on_path_change;
|
||||
Function<void(StringView path, bool can_read_in_path, bool can_write_in_path)> on_path_change;
|
||||
Function<void(GUI::AbstractView&)> on_selection_change;
|
||||
Function<void(GUI::ModelIndex const&, GUI::ContextMenuEvent const&)> on_context_menu_request;
|
||||
Function<void(StringView const&)> on_status_message;
|
||||
Function<void(StringView)> on_status_message;
|
||||
Function<void(int done, int total)> on_thumbnail_progress;
|
||||
Function<void()> on_accepted_drop;
|
||||
|
||||
|
@ -156,7 +156,7 @@ private:
|
|||
|
||||
void handle_activation(GUI::ModelIndex const&);
|
||||
|
||||
void set_status_message(StringView const&);
|
||||
void set_status_message(StringView);
|
||||
void update_statusbar();
|
||||
|
||||
Mode m_mode { Mode::Normal };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue