| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2006 Rob Buis <buis@kde.org> |
| 3 * Copyright (C) 2008 Apple Inc. All right reserved. | 3 * Copyright (C) 2008 Apple Inc. All right reserved. |
| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 void traceAfterDispatch(Visitor*); | 61 void traceAfterDispatch(Visitor*); |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 CSSCursorImageValue(PassRefPtrWillBeRawPtr<CSSValue> imageValue, bool hasHot
Spot, const IntPoint& hotSpot); | 64 CSSCursorImageValue(PassRefPtrWillBeRawPtr<CSSValue> imageValue, bool hasHot
Spot, const IntPoint& hotSpot); |
| 65 | 65 |
| 66 bool isSVGCursor() const; | 66 bool isSVGCursor() const; |
| 67 String cachedImageURL(); | 67 String cachedImageURL(); |
| 68 void clearImageResource(); | 68 void clearImageResource(); |
| 69 | 69 |
| 70 RefPtrWillBeMember<CSSValue> m_imageValue; | 70 // FIXME: oilpan: This should be a Member but we need to resolve |
| 71 // finalization order issues first. The CSSCursorImageValue |
| 72 // destructor uses m_imageValue. Leaving it as a RefPtr as a |
| 73 // workaround for now. |
| 74 RefPtr<CSSValue> m_imageValue; |
| 71 | 75 |
| 72 bool m_hasHotSpot; | 76 bool m_hasHotSpot; |
| 73 IntPoint m_hotSpot; | 77 IntPoint m_hotSpot; |
| 74 RefPtr<StyleImage> m_image; | 78 RefPtr<StyleImage> m_image; |
| 75 bool m_accessedImage; | 79 bool m_accessedImage; |
| 76 | 80 |
| 77 HashSet<SVGElement*> m_referencedElements; | 81 HashSet<SVGElement*> m_referencedElements; |
| 78 }; | 82 }; |
| 79 | 83 |
| 80 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); | 84 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); |
| 81 | 85 |
| 82 } // namespace WebCore | 86 } // namespace WebCore |
| 83 | 87 |
| 84 #endif // CSSCursorImageValue_h | 88 #endif // CSSCursorImageValue_h |
| OLD | NEW |