1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:27:35 +00:00

Browser: Convert BookmarksBarWidget to use failable functions

This commit is contained in:
Cameron Youell 2023-04-17 15:57:16 +10:00 committed by Andreas Kling
parent bedb370dec
commit 2df0eeaa20
4 changed files with 58 additions and 57 deletions

View file

@ -108,8 +108,8 @@ private:
BrowserWindow& window();
void update_actions();
void bookmark_current_url();
void update_bookmark_button(DeprecatedString const& url);
ErrorOr<void> bookmark_current_url();
void update_bookmark_button(StringView url);
void start_download(const URL& url);
void view_source(const URL& url, DeprecatedString const& source);
void update_status(Optional<DeprecatedString> text_override = {}, i32 count_waiting = 0);