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

Side by Side Diff: Source/core/svg/SVGAElement.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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
« no previous file with comments | « Source/core/svg/RadialGradientAttributes.h ('k') | Source/core/svg/SVGAElement.cpp » ('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) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 13 matching lines...) Expand all
24 24
25 #include "core/svg/SVGAnimatedBoolean.h" 25 #include "core/svg/SVGAnimatedBoolean.h"
26 #include "core/svg/SVGGraphicsElement.h" 26 #include "core/svg/SVGGraphicsElement.h"
27 #include "core/svg/SVGURIReference.h" 27 #include "core/svg/SVGURIReference.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 class SVGAElement final : public SVGGraphicsElement, 31 class SVGAElement final : public SVGGraphicsElement,
32 public SVGURIReference { 32 public SVGURIReference {
33 DEFINE_WRAPPERTYPEINFO(); 33 DEFINE_WRAPPERTYPEINFO();
34 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGAElement);
34 public: 35 public:
35 DECLARE_NODE_FACTORY(SVGAElement); 36 DECLARE_NODE_FACTORY(SVGAElement);
36 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); } 37 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); }
37 38
39 virtual void trace(Visitor*) override;
40
38 private: 41 private:
39 explicit SVGAElement(Document&); 42 explicit SVGAElement(Document&);
40 43
41 virtual String title() const override; 44 virtual String title() const override;
42 45
43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 46 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
44 virtual void svgAttributeChanged(const QualifiedName&) override; 47 virtual void svgAttributeChanged(const QualifiedName&) override;
45 48
46 virtual RenderObject* createRenderer(RenderStyle*) override; 49 virtual RenderObject* createRenderer(RenderStyle*) override;
47 50
48 virtual void defaultEventHandler(Event*) override; 51 virtual void defaultEventHandler(Event*) override;
49 52
50 virtual bool isLiveLink() const override { return isLink(); } 53 virtual bool isLiveLink() const override { return isLink(); }
51 54
52 virtual bool supportsFocus() const override; 55 virtual bool supportsFocus() const override;
53 virtual bool shouldHaveFocusAppearance() const override final; 56 virtual bool shouldHaveFocusAppearance() const override final;
54 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) overr ide; 57 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) overr ide;
55 virtual bool isMouseFocusable() const override; 58 virtual bool isMouseFocusable() const override;
56 virtual bool isKeyboardFocusable() const override; 59 virtual bool isKeyboardFocusable() const override;
57 virtual bool isURLAttribute(const Attribute&) const override; 60 virtual bool isURLAttribute(const Attribute&) const override;
58 virtual bool canStartSelection() const override; 61 virtual bool canStartSelection() const override;
59 virtual short tabIndex() const override; 62 virtual short tabIndex() const override;
60 63
61 virtual bool willRespondToMouseClickEvents() override; 64 virtual bool willRespondToMouseClickEvents() override;
62 65
63 RefPtr<SVGAnimatedString> m_svgTarget; 66 RefPtrWillBeMember<SVGAnimatedString> m_svgTarget;
64 bool m_wasFocusedByMouse; 67 bool m_wasFocusedByMouse;
65 }; 68 };
66 69
67 } // namespace blink 70 } // namespace blink
68 71
69 #endif // SVGAElement_h 72 #endif // SVGAElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/RadialGradientAttributes.h ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698