| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 virtual ~CSSValue() { } | 45 virtual ~CSSValue() { } |
| 46 | 46 |
| 47 // FIXME: Change this to return UnitTypes. | 47 // FIXME: Change this to return UnitTypes. |
| 48 virtual unsigned short cssValueType() const { return CSS_CUSTOM; } | 48 virtual unsigned short cssValueType() const { return CSS_CUSTOM; } |
| 49 | 49 |
| 50 virtual String cssText() const = 0; | 50 virtual String cssText() const = 0; |
| 51 void setCssText(const String&, ExceptionCode&) { } // FIXME: Not implemented
. | 51 void setCssText(const String&, ExceptionCode&) { } // FIXME: Not implemented
. |
| 52 | 52 |
| 53 virtual bool isMutableValue() const { return false; } | |
| 54 | |
| 55 virtual bool isBorderImageValue() const { return false; } | 53 virtual bool isBorderImageValue() const { return false; } |
| 56 virtual bool isCursorImageValue() const { return false; } | 54 virtual bool isCursorImageValue() const { return false; } |
| 57 virtual bool isFontFamilyValue() const { return false; } | 55 virtual bool isFontFamilyValue() const { return false; } |
| 58 virtual bool isFontValue() const { return false; } | 56 virtual bool isFontValue() const { return false; } |
| 59 virtual bool isImageGeneratorValue() const { return false; } | 57 virtual bool isImageGeneratorValue() const { return false; } |
| 60 virtual bool isImageValue() const { return false; } | 58 virtual bool isImageValue() const { return false; } |
| 61 virtual bool isImplicitInitialValue() const { return false; } | 59 virtual bool isImplicitInitialValue() const { return false; } |
| 62 virtual bool isPrimitiveValue() const { return false; } | 60 virtual bool isPrimitiveValue() const { return false; } |
| 63 virtual bool isReflectValue() const { return false; } | 61 virtual bool isReflectValue() const { return false; } |
| 64 virtual bool isShadowValue() const { return false; } | 62 virtual bool isShadowValue() const { return false; } |
| 65 virtual bool isTimingFunctionValue() const { return false; } | 63 virtual bool isTimingFunctionValue() const { return false; } |
| 66 virtual bool isValueList() const { return false; } | 64 virtual bool isValueList() const { return false; } |
| 67 virtual bool isWebKitCSSTransformValue() const { return false; } | 65 virtual bool isWebKitCSSTransformValue() const { return false; } |
| 68 virtual bool isCSSLineBoxContainValue() const { return false; } | 66 virtual bool isCSSLineBoxContainValue() const { return false; } |
| 69 | 67 |
| 70 #if ENABLE(SVG) | 68 #if ENABLE(SVG) |
| 71 virtual bool isSVGColor() const { return false; } | 69 virtual bool isSVGColor() const { return false; } |
| 72 virtual bool isSVGPaint() const { return false; } | 70 virtual bool isSVGPaint() const { return false; } |
| 73 #endif | 71 #endif |
| 74 | 72 |
| 75 virtual void addSubresourceStyleURLs(ListHashSet<KURL>&, const CSSStyleSheet
*) { } | 73 virtual void addSubresourceStyleURLs(ListHashSet<KURL>&, const CSSStyleSheet
*) { } |
| 76 }; | 74 }; |
| 77 | 75 |
| 78 } // namespace WebCore | 76 } // namespace WebCore |
| 79 | 77 |
| 80 #endif // CSSValue_h | 78 #endif // CSSValue_h |
| OLD | NEW |