mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
LibWeb: Port HTMLAreaElement interface from DeprecatedString to String
Which required HTMLHyperlinkElementUtils to also be changed to support this.
This commit is contained in:
parent
57d8b0ec73
commit
de07fb5132
Notes:
sideshowbarker
2024-07-16 23:34:44 +09:00
Author: https://github.com/shannonbooth
Commit: de07fb5132
Pull-request: https://github.com/SerenityOS/serenity/pull/20926
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/trflynn89 ✅
3 changed files with 22 additions and 22 deletions
|
@ -20,34 +20,34 @@ public:
|
|||
DeprecatedString origin() const;
|
||||
|
||||
DeprecatedString href() const;
|
||||
WebIDL::ExceptionOr<void> set_href(DeprecatedString);
|
||||
WebIDL::ExceptionOr<void> set_href(StringView);
|
||||
|
||||
DeprecatedString protocol() const;
|
||||
void set_protocol(DeprecatedString);
|
||||
void set_protocol(StringView);
|
||||
|
||||
DeprecatedString username() const;
|
||||
void set_username(DeprecatedString);
|
||||
void set_username(StringView);
|
||||
|
||||
DeprecatedString password() const;
|
||||
void set_password(DeprecatedString);
|
||||
void set_password(StringView);
|
||||
|
||||
DeprecatedString host() const;
|
||||
void set_host(DeprecatedString);
|
||||
void set_host(StringView);
|
||||
|
||||
DeprecatedString hostname() const;
|
||||
void set_hostname(DeprecatedString);
|
||||
void set_hostname(StringView);
|
||||
|
||||
DeprecatedString port() const;
|
||||
void set_port(DeprecatedString);
|
||||
void set_port(StringView);
|
||||
|
||||
DeprecatedString pathname() const;
|
||||
void set_pathname(DeprecatedString);
|
||||
void set_pathname(StringView);
|
||||
|
||||
DeprecatedString search() const;
|
||||
void set_search(DeprecatedString);
|
||||
void set_search(StringView);
|
||||
|
||||
DeprecatedString hash() const;
|
||||
void set_hash(DeprecatedString);
|
||||
void set_hash(StringView);
|
||||
|
||||
protected:
|
||||
virtual DOM::Document& hyperlink_element_utils_document() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue