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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 virtual void setCssText(const String&, ExceptionCode&) OVERRIDE; | 65 virtual void setCssText(const String&, ExceptionCode&) OVERRIDE; |
66 virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) OVER
RIDE; | 66 virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) OVER
RIDE; |
67 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE; | 67 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE; |
68 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionCode&) OVERRIDE; | 68 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionCode&) OVERRIDE; |
69 | 69 |
70 virtual unsigned variableCount() const OVERRIDE; | 70 virtual unsigned variableCount() const OVERRIDE; |
71 virtual String variableValue(const AtomicString& name) const OVERRIDE; | 71 virtual String variableValue(const AtomicString& name) const OVERRIDE; |
72 virtual void setVariableValue(const AtomicString& name, const String& value,
ExceptionCode&) OVERRIDE; | 72 virtual void setVariableValue(const AtomicString& name, const String& value,
ExceptionCode&) OVERRIDE; |
73 virtual bool removeVariable(const AtomicString& name) OVERRIDE; | 73 virtual bool removeVariable(const AtomicString& name) OVERRIDE; |
74 virtual void clearVariables(ExceptionCode&) OVERRIDE; | 74 virtual void clearVariables(ExceptionCode&) OVERRIDE; |
| 75 virtual PassRefPtr<CSSVariablesIterator> variablesIterator() const OVERRIDE; |
75 | 76 |
76 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE; | 77 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE; |
77 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE; | 78 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE; |
78 | 79 |
79 CSSValue* cloneAndCacheForCSSOM(CSSValue*); | 80 CSSValue* cloneAndCacheForCSSOM(CSSValue*); |
80 | 81 |
81 protected: | 82 protected: |
82 enum MutationType { NoChanges, PropertyChanged }; | 83 enum MutationType { NoChanges, PropertyChanged }; |
83 virtual void willMutate() { } | 84 virtual void willMutate() { } |
84 virtual void didMutate(MutationType) { } | 85 virtual void didMutate(MutationType) { } |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } | 133 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } |
133 | 134 |
134 virtual void didMutate(MutationType) OVERRIDE; | 135 virtual void didMutate(MutationType) OVERRIDE; |
135 | 136 |
136 Element* m_parentElement; | 137 Element* m_parentElement; |
137 }; | 138 }; |
138 | 139 |
139 } // namespace WebCore | 140 } // namespace WebCore |
140 | 141 |
141 #endif | 142 #endif |
OLD | NEW |