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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 virtual Element* parentElement() const { return 0; } | 44 virtual Element* parentElement() const { return 0; } |
45 StyleSheetContents* contextStyleSheet() const; | 45 StyleSheetContents* contextStyleSheet() const; |
46 | 46 |
47 private: | 47 private: |
48 virtual unsigned length() const override final; | 48 virtual unsigned length() const override final; |
49 virtual String item(unsigned index) const override final; | 49 virtual String item(unsigned index) const override final; |
50 virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName)
override final; | 50 virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName)
override final; |
51 virtual String getPropertyValue(const String& propertyName) override final; | 51 virtual String getPropertyValue(const String& propertyName) override final; |
52 virtual String getPropertyShorthand(const String& propertyName) override fin
al; | 52 virtual String getPropertyShorthand(const String& propertyName) override fin
al; |
53 virtual bool isPropertyImplicit(const String& propertyName) override final; | 53 virtual bool isPropertyImplicit(const String& propertyName) override final; |
54 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) override final; | 54 virtual void setProperty(const String& propertyName, const String& value, Ex
ceptionState&) override final; |
55 virtual String removeProperty(const String& propertyName, ExceptionState&) o
verride final; | 55 virtual String removeProperty(const String& propertyName, ExceptionState&) o
verride final; |
56 virtual String cssText() const override final; | 56 virtual String cssText() const override final; |
57 virtual void setCSSText(const String&, ExceptionState&) override final; | 57 virtual void setCSSText(const String&, ExceptionState&) override final; |
58 virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) over
ride final; | 58 virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) over
ride final; |
59 virtual String getPropertyValueInternal(CSSPropertyID) override final; | 59 virtual String getPropertyValueInternal(CSSPropertyID) override final; |
60 virtual void setPropertyInternal(CSSPropertyID, const String& value, Excepti
onState&) override final; | 60 virtual void setPropertyInternal(CSSPropertyID, const String& value, Excepti
onState&) override final; |
61 | 61 |
62 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const overri
de final; | 62 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const overri
de final; |
63 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const override
final; | 63 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const override
final; |
64 | 64 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual Element* parentElement() const override { return m_parentElement; } | 106 virtual Element* parentElement() const override { return m_parentElement; } |
107 | 107 |
108 virtual void didMutate(MutationType) override; | 108 virtual void didMutate(MutationType) override; |
109 | 109 |
110 RawPtr<Element> m_parentElement; | 110 RawPtr<Element> m_parentElement; |
111 }; | 111 }; |
112 | 112 |
113 } // namespace blink | 113 } // namespace blink |
114 | 114 |
115 #endif // SKY_ENGINE_CORE_CSS_PROPERTYSETCSSSTYLEDECLARATION_H_ | 115 #endif // SKY_ENGINE_CORE_CSS_PROPERTYSETCSSSTYLEDECLARATION_H_ |
OLD | NEW |