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

Side by Side Diff: Source/core/svg/SVGUseElement.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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/SVGUnknownElement.h ('k') | Source/core/svg/SVGUseElement.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, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o verride; 63 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o verride;
64 64
65 virtual bool isStructurallyExternal() const override { return !hrefString(). isNull() && isExternalURIReference(hrefString(), document()); } 65 virtual bool isStructurallyExternal() const override { return !hrefString(). isNull() && isExternalURIReference(hrefString(), document()); }
66 66
67 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 67 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
68 virtual void removedFrom(ContainerNode*) override; 68 virtual void removedFrom(ContainerNode*) override;
69 69
70 bool isSupportedAttribute(const QualifiedName&); 70 bool isSupportedAttribute(const QualifiedName&);
71 virtual void svgAttributeChanged(const QualifiedName&) override; 71 virtual void svgAttributeChanged(const QualifiedName&) override;
72 72
73 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; 73 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
74 virtual void toClipPath(Path&) override; 74 virtual void toClipPath(Path&) override;
75 75
76 void clearResourceReferences(); 76 void clearResourceReferences();
77 void buildShadowAndInstanceTree(SVGElement* target); 77 void buildShadowAndInstanceTree(SVGElement* target);
78 78
79 void scheduleShadowTreeRecreation(); 79 void scheduleShadowTreeRecreation();
80 virtual bool haveLoadedRequiredResources() override { return !isStructurally External() || m_haveFiredLoadEvent; } 80 virtual bool haveLoadedRequiredResources() override { return !isStructurally External() || m_haveFiredLoadEvent; }
81 81
82 virtual bool selfHasRelativeLengths() const override; 82 virtual bool selfHasRelativeLengths() const override;
83 83
(...skipping 24 matching lines...) Expand all
108 bool m_haveFiredLoadEvent; 108 bool m_haveFiredLoadEvent;
109 bool m_needsShadowTreeRecreation; 109 bool m_needsShadowTreeRecreation;
110 RefPtrWillBeMember<SVGElement> m_targetElementInstance; 110 RefPtrWillBeMember<SVGElement> m_targetElementInstance;
111 ResourcePtr<DocumentResource> m_resource; 111 ResourcePtr<DocumentResource> m_resource;
112 Timer<SVGElement> m_svgLoadEventTimer; 112 Timer<SVGElement> m_svgLoadEventTimer;
113 }; 113 };
114 114
115 } // namespace blink 115 } // namespace blink
116 116
117 #endif // SVGUseElement_h 117 #endif // SVGUseElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGUnknownElement.h ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698