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

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

Issue 11564028: Merge 136541 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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, 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 DECLARE_ANIMATED_LENGTH(Height, height) 107 DECLARE_ANIMATED_LENGTH(Height, height)
108 DECLARE_ANIMATED_STRING(Href, href) 108 DECLARE_ANIMATED_STRING(Href, href)
109 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired) 109 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
110 END_DECLARE_ANIMATED_PROPERTIES 110 END_DECLARE_ANIMATED_PROPERTIES
111 111
112 bool cachedDocumentIsStillLoading(); 112 bool cachedDocumentIsStillLoading();
113 Document* externalDocument() const; 113 Document* externalDocument() const;
114 bool instanceTreeIsLoading(SVGElementInstance*); 114 bool instanceTreeIsLoading(SVGElementInstance*);
115 virtual void notifyFinished(CachedResource*); 115 virtual void notifyFinished(CachedResource*);
116 Document* referencedDocument() const; 116 Document* referencedDocument() const;
117 void setCachedDocument(CachedResourceHandle<CachedSVGDocument>);
117 118
118 // SVGTests 119 // SVGTests
119 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); } 120 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); }
120 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); } 121 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); }
121 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); } 122 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); }
122 123
123 // SVGExternalResourcesRequired 124 // SVGExternalResourcesRequired
124 virtual void setHaveFiredLoadEvent(bool haveFiredLoadEvent) { m_haveFiredLoa dEvent = haveFiredLoadEvent; } 125 virtual void setHaveFiredLoadEvent(bool haveFiredLoadEvent) { m_haveFiredLoa dEvent = haveFiredLoadEvent; }
125 virtual bool isParserInserted() const { return m_wasInsertedByParser; } 126 virtual bool isParserInserted() const { return m_wasInsertedByParser; }
126 virtual bool haveFiredLoadEvent() const { return m_haveFiredLoadEvent; } 127 virtual bool haveFiredLoadEvent() const { return m_haveFiredLoadEvent; }
127 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; } 128 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; }
128 129
129 bool m_wasInsertedByParser; 130 bool m_wasInsertedByParser;
130 bool m_haveFiredLoadEvent; 131 bool m_haveFiredLoadEvent;
131 bool m_needsShadowTreeRecreation; 132 bool m_needsShadowTreeRecreation;
132 RefPtr<SVGElementInstance> m_targetElementInstance; 133 RefPtr<SVGElementInstance> m_targetElementInstance;
133 CachedResourceHandle<CachedSVGDocument> m_cachedDocument; 134 CachedResourceHandle<CachedSVGDocument> m_cachedDocument;
134 Timer<SVGElement> m_svgLoadEventTimer; 135 Timer<SVGElement> m_svgLoadEventTimer;
135 }; 136 };
136 137
137 } 138 }
138 139
139 #endif 140 #endif
140 #endif 141 #endif
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/use-href-update-crash-expected.txt ('k') | Source/WebCore/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698