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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a crashers (everything is building!) Created 5 years, 10 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, 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 private: 124 private:
125 explicit SVGSVGElement(Document&); 125 explicit SVGSVGElement(Document&);
126 virtual ~SVGSVGElement(); 126 virtual ~SVGSVGElement();
127 127
128 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 128 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
129 virtual bool isPresentationAttribute(const QualifiedName&) const override; 129 virtual bool isPresentationAttribute(const QualifiedName&) const override;
130 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) override; 130 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) override;
131 131
132 virtual bool rendererIsNeeded(const RenderStyle&) override; 132 virtual bool rendererIsNeeded(const RenderStyle&) override;
133 virtual RenderObject* createRenderer(RenderStyle*) override; 133 virtual RenderObject* createRenderer(const RenderStyle*) override;
134 134
135 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 135 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
136 virtual void removedFrom(ContainerNode*) override; 136 virtual void removedFrom(ContainerNode*) override;
137 137
138 virtual void svgAttributeChanged(const QualifiedName&) override; 138 virtual void svgAttributeChanged(const QualifiedName&) override;
139 139
140 virtual bool selfHasRelativeLengths() const override; 140 virtual bool selfHasRelativeLengths() const override;
141 141
142 void inheritViewAttributes(SVGViewElement*); 142 void inheritViewAttributes(SVGViewElement*);
143 143
(...skipping 20 matching lines...) Expand all
164 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; 164 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer;
165 RefPtrWillBeMember<SVGPoint> m_translation; 165 RefPtrWillBeMember<SVGPoint> m_translation;
166 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; 166 RefPtrWillBeMember<SVGViewSpec> m_viewSpec;
167 167
168 friend class SVGCurrentTranslateTearOff; 168 friend class SVGCurrentTranslateTearOff;
169 }; 169 };
170 170
171 } // namespace blink 171 } // namespace blink
172 172
173 #endif // SVGSVGElement_h 173 #endif // SVGSVGElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698