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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGElement.cpp

Issue 1420553004: SVG Web Animations: Add compositing pipeline for SVGInterpolationTypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_svgValueInterpolationType
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 Apple Inc. All rights reserved.
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com>
6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 { 228 {
229 return hasSVGRareData() && svgRareData()->instanceUpdatesBlocked(); 229 return hasSVGRareData() && svgRareData()->instanceUpdatesBlocked();
230 } 230 }
231 231
232 void SVGElement::setInstanceUpdatesBlocked(bool value) 232 void SVGElement::setInstanceUpdatesBlocked(bool value)
233 { 233 {
234 if (hasSVGRareData()) 234 if (hasSVGRareData())
235 svgRareData()->setInstanceUpdatesBlocked(value); 235 svgRareData()->setInstanceUpdatesBlocked(value);
236 } 236 }
237 237
238 void SVGElement::setWebAnimationsPending()
239 {
240 document().accessSVGExtensions().addPendingWebAnimatedSVGElement(*this);
241 }
242
238 AffineTransform SVGElement::localCoordinateSpaceTransform(CTMScope) const 243 AffineTransform SVGElement::localCoordinateSpaceTransform(CTMScope) const
239 { 244 {
240 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement and SVGPatternElement) 245 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement and SVGPatternElement)
241 return AffineTransform(); 246 return AffineTransform();
242 } 247 }
243 248
244 Node::InsertionNotificationRequest SVGElement::insertedInto(ContainerNode* rootP arent) 249 Node::InsertionNotificationRequest SVGElement::insertedInto(ContainerNode* rootP arent)
245 { 250 {
246 Element::insertedInto(rootParent); 251 Element::insertedInto(rootParent);
247 updateRelativeLengthsInformation(); 252 updateRelativeLengthsInformation();
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 Element::trace(visitor); 1161 Element::trace(visitor);
1157 } 1162 }
1158 1163
1159 const AtomicString& SVGElement::eventParameterName() 1164 const AtomicString& SVGElement::eventParameterName()
1160 { 1165 {
1161 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con structFromLiteral)); 1166 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con structFromLiteral));
1162 return evtString; 1167 return evtString;
1163 } 1168 }
1164 1169
1165 } // namespace blink 1170 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698