| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE FINAL; | 57 virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE FINAL; |
| 58 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) OVERRIDE FINAL; | 58 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) OVERRIDE FINAL; |
| 59 virtual String removeProperty(const String& propertyName, ExceptionState&) O
VERRIDE FINAL; | 59 virtual String removeProperty(const String& propertyName, ExceptionState&) O
VERRIDE FINAL; |
| 60 virtual String cssText() const OVERRIDE FINAL; | 60 virtual String cssText() const OVERRIDE FINAL; |
| 61 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE FINAL; | 61 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE FINAL; |
| 62 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp
ertyID) OVERRIDE FINAL; | 62 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp
ertyID) OVERRIDE FINAL; |
| 63 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE FINAL; | 63 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE FINAL; |
| 64 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionState&) OVERRIDE FINAL; | 64 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionState&) OVERRIDE FINAL; |
| 65 | 65 |
| 66 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE FINAL; | 66 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE FINAL; |
| 67 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE
FINAL; | 67 virtual PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyProperties() con
st OVERRIDE FINAL; |
| 68 | 68 |
| 69 CSSValue* cloneAndCacheForCSSOM(CSSValue*); | 69 CSSValue* cloneAndCacheForCSSOM(CSSValue*); |
| 70 | 70 |
| 71 protected: | 71 protected: |
| 72 enum MutationType { NoChanges, PropertyChanged }; | 72 enum MutationType { NoChanges, PropertyChanged }; |
| 73 virtual void willMutate() { } | 73 virtual void willMutate() { } |
| 74 virtual void didMutate(MutationType) { } | 74 virtual void didMutate(MutationType) { } |
| 75 virtual MutableStylePropertySet& propertySet() const = 0; | 75 virtual MutableStylePropertySet& propertySet() const = 0; |
| 76 | 76 |
| 77 OwnPtrWillBePersistent<WillBeHeapHashMap<CSSValue*, RefPtrWillBeMember<CSSVa
lue> > > m_cssomCSSValueClones; | 77 OwnPtrWillBePersistent<WillBeHeapHashMap<CSSValue*, RefPtrWillBeMember<CSSVa
lue> > > m_cssomCSSValueClones; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } | 137 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } |
| 138 | 138 |
| 139 virtual void didMutate(MutationType) OVERRIDE; | 139 virtual void didMutate(MutationType) OVERRIDE; |
| 140 | 140 |
| 141 Element* m_parentElement; | 141 Element* m_parentElement; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 } // namespace WebCore | 144 } // namespace WebCore |
| 145 | 145 |
| 146 #endif | 146 #endif |
| OLD | NEW |