Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLAnchorElement.h

Issue 1396983003: Oilpan: fix build after r353261, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLAreaElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 RelationNoReferrer = 0x00001000, 52 RelationNoReferrer = 0x00001000,
53 // RelationPrev = 0x00002000, 53 // RelationPrev = 0x00002000,
54 // RelationSearch = 0x00004000, 54 // RelationSearch = 0x00004000,
55 // RelationSidebar = 0x00008000, 55 // RelationSidebar = 0x00008000,
56 // RelationTag = 0x00010000, 56 // RelationTag = 0x00010000,
57 // RelationUp = 0x00020000, 57 // RelationUp = 0x00020000,
58 }; 58 };
59 59
60 class CORE_EXPORT HTMLAnchorElement : public HTMLElement, public DOMURLUtils, pu blic DOMSettableTokenListObserver { 60 class CORE_EXPORT HTMLAnchorElement : public HTMLElement, public DOMURLUtils, pu blic DOMSettableTokenListObserver {
61 DEFINE_WRAPPERTYPEINFO(); 61 DEFINE_WRAPPERTYPEINFO();
62 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLAnchorElement);
62 public: 63 public:
63 DECLARE_VIRTUAL_TRACE();
64 static PassRefPtrWillBeRawPtr<HTMLAnchorElement> create(Document&); 64 static PassRefPtrWillBeRawPtr<HTMLAnchorElement> create(Document&);
65 65
66 ~HTMLAnchorElement() override; 66 ~HTMLAnchorElement() override;
67 67
68 KURL href() const; 68 KURL href() const;
69 void setHref(const AtomicString&); 69 void setHref(const AtomicString&);
70 70
71 const AtomicString& name() const; 71 const AtomicString& name() const;
72 72
73 KURL url() const final; 73 KURL url() const final;
74 void setURL(const KURL&) final; 74 void setURL(const KURL&) final;
75 75
76 String input() const final; 76 String input() const final;
77 void setInput(const String&) final; 77 void setInput(const String&) final;
78 78
79 bool isLiveLink() const final; 79 bool isLiveLink() const final;
80 80
81 bool willRespondToMouseClickEvents() final; 81 bool willRespondToMouseClickEvents() final;
82 82
83 bool hasRel(uint32_t relation) const; 83 bool hasRel(uint32_t relation) const;
84 void setRel(const AtomicString&); 84 void setRel(const AtomicString&);
85 85
86 LinkHash visitedLinkHash() const; 86 LinkHash visitedLinkHash() const;
87 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } 87 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; }
88 88
89 void sendPings(const KURL& destinationURL) const; 89 void sendPings(const KURL& destinationURL) const;
90 90
91 DOMSettableTokenList* ping(); 91 DOMSettableTokenList* ping();
92 92
93 DECLARE_VIRTUAL_TRACE();
94
93 protected: 95 protected:
94 HTMLAnchorElement(const QualifiedName&, Document&); 96 HTMLAnchorElement(const QualifiedName&, Document&);
95 97
96 void attributeWillChange(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue) override; 98 void attributeWillChange(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue) override;
97 void parseAttribute(const QualifiedName&, const AtomicString&) override; 99 void parseAttribute(const QualifiedName&, const AtomicString&) override;
98 bool supportsFocus() const override; 100 bool supportsFocus() const override;
99 101
100 private: 102 private:
101 bool shouldHaveFocusAppearance() const final; 103 bool shouldHaveFocusAppearance() const final;
102 void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType, InputDevic eCapabilities* sourceCapabilities) override; 104 void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType, InputDevic eCapabilities* sourceCapabilities) override;
(...skipping 29 matching lines...) Expand all
132 } 134 }
133 135
134 // Functions shared with the other anchor elements (i.e., SVG). 136 // Functions shared with the other anchor elements (i.e., SVG).
135 137
136 bool isEnterKeyKeydownEvent(Event*); 138 bool isEnterKeyKeydownEvent(Event*);
137 bool isLinkClick(Event*); 139 bool isLinkClick(Event*);
138 140
139 } // namespace blink 141 } // namespace blink
140 142
141 #endif // HTMLAnchorElement_h 143 #endif // HTMLAnchorElement_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLAreaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698