OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2006, 2008 Nikolas Zimmermann <zimmermann@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 Loading... | |
53 | 53 |
54 static void serviceOnAnimationFrame(Document&, double monotonicAnimationStar tTime); | 54 static void serviceOnAnimationFrame(Document&, double monotonicAnimationStar tTime); |
55 | 55 |
56 void startAnimations(); | 56 void startAnimations(); |
57 void pauseAnimations(); | 57 void pauseAnimations(); |
58 void dispatchSVGLoadEventToOutermostSVGElements(); | 58 void dispatchSVGLoadEventToOutermostSVGElements(); |
59 | 59 |
60 void reportWarning(const String&); | 60 void reportWarning(const String&); |
61 void reportError(const String&); | 61 void reportError(const String&); |
62 | 62 |
63 SVGResourcesCache* resourcesCache() const { return m_resourcesCache.get(); } | 63 SVGResourcesCache& resourcesCache() const { return *m_resourcesCache; } |
f(malita)
2015/08/19 13:04:34
Nit: can we store m_resourcesCache inline (instead
fs
2015/08/19 13:13:58
Yeah, it's not too burdensome - I'll do that in a
| |
64 | 64 |
65 void addSVGRootWithRelativeLengthDescendents(SVGSVGElement*); | 65 void addSVGRootWithRelativeLengthDescendents(SVGSVGElement*); |
66 void removeSVGRootWithRelativeLengthDescendents(SVGSVGElement*); | 66 void removeSVGRootWithRelativeLengthDescendents(SVGSVGElement*); |
67 bool isSVGRootWithRelativeLengthDescendents(SVGSVGElement*) const; | 67 bool isSVGRootWithRelativeLengthDescendents(SVGSVGElement*) const; |
68 void invalidateSVGRootsWithRelativeLengthDescendents(SubtreeLayoutScope*); | 68 void invalidateSVGRootsWithRelativeLengthDescendents(SubtreeLayoutScope*); |
69 | 69 |
70 bool zoomAndPanEnabled() const; | 70 bool zoomAndPanEnabled() const; |
71 | 71 |
72 void startPan(const FloatPoint& start); | 72 void startPan(const FloatPoint& start); |
73 void updatePan(const FloatPoint& pos) const; | 73 void updatePan(const FloatPoint& pos) const; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
108 void markPendingResourcesForRemoval(const AtomicString&); | 108 void markPendingResourcesForRemoval(const AtomicString&); |
109 Element* removeElementFromPendingResourcesForRemoval(const AtomicString&); | 109 Element* removeElementFromPendingResourcesForRemoval(const AtomicString&); |
110 | 110 |
111 private: | 111 private: |
112 PassOwnPtrWillBeRawPtr<SVGPendingElements> removePendingResourceForRemoval(c onst AtomicString&); | 112 PassOwnPtrWillBeRawPtr<SVGPendingElements> removePendingResourceForRemoval(c onst AtomicString&); |
113 }; | 113 }; |
114 | 114 |
115 } | 115 } |
116 | 116 |
117 #endif | 117 #endif |
OLD | NEW |