OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010. 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 ParentOnlyInvalidation = 1 << 3 | 57 ParentOnlyInvalidation = 1 << 3 |
58 }; | 58 }; |
59 | 59 |
60 // Used from the invalidateClient/invalidateClients methods from classes, in
heriting from us. | 60 // Used from the invalidateClient/invalidateClients methods from classes, in
heriting from us. |
61 void markAllClientsForInvalidation(InvalidationMode); | 61 void markAllClientsForInvalidation(InvalidationMode); |
62 void markAllClientLayersForInvalidation(); | 62 void markAllClientLayersForInvalidation(); |
63 void markClientForInvalidation(RenderObject*, InvalidationMode); | 63 void markClientForInvalidation(RenderObject*, InvalidationMode); |
64 | 64 |
65 void clearInvalidationMask() { m_invalidationMask = 0; } | 65 void clearInvalidationMask() { m_invalidationMask = 0; } |
66 | 66 |
| 67 static AffineTransform computeResourceSpaceTransform(RenderObject*, const Af
fineTransform& baseTransform, const SVGRenderStyle*, unsigned short resourceMode
); |
| 68 |
67 bool m_isInLayout; | 69 bool m_isInLayout; |
68 | 70 |
69 private: | 71 private: |
70 friend class SVGResourcesCache; | 72 friend class SVGResourcesCache; |
71 void addClient(RenderObject*); | 73 void addClient(RenderObject*); |
72 void removeClient(RenderObject*); | 74 void removeClient(RenderObject*); |
73 | 75 |
74 virtual void willBeDestroyed() OVERRIDE FINAL; | 76 virtual void willBeDestroyed() OVERRIDE FINAL; |
75 void registerResource(); | 77 void registerResource(); |
76 | 78 |
(...skipping 27 matching lines...) Expand all Loading... |
104 return container->cast<Renderer>(); | 106 return container->cast<Renderer>(); |
105 | 107 |
106 return 0; | 108 return 0; |
107 } | 109 } |
108 | 110 |
109 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceContainer, isSVGResourceContain
er()); | 111 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceContainer, isSVGResourceContain
er()); |
110 | 112 |
111 } | 113 } |
112 | 114 |
113 #endif | 115 #endif |
OLD | NEW |