Chromium Code Reviews| Index: Source/core/html/HTMLAnchorElement.h |
| diff --git a/Source/core/html/HTMLAnchorElement.h b/Source/core/html/HTMLAnchorElement.h |
| index cb5125e32fdd92b9545c01c20ee491817bca2852..e6923ed7a8cdc9b5cccab4d13cf157e6b92ab519 100644 |
| --- a/Source/core/html/HTMLAnchorElement.h |
| +++ b/Source/core/html/HTMLAnchorElement.h |
| @@ -25,6 +25,7 @@ |
| #define HTMLAnchorElement_h |
| #include "HTMLNames.h" |
| +#include "core/html/DOMURLUtils.h" |
| #include "core/html/HTMLElement.h" |
| #include "platform/LinkHash.h" |
| @@ -53,7 +54,7 @@ enum { |
| // RelationUp = 0x00020000, |
| }; |
| -class HTMLAnchorElement : public HTMLElement { |
| +class HTMLAnchorElement : public HTMLElement, public DOMURLUtils { |
| public: |
| static PassRefPtr<HTMLAnchorElement> create(Document&); |
| static PassRefPtr<HTMLAnchorElement> create(const QualifiedName&, Document&); |
| @@ -65,33 +66,14 @@ public: |
| const AtomicString& name() const; |
| - String hash() const; |
| - void setHash(const String&); |
| + virtual KURL url() const; |
| + virtual void setURL(const KURL&); |
| - String host() const; |
| - void setHost(const String&); |
| - |
| - String hostname() const; |
| - void setHostname(const String&); |
| - |
| - String pathname() const; |
| - void setPathname(const String&); |
| - |
| - String port() const; |
| - void setPort(const String&); |
| - |
| - String protocol() const; |
| - void setProtocol(const String&); |
| - |
| - String search() const; |
| - void setSearch(const String&); |
| - |
| - String origin() const; |
| + virtual String input() const; |
| + virtual void setInput(const String&); |
|
abarth-chromium
2013/10/10 04:17:34
OVERRIDE
arv (Not doing code reviews)
2013/10/10 13:03:13
Done.
|
| String text(); |
| - String toString() const; |
| - |
| bool isLiveLink() const; |
| virtual bool willRespondToMouseClickEvents() OVERRIDE; |