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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGForeignObjectElement.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) 2006 Apple Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 25 matching lines...) Expand all
36 SVGAnimatedLength* x() const { return m_x.get(); } 36 SVGAnimatedLength* x() const { return m_x.get(); }
37 SVGAnimatedLength* y() const { return m_y.get(); } 37 SVGAnimatedLength* y() const { return m_y.get(); }
38 SVGAnimatedLength* width() const { return m_width.get(); } 38 SVGAnimatedLength* width() const { return m_width.get(); }
39 SVGAnimatedLength* height() const { return m_height.get(); } 39 SVGAnimatedLength* height() const { return m_height.get(); }
40 40
41 DECLARE_VIRTUAL_TRACE(); 41 DECLARE_VIRTUAL_TRACE();
42 42
43 private: 43 private:
44 explicit SVGForeignObjectElement(Document&); 44 explicit SVGForeignObjectElement(Document&);
45 45
46 bool isPresentationAttribute(const QualifiedName&) const override;
47 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override;
48 void collectStyleForPresentationAttribute(const QualifiedName&, 46 void collectStyleForPresentationAttribute(const QualifiedName&,
49 const AtomicString&, 47 const AtomicString&,
50 MutableStylePropertySet*) override; 48 MutableStylePropertySet*) override;
51 void svgAttributeChanged(const QualifiedName&) override; 49 void svgAttributeChanged(const QualifiedName&) override;
52 50
53 bool layoutObjectIsNeeded(const ComputedStyle&) override; 51 bool layoutObjectIsNeeded(const ComputedStyle&) override;
54 LayoutObject* createLayoutObject(const ComputedStyle&) override; 52 LayoutObject* createLayoutObject(const ComputedStyle&) override;
55 53
56 bool selfHasRelativeLengths() const override; 54 bool selfHasRelativeLengths() const override;
57 55
58 Member<SVGAnimatedLength> m_x; 56 Member<SVGAnimatedLength> m_x;
59 Member<SVGAnimatedLength> m_y; 57 Member<SVGAnimatedLength> m_y;
60 Member<SVGAnimatedLength> m_width; 58 Member<SVGAnimatedLength> m_width;
61 Member<SVGAnimatedLength> m_height; 59 Member<SVGAnimatedLength> m_height;
62 }; 60 };
63 61
64 } // namespace blink 62 } // namespace blink
65 63
66 #endif // SVGForeignObjectElement_h 64 #endif // SVGForeignObjectElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698