| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 return IntPoint(-1, -1); | 47 return IntPoint(-1, -1); |
| 48 } | 48 } |
| 49 | 49 |
| 50 String customCSSText() const; | 50 String customCSSText() const; |
| 51 | 51 |
| 52 StyleImage* cachedImage(ResourceFetcher*, float deviceScaleFactor); | 52 StyleImage* cachedImage(ResourceFetcher*, float deviceScaleFactor); |
| 53 StyleImage* cachedOrPendingImage(float deviceScaleFactor); | 53 StyleImage* cachedOrPendingImage(float deviceScaleFactor); |
| 54 | 54 |
| 55 bool equals(const CSSCursorImageValue&) const; | 55 bool equals(const CSSCursorImageValue&) const; |
| 56 | 56 |
| 57 void traceAfterDispatch(Visitor*); | |
| 58 | |
| 59 private: | 57 private: |
| 60 CSSCursorImageValue(PassRefPtr<CSSValue> imageValue, bool hasHotSpot, const
IntPoint& hotSpot); | 58 CSSCursorImageValue(PassRefPtr<CSSValue> imageValue, bool hasHotSpot, const
IntPoint& hotSpot); |
| 61 | 59 |
| 62 bool isSVGCursor() const; | 60 bool isSVGCursor() const; |
| 63 String cachedImageURL(); | 61 String cachedImageURL(); |
| 64 void clearImageResource(); | 62 void clearImageResource(); |
| 65 | 63 |
| 66 RefPtr<CSSValue> m_imageValue; | 64 RefPtr<CSSValue> m_imageValue; |
| 67 | 65 |
| 68 bool m_hasHotSpot; | 66 bool m_hasHotSpot; |
| 69 IntPoint m_hotSpot; | 67 IntPoint m_hotSpot; |
| 70 RefPtr<StyleImage> m_image; | 68 RefPtr<StyleImage> m_image; |
| 71 bool m_accessedImage; | 69 bool m_accessedImage; |
| 72 }; | 70 }; |
| 73 | 71 |
| 74 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); | 72 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); |
| 75 | 73 |
| 76 } // namespace blink | 74 } // namespace blink |
| 77 | 75 |
| 78 #endif // CSSCursorImageValue_h | 76 #endif // CSSCursorImageValue_h |
| OLD | NEW |