| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 virtual String getPropertyPriority(const String& propertyName) OVERRIDE; | 59 virtual String getPropertyPriority(const String& propertyName) OVERRIDE; |
| 60 virtual String getPropertyShorthand(const String& propertyName) OVERRIDE; | 60 virtual String getPropertyShorthand(const String& propertyName) OVERRIDE; |
| 61 virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE; | 61 virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE; |
| 62 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionCode&) OVERRIDE; | 62 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionCode&) OVERRIDE; |
| 63 virtual String removeProperty(const String& propertyName, ExceptionCode&) OV
ERRIDE; | 63 virtual String removeProperty(const String& propertyName, ExceptionCode&) OV
ERRIDE; |
| 64 virtual String cssText() const OVERRIDE; | 64 virtual String cssText() const OVERRIDE; |
| 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; |
| 71 virtual String variableValue(const AtomicString& name) const OVERRIDE; |
| 72 virtual void setVariableValue(const AtomicString& name, const String& value,
ExceptionCode&) OVERRIDE; |
| 73 virtual bool removeVariable(const AtomicString& name) OVERRIDE; |
| 74 virtual void clearVariables(ExceptionCode&) OVERRIDE; |
| 75 |
| 70 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE; | 76 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE; |
| 71 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE; | 77 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE; |
| 72 | 78 |
| 73 CSSValue* cloneAndCacheForCSSOM(CSSValue*); | 79 CSSValue* cloneAndCacheForCSSOM(CSSValue*); |
| 74 | 80 |
| 75 protected: | 81 protected: |
| 76 enum MutationType { NoChanges, PropertyChanged }; | 82 enum MutationType { NoChanges, PropertyChanged }; |
| 77 virtual void willMutate() { } | 83 virtual void willMutate() { } |
| 78 virtual void didMutate(MutationType) { } | 84 virtual void didMutate(MutationType) { } |
| 79 | 85 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } | 132 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } |
| 127 | 133 |
| 128 virtual void didMutate(MutationType) OVERRIDE; | 134 virtual void didMutate(MutationType) OVERRIDE; |
| 129 | 135 |
| 130 Element* m_parentElement; | 136 Element* m_parentElement; |
| 131 }; | 137 }; |
| 132 | 138 |
| 133 } // namespace WebCore | 139 } // namespace WebCore |
| 134 | 140 |
| 135 #endif | 141 #endif |
| OLD | NEW |