| 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 11 matching lines...) Expand all Loading... |
| 22 #define CSSCursorImageValue_h | 22 #define CSSCursorImageValue_h |
| 23 | 23 |
| 24 #include "core/css/CSSImageValue.h" | 24 #include "core/css/CSSImageValue.h" |
| 25 #include "core/svg/SVGCursorElement.h" | 25 #include "core/svg/SVGCursorElement.h" |
| 26 #include "platform/geometry/IntPoint.h" | 26 #include "platform/geometry/IntPoint.h" |
| 27 #include "wtf/HashSet.h" | 27 #include "wtf/HashSet.h" |
| 28 | 28 |
| 29 namespace blink { | 29 namespace blink { |
| 30 | 30 |
| 31 class Element; | 31 class Element; |
| 32 class SVGElement; | |
| 33 | 32 |
| 34 class CSSCursorImageValue : public CSSValue { | 33 class CSSCursorImageValue : public CSSValue { |
| 35 public: | 34 public: |
| 36 static const CSSCursorImageValue* create(CSSValue* imageValue, | 35 static const CSSCursorImageValue* create(CSSValue* imageValue, |
| 37 bool hotSpotSpecified, | 36 bool hotSpotSpecified, |
| 38 const IntPoint& hotSpot) { | 37 const IntPoint& hotSpot) { |
| 39 return new CSSCursorImageValue(imageValue, hotSpotSpecified, hotSpot); | 38 return new CSSCursorImageValue(imageValue, hotSpotSpecified, hotSpot); |
| 40 } | 39 } |
| 41 | 40 |
| 42 ~CSSCursorImageValue(); | 41 ~CSSCursorImageValue(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 72 IntPoint m_hotSpot; | 71 IntPoint m_hotSpot; |
| 73 mutable bool m_isCachePending; | 72 mutable bool m_isCachePending; |
| 74 mutable Member<StyleImage> m_cachedImage; | 73 mutable Member<StyleImage> m_cachedImage; |
| 75 }; | 74 }; |
| 76 | 75 |
| 77 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); | 76 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); |
| 78 | 77 |
| 79 } // namespace blink | 78 } // namespace blink |
| 80 | 79 |
| 81 #endif // CSSCursorImageValue_h | 80 #endif // CSSCursorImageValue_h |
| OLD | NEW |