mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
Browser: Convert BookmarksBarWidget
to use failable functions
This commit is contained in:
parent
bedb370dec
commit
2df0eeaa20
4 changed files with 58 additions and 57 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue