| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 String getPropertyPriority(const String& propertyName) final; | 54 String getPropertyPriority(const String& propertyName) final; |
| 55 String getPropertyShorthand(const String& propertyName) final; | 55 String getPropertyShorthand(const String& propertyName) final; |
| 56 bool isPropertyImplicit(const String& propertyName) final; | 56 bool isPropertyImplicit(const String& propertyName) final; |
| 57 void setProperty(const String& propertyName, const String& value, const Stri
ng& priority, ExceptionState&) final; | 57 void setProperty(const String& propertyName, const String& value, const Stri
ng& priority, ExceptionState&) final; |
| 58 String removeProperty(const String& propertyName, ExceptionState&) final; | 58 String removeProperty(const String& propertyName, ExceptionState&) final; |
| 59 String cssFloat() const; | 59 String cssFloat() const; |
| 60 void setCSSFloat(const String&, ExceptionState&); | 60 void setCSSFloat(const String&, ExceptionState&); |
| 61 String cssText() const final; | 61 String cssText() const final; |
| 62 void setCSSText(const String&, ExceptionState&) final; | 62 void setCSSText(const String&, ExceptionState&) final; |
| 63 const CSSValue* getPropertyCSSValueInternal(CSSPropertyID) final; | 63 const CSSValue* getPropertyCSSValueInternal(CSSPropertyID) final; |
| 64 const CSSValue* getPropertyCSSValueInternal(AtomicString customPropertyName)
final; |
| 64 String getPropertyValueInternal(CSSPropertyID) final; | 65 String getPropertyValueInternal(CSSPropertyID) final; |
| 65 void setPropertyInternal(CSSPropertyID, const String& customPropertyName, co
nst String& value, bool important, ExceptionState&) final; | 66 void setPropertyInternal(CSSPropertyID, const String& customPropertyName, co
nst String& value, bool important, ExceptionState&) final; |
| 66 | 67 |
| 67 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const final; | 68 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const final; |
| 68 | 69 |
| 69 protected: | 70 protected: |
| 70 enum MutationType { NoChanges, PropertyChanged }; | 71 enum MutationType { NoChanges, PropertyChanged }; |
| 71 virtual void willMutate() { } | 72 virtual void willMutate() { } |
| 72 virtual void didMutate(MutationType) { } | 73 virtual void didMutate(MutationType) { } |
| 73 virtual MutableStylePropertySet& propertySet() const = 0; | 74 virtual MutableStylePropertySet& propertySet() const = 0; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 Element* parentElement() const override { return m_parentElement; } | 126 Element* parentElement() const override { return m_parentElement; } |
| 126 | 127 |
| 127 void didMutate(MutationType) override; | 128 void didMutate(MutationType) override; |
| 128 | 129 |
| 129 Member<Element> m_parentElement; | 130 Member<Element> m_parentElement; |
| 130 }; | 131 }; |
| 131 | 132 |
| 132 } // namespace blink | 133 } // namespace blink |
| 133 | 134 |
| 134 #endif | 135 #endif |
| OLD | NEW |