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

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

Issue 61753005: Remove SVGLocatable and SVGTransformable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix farthestVieportElement Created 7 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
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGGradientElement.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, 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 { 303 {
304 return hasSVGRareData() && svgRareData()->instanceUpdatesBlocked(); 304 return hasSVGRareData() && svgRareData()->instanceUpdatesBlocked();
305 } 305 }
306 306
307 void SVGElement::setInstanceUpdatesBlocked(bool value) 307 void SVGElement::setInstanceUpdatesBlocked(bool value)
308 { 308 {
309 if (hasSVGRareData()) 309 if (hasSVGRareData())
310 svgRareData()->setInstanceUpdatesBlocked(value); 310 svgRareData()->setInstanceUpdatesBlocked(value);
311 } 311 }
312 312
313 AffineTransform SVGElement::localCoordinateSpaceTransform(SVGLocatable::CTMScope ) const 313 AffineTransform SVGElement::localCoordinateSpaceTransform(CTMScope) const
314 { 314 {
315 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement and SVGPatternElement) 315 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement and SVGPatternElement)
316 return AffineTransform(); 316 return AffineTransform();
317 } 317 }
318 318
319 String SVGElement::xmlbase() const 319 String SVGElement::xmlbase() const
320 { 320 {
321 return fastGetAttribute(XMLNames::baseAttr); 321 return fastGetAttribute(XMLNames::baseAttr);
322 } 322 }
323 323
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 } 1184 }
1185 1185
1186 if (name == classAttr) 1186 if (name == classAttr)
1187 return true; 1187 return true;
1188 1188
1189 return animatableAttributes.contains(name); 1189 return animatableAttributes.contains(name);
1190 } 1190 }
1191 #endif 1191 #endif
1192 1192
1193 } 1193 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698