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

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

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool isLiveLink() const; 95 bool isLiveLink() const;
96 96
97 virtual bool willRespondToMouseClickEvents() OVERRIDE; 97 virtual bool willRespondToMouseClickEvents() OVERRIDE;
98 98
99 bool hasRel(uint32_t relation) const; 99 bool hasRel(uint32_t relation) const;
100 void setRel(const String&); 100 void setRel(const String&);
101 101
102 LinkHash visitedLinkHash() const; 102 LinkHash visitedLinkHash() const;
103 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } 103 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; }
104 104
105 virtual void acceptHeapVisitor(Visitor* visitor) const { HTMLElement::accept HeapVisitor(visitor); }
106
107 protected: 105 protected:
108 HTMLAnchorElement(const QualifiedName&, Handle<Document>); 106 HTMLAnchorElement(const QualifiedName&, Handle<Document>);
109 107
110 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 108 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
111 109
110 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE;
111
112 private: 112 private:
113 virtual bool supportsFocus() const; 113 virtual bool supportsFocus() const;
114 virtual bool isMouseFocusable() const; 114 virtual bool isMouseFocusable() const;
115 virtual bool isKeyboardFocusable(KeyboardEvent*) const; 115 virtual bool isKeyboardFocusable(KeyboardEvent*) const;
116 virtual void defaultEventHandler(Event*); 116 virtual void defaultEventHandler(Event*);
117 virtual void setActive(bool active = true, bool pause = false); 117 virtual void setActive(bool active = true, bool pause = false);
118 virtual void accessKeyAction(bool sendMouseEvents); 118 virtual void accessKeyAction(bool sendMouseEvents);
119 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 119 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
120 virtual bool canStartSelection() const; 120 virtual bool canStartSelection() const;
121 virtual String target() const; 121 virtual String target() const;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 } 156 }
157 157
158 // Functions shared with the other anchor elements (i.e., SVG). 158 // Functions shared with the other anchor elements (i.e., SVG).
159 159
160 bool isEnterKeyKeydownEvent(Event*); 160 bool isEnterKeyKeydownEvent(Event*);
161 bool isLinkClick(Event*); 161 bool isLinkClick(Event*);
162 162
163 } // namespace WebCore 163 } // namespace WebCore
164 164
165 #endif // HTMLAnchorElement_h 165 #endif // HTMLAnchorElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698