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

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

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline test Created 6 years, 11 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
« no previous file with comments | « Source/core/svg/SVGDefsElement.h ('k') | Source/core/svg/SVGDefsElement.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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 10 matching lines...) Expand all
21 #include "config.h" 21 #include "config.h"
22 22
23 #include "core/svg/SVGDefsElement.h" 23 #include "core/svg/SVGDefsElement.h"
24 24
25 #include "SVGNames.h" 25 #include "SVGNames.h"
26 #include "core/rendering/svg/RenderSVGHiddenContainer.h" 26 #include "core/rendering/svg/RenderSVGHiddenContainer.h"
27 27
28 namespace WebCore { 28 namespace WebCore {
29 29
30 // Animated property definitions 30 // Animated property definitions
31 DEFINE_ANIMATED_BOOLEAN(SVGDefsElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired)
32 31
33 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGDefsElement) 32 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGDefsElement)
34 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
35 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement) 33 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement)
36 END_REGISTER_ANIMATED_PROPERTIES 34 END_REGISTER_ANIMATED_PROPERTIES
37 35
38 inline SVGDefsElement::SVGDefsElement(Document& document) 36 inline SVGDefsElement::SVGDefsElement(Document& document)
39 : SVGGraphicsElement(SVGNames::defsTag, document) 37 : SVGGraphicsElement(SVGNames::defsTag, document)
40 { 38 {
41 ScriptWrappable::init(this); 39 ScriptWrappable::init(this);
42 registerAnimatedPropertiesForSVGDefsElement(); 40 registerAnimatedPropertiesForSVGDefsElement();
43 } 41 }
44 42
45 PassRefPtr<SVGDefsElement> SVGDefsElement::create(Document& document) 43 PassRefPtr<SVGDefsElement> SVGDefsElement::create(Document& document)
46 { 44 {
47 return adoptRef(new SVGDefsElement(document)); 45 return adoptRef(new SVGDefsElement(document));
48 } 46 }
49 47
50 bool SVGDefsElement::isValid() const 48 bool SVGDefsElement::isValid() const
51 { 49 {
52 return SVGTests::isValid(); 50 return SVGTests::isValid();
53 } 51 }
54 52
55 RenderObject* SVGDefsElement::createRenderer(RenderStyle*) 53 RenderObject* SVGDefsElement::createRenderer(RenderStyle*)
56 { 54 {
57 return new RenderSVGHiddenContainer(this); 55 return new RenderSVGHiddenContainer(this);
58 } 56 }
59 57
60 } 58 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGDefsElement.h ('k') | Source/core/svg/SVGDefsElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698