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

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

Issue 17608010: Remove SVGLangSpace IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGElement.idl » ('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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 else if (name == onmouseoverAttr) 327 else if (name == onmouseoverAttr)
328 setAttributeEventListener(eventNames().mouseoverEvent, createAttributeEv entListener(this, name, value)); 328 setAttributeEventListener(eventNames().mouseoverEvent, createAttributeEv entListener(this, name, value));
329 else if (name == onmouseupAttr) 329 else if (name == onmouseupAttr)
330 setAttributeEventListener(eventNames().mouseupEvent, createAttributeEven tListener(this, name, value)); 330 setAttributeEventListener(eventNames().mouseupEvent, createAttributeEven tListener(this, name, value));
331 else if (name == SVGNames::onfocusinAttr) 331 else if (name == SVGNames::onfocusinAttr)
332 setAttributeEventListener(eventNames().focusinEvent, createAttributeEven tListener(this, name, value)); 332 setAttributeEventListener(eventNames().focusinEvent, createAttributeEven tListener(this, name, value));
333 else if (name == SVGNames::onfocusoutAttr) 333 else if (name == SVGNames::onfocusoutAttr)
334 setAttributeEventListener(eventNames().focusoutEvent, createAttributeEve ntListener(this, name, value)); 334 setAttributeEventListener(eventNames().focusoutEvent, createAttributeEve ntListener(this, name, value));
335 else if (name == SVGNames::onactivateAttr) 335 else if (name == SVGNames::onactivateAttr)
336 setAttributeEventListener(eventNames().DOMActivateEvent, createAttribute EventListener(this, name, value)); 336 setAttributeEventListener(eventNames().DOMActivateEvent, createAttribute EventListener(this, name, value));
337 else 337 else if (SVGLangSpace::parseAttribute(name, value)) {
338 } else
338 Element::parseAttribute(name, value); 339 Element::parseAttribute(name, value);
339 } 340 }
340 341
341 void SVGElement::animatedPropertyTypeForAttribute(const QualifiedName& attribute Name, Vector<AnimatedPropertyType>& propertyTypes) 342 void SVGElement::animatedPropertyTypeForAttribute(const QualifiedName& attribute Name, Vector<AnimatedPropertyType>& propertyTypes)
342 { 343 {
343 localAttributeToPropertyMap().animatedPropertyTypeForAttribute(attributeName , propertyTypes); 344 localAttributeToPropertyMap().animatedPropertyTypeForAttribute(attributeName , propertyTypes);
344 } 345 }
345 346
346 bool SVGElement::haveLoadedRequiredResources() 347 bool SVGElement::haveLoadedRequiredResources()
347 { 348 {
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 } 732 }
732 733
733 if (name == classAttr) 734 if (name == classAttr)
734 return isSVGStyledElement(); 735 return isSVGStyledElement();
735 736
736 return animatableAttributes.contains(name); 737 return animatableAttributes.contains(name);
737 } 738 }
738 #endif 739 #endif
739 740
740 } 741 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698