OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) OVERRIDE; | 63 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) OVERRIDE; |
64 virtual String removeProperty(const String& propertyName, ExceptionState&) O
VERRIDE; | 64 virtual String removeProperty(const String& propertyName, ExceptionState&) O
VERRIDE; |
65 virtual String cssText() const OVERRIDE; | 65 virtual String cssText() const OVERRIDE; |
66 virtual void setCssText(const String&, ExceptionState&) OVERRIDE; | 66 virtual void setCssText(const String&, ExceptionState&) OVERRIDE; |
67 virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) OVER
RIDE; | 67 virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) OVER
RIDE; |
68 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE; | 68 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE; |
69 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionState&) OVERRIDE; | 69 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionState&) OVERRIDE; |
70 | 70 |
71 virtual unsigned variableCount() const OVERRIDE; | 71 virtual unsigned variableCount() const OVERRIDE; |
72 virtual String variableValue(const AtomicString& name) const OVERRIDE; | 72 virtual String variableValue(const AtomicString& name) const OVERRIDE; |
73 virtual void setVariableValue(const AtomicString& name, const String& value,
ExceptionState&) OVERRIDE; | 73 virtual bool setVariableValue(const AtomicString& name, const String& value,
ExceptionState&) OVERRIDE; |
74 virtual bool removeVariable(const AtomicString& name) OVERRIDE; | 74 virtual bool removeVariable(const AtomicString& name) OVERRIDE; |
75 virtual void clearVariables(ExceptionState&) OVERRIDE; | 75 virtual bool clearVariables(ExceptionState&) OVERRIDE; |
| 76 virtual PassRefPtr<CSSVariablesIterator> variablesIterator() const OVERRIDE; |
76 | 77 |
77 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE; | 78 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE; |
78 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE; | 79 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE; |
79 | 80 |
80 CSSValue* cloneAndCacheForCSSOM(CSSValue*); | 81 CSSValue* cloneAndCacheForCSSOM(CSSValue*); |
81 | 82 |
82 protected: | 83 protected: |
83 enum MutationType { NoChanges, PropertyChanged }; | 84 enum MutationType { NoChanges, PropertyChanged }; |
84 virtual void willMutate() { } | 85 virtual void willMutate() { } |
85 virtual void didMutate(MutationType) { } | 86 virtual void didMutate(MutationType) { } |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } | 134 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } |
134 | 135 |
135 virtual void didMutate(MutationType) OVERRIDE; | 136 virtual void didMutate(MutationType) OVERRIDE; |
136 | 137 |
137 Element* m_parentElement; | 138 Element* m_parentElement; |
138 }; | 139 }; |
139 | 140 |
140 } // namespace WebCore | 141 } // namespace WebCore |
141 | 142 |
142 #endif | 143 #endif |
OLD | NEW |