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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGImageElement.h

Issue 2485663002: Store CSSPropertyID in SVGAnimatedPropertyBase (Closed)
Patch Set: Add missing case Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // Exposed for testing. 53 // Exposed for testing.
54 ImageResource* cachedImage() const { return imageLoader().image(); } 54 ImageResource* cachedImage() const { return imageLoader().image(); }
55 55
56 private: 56 private:
57 explicit SVGImageElement(Document&); 57 explicit SVGImageElement(Document&);
58 58
59 bool isStructurallyExternal() const override { 59 bool isStructurallyExternal() const override {
60 return !hrefString().isNull(); 60 return !hrefString().isNull();
61 } 61 }
62 62
63 bool isPresentationAttribute(const QualifiedName&) const override;
64 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override;
65 void collectStyleForPresentationAttribute(const QualifiedName&, 63 void collectStyleForPresentationAttribute(const QualifiedName&,
66 const AtomicString&, 64 const AtomicString&,
67 MutableStylePropertySet*) override; 65 MutableStylePropertySet*) override;
68 66
69 void svgAttributeChanged(const QualifiedName&) override; 67 void svgAttributeChanged(const QualifiedName&) override;
70 68
71 void attachLayoutTree(const AttachContext& = AttachContext()) override; 69 void attachLayoutTree(const AttachContext& = AttachContext()) override;
72 InsertionNotificationRequest insertedInto(ContainerNode*) override; 70 InsertionNotificationRequest insertedInto(ContainerNode*) override;
73 71
74 LayoutObject* createLayoutObject(const ComputedStyle&) override; 72 LayoutObject* createLayoutObject(const ComputedStyle&) override;
(...skipping 12 matching lines...) Expand all
87 Member<SVGAnimatedLength> m_height; 85 Member<SVGAnimatedLength> m_height;
88 Member<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; 86 Member<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio;
89 87
90 Member<SVGImageLoader> m_imageLoader; 88 Member<SVGImageLoader> m_imageLoader;
91 bool m_needsLoaderURIUpdate : 1; 89 bool m_needsLoaderURIUpdate : 1;
92 }; 90 };
93 91
94 } // namespace blink 92 } // namespace blink
95 93
96 #endif // SVGImageElement_h 94 #endif // SVGImageElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698