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

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

Issue 669153002: Relocate markForLayoutAndParentResourceInvalidation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove accidental FIXME. Created 6 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 | Annotate | Revision Log
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, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 protected: 72 protected:
73 SVGGraphicsElement(const QualifiedName&, Document&, ConstructionType = Creat eSVGElement); 73 SVGGraphicsElement(const QualifiedName&, Document&, ConstructionType = Creat eSVGElement);
74 74
75 virtual bool supportsFocus() const override { return Element::supportsFocus( ) || hasFocusEventListeners(); } 75 virtual bool supportsFocus() const override { return Element::supportsFocus( ) || hasFocusEventListeners(); }
76 76
77 bool isSupportedAttribute(const QualifiedName&); 77 bool isSupportedAttribute(const QualifiedName&);
78 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 78 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
79 virtual void svgAttributeChanged(const QualifiedName&) override; 79 virtual void svgAttributeChanged(const QualifiedName&) override;
80 80
81 static void boundsChanged(RenderObject*);
pdr. 2014/10/22 17:42:12 I don't understand the advantage of this over just
fs 2014/10/23 09:15:29 Nothing really, I was toying around/probing the sp
82
81 RefPtr<SVGAnimatedTransformList> m_transform; 83 RefPtr<SVGAnimatedTransformList> m_transform;
82 84
83 private: 85 private:
84 virtual bool isSVGGraphicsElement() const override final { return true; } 86 virtual bool isSVGGraphicsElement() const override final { return true; }
85 }; 87 };
86 88
87 inline bool isSVGGraphicsElement(const SVGElement& element) 89 inline bool isSVGGraphicsElement(const SVGElement& element)
88 { 90 {
89 return element.isSVGGraphicsElement(); 91 return element.isSVGGraphicsElement();
90 } 92 }
91 93
92 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); 94 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement);
93 95
94 } // namespace blink 96 } // namespace blink
95 97
96 #endif // SVGGraphicsElement_h 98 #endif // SVGGraphicsElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698