mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 00:37:34 +00:00
AK+Everywhere: Rename String to DeprecatedString
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
This commit is contained in:
parent
f74251606d
commit
6e19ab2bbc
2006 changed files with 11635 additions and 11636 deletions
|
@ -19,8 +19,8 @@ class HTMLAnchorElement final
|
|||
public:
|
||||
virtual ~HTMLAnchorElement() override;
|
||||
|
||||
String target() const { return attribute(HTML::AttributeNames::target); }
|
||||
String download() const { return attribute(HTML::AttributeNames::download); }
|
||||
DeprecatedString target() const { return attribute(HTML::AttributeNames::target); }
|
||||
DeprecatedString download() const { return attribute(HTML::AttributeNames::download); }
|
||||
|
||||
// ^EventTarget
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#the-tabindex-attribute:the-a-element
|
||||
|
@ -34,16 +34,16 @@ private:
|
|||
void run_activation_behavior(Web::DOM::Event const&);
|
||||
|
||||
// ^DOM::Element
|
||||
virtual void parse_attribute(FlyString const& name, String const& value) override;
|
||||
virtual void parse_attribute(FlyString const& name, DeprecatedString const& value) override;
|
||||
virtual i32 default_tab_index_value() const override;
|
||||
|
||||
// ^HTML::HTMLHyperlinkElementUtils
|
||||
virtual DOM::Document& hyperlink_element_utils_document() override { return document(); }
|
||||
virtual String hyperlink_element_utils_href() const override;
|
||||
virtual void set_hyperlink_element_utils_href(String) override;
|
||||
virtual DeprecatedString hyperlink_element_utils_href() const override;
|
||||
virtual void set_hyperlink_element_utils_href(DeprecatedString) override;
|
||||
virtual bool hyperlink_element_utils_is_html_anchor_element() const final { return true; }
|
||||
virtual bool hyperlink_element_utils_is_connected() const final { return is_connected(); }
|
||||
virtual String hyperlink_element_utils_target() const final { return target(); }
|
||||
virtual DeprecatedString hyperlink_element_utils_target() const final { return target(); }
|
||||
virtual void hyperlink_element_utils_queue_an_element_task(HTML::Task::Source source, Function<void()> steps) override
|
||||
{
|
||||
queue_an_element_task(source, move(steps));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue