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

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

Issue 1015743003: [svg] Make svgView override existing data selectively (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: codereview fixes Created 5 years, 9 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
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 virtual bool layoutObjectIsNeeded(const LayoutStyle&) override; 134 virtual bool layoutObjectIsNeeded(const LayoutStyle&) override;
135 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; 135 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override;
136 136
137 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 137 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
138 virtual void removedFrom(ContainerNode*) override; 138 virtual void removedFrom(ContainerNode*) override;
139 139
140 virtual void svgAttributeChanged(const QualifiedName&) override; 140 virtual void svgAttributeChanged(const QualifiedName&) override;
141 141
142 virtual bool selfHasRelativeLengths() const override; 142 virtual bool selfHasRelativeLengths() const override;
143 143
144 void inheritViewAttributes(SVGViewElement*);
145
146 void updateCurrentTranslate(); 144 void updateCurrentTranslate();
147 145
148 virtual void finishParsingChildren() override; 146 virtual void finishParsingChildren() override;
149 147
150 enum CheckIntersectionOrEnclosure { 148 enum CheckIntersectionOrEnclosure {
151 CheckIntersection, 149 CheckIntersection,
152 CheckEnclosure 150 CheckEnclosure
153 }; 151 };
154 152
155 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check IntersectionOrEnclosure) const; 153 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check IntersectionOrEnclosure) const;
(...skipping 10 matching lines...) Expand all
166 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; 164 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer;
167 RefPtrWillBeMember<SVGPoint> m_translation; 165 RefPtrWillBeMember<SVGPoint> m_translation;
168 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; 166 RefPtrWillBeMember<SVGViewSpec> m_viewSpec;
169 167
170 friend class SVGCurrentTranslateTearOff; 168 friend class SVGCurrentTranslateTearOff;
171 }; 169 };
172 170
173 } // namespace blink 171 } // namespace blink
174 172
175 #endif // SVGSVGElement_h 173 #endif // SVGSVGElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698