mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +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
|
@ -25,12 +25,12 @@ public:
|
|||
static Desktop& the();
|
||||
Desktop();
|
||||
|
||||
void set_background_color(const StringView& background_color);
|
||||
void set_background_color(StringView background_color);
|
||||
|
||||
void set_wallpaper_mode(const StringView& mode);
|
||||
void set_wallpaper_mode(StringView mode);
|
||||
|
||||
String wallpaper() const;
|
||||
bool set_wallpaper(const StringView& path, bool save_config = true);
|
||||
bool set_wallpaper(StringView path, bool save_config = true);
|
||||
|
||||
Gfx::IntRect rect() const { return m_bounding_rect; }
|
||||
const Vector<Gfx::IntRect, 4>& rects() const { return m_rects; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue