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, 2008, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) = 0; | 59 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) = 0; |
60 virtual String removeProperty(const String& propertyName, ExceptionState&) =
0; | 60 virtual String removeProperty(const String& propertyName, ExceptionState&) =
0; |
61 | 61 |
62 // CSSPropertyID versions of the CSSOM functions to support bindings and edi
ting. | 62 // CSSPropertyID versions of the CSSOM functions to support bindings and edi
ting. |
63 // Use the non-virtual methods in the concrete subclasses when possible. | 63 // Use the non-virtual methods in the concrete subclasses when possible. |
64 // The CSSValue returned by this function should not be exposed to the web a
s it may be used by multiple documents at the same time. | 64 // The CSSValue returned by this function should not be exposed to the web a
s it may be used by multiple documents at the same time. |
65 virtual NullableCSSValue getPropertyCSSValueInternal(CSSPropertyID) = 0; | 65 virtual NullableCSSValue getPropertyCSSValueInternal(CSSPropertyID) = 0; |
66 virtual String getPropertyValueInternal(CSSPropertyID) = 0; | 66 virtual String getPropertyValueInternal(CSSPropertyID) = 0; |
67 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionState&) = 0; | 67 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionState&) = 0; |
68 | 68 |
69 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue) const = 0; | 69 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue&) const = 0; |
70 virtual CSSStyleSheet* parentStyleSheet() const { return 0; } | 70 virtual CSSStyleSheet* parentStyleSheet() const { return 0; } |
71 | 71 |
72 DEFINE_INLINE_VIRTUAL_TRACE() { } | 72 DEFINE_INLINE_VIRTUAL_TRACE() { } |
73 | 73 |
74 protected: | 74 protected: |
75 CSSStyleDeclaration() { } | 75 CSSStyleDeclaration() { } |
76 }; | 76 }; |
77 | 77 |
78 } // namespace blink | 78 } // namespace blink |
79 | 79 |
80 #endif // CSSStyleDeclaration_h | 80 #endif // CSSStyleDeclaration_h |
OLD | NEW |