| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
| 5 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 // RelationSearch = 0x00004000, | 53 // RelationSearch = 0x00004000, |
| 54 // RelationSidebar = 0x00008000, | 54 // RelationSidebar = 0x00008000, |
| 55 // RelationTag = 0x00010000, | 55 // RelationTag = 0x00010000, |
| 56 // RelationUp = 0x00020000, | 56 // RelationUp = 0x00020000, |
| 57 RelationNoOpener = 0x00040000, | 57 RelationNoOpener = 0x00040000, |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 class CORE_EXPORT HTMLAnchorElement : public HTMLElement, public DOMURLUtils { | 60 class CORE_EXPORT HTMLAnchorElement : public HTMLElement, public DOMURLUtils { |
| 61 DEFINE_WRAPPERTYPEINFO(); | 61 DEFINE_WRAPPERTYPEINFO(); |
| 62 public: | 62 public: |
| 63 static PassRefPtrWillBeRawPtr<HTMLAnchorElement> create(Document&); | 63 static RawPtr<HTMLAnchorElement> create(Document&); |
| 64 | 64 |
| 65 ~HTMLAnchorElement() override; | 65 ~HTMLAnchorElement() override; |
| 66 | 66 |
| 67 KURL href() const; | 67 KURL href() const; |
| 68 void setHref(const AtomicString&); | 68 void setHref(const AtomicString&); |
| 69 | 69 |
| 70 const AtomicString& name() const; | 70 const AtomicString& name() const; |
| 71 | 71 |
| 72 KURL url() const final; | 72 KURL url() const final; |
| 73 void setURL(const KURL&) final; | 73 void setURL(const KURL&) final; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 } | 124 } |
| 125 | 125 |
| 126 // Functions shared with the other anchor elements (i.e., SVG). | 126 // Functions shared with the other anchor elements (i.e., SVG). |
| 127 | 127 |
| 128 bool isEnterKeyKeydownEvent(Event*); | 128 bool isEnterKeyKeydownEvent(Event*); |
| 129 bool isLinkClick(Event*); | 129 bool isLinkClick(Event*); |
| 130 | 130 |
| 131 } // namespace blink | 131 } // namespace blink |
| 132 | 132 |
| 133 #endif // HTMLAnchorElement_h | 133 #endif // HTMLAnchorElement_h |
| OLD | NEW |