| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att
ributeModificationReason = ModifiedDirectly) OVERRIDE; | 69 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att
ributeModificationReason = ModifiedDirectly) OVERRIDE; |
| 70 | 70 |
| 71 virtual bool isPresentationAttribute(const QualifiedName&) const { return fa
lse; } | 71 virtual bool isPresentationAttribute(const QualifiedName&) const { return fa
lse; } |
| 72 | 72 |
| 73 void addPropertyToPresentationAttributeStyle(Handle<MutableStylePropertySet>
, CSSPropertyID, int identifier); | 73 void addPropertyToPresentationAttributeStyle(Handle<MutableStylePropertySet>
, CSSPropertyID, int identifier); |
| 74 void addPropertyToPresentationAttributeStyle(Handle<MutableStylePropertySet>
, CSSPropertyID, double value, CSSPrimitiveValue::UnitTypes); | 74 void addPropertyToPresentationAttributeStyle(Handle<MutableStylePropertySet>
, CSSPropertyID, double value, CSSPrimitiveValue::UnitTypes); |
| 75 void addPropertyToPresentationAttributeStyle(Handle<MutableStylePropertySet>
, CSSPropertyID, const String& value); | 75 void addPropertyToPresentationAttributeStyle(Handle<MutableStylePropertySet>
, CSSPropertyID, const String& value); |
| 76 | 76 |
| 77 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; | 77 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; |
| 78 | 78 |
| 79 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; |
| 80 |
| 79 private: | 81 private: |
| 80 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); | 82 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); |
| 81 | 83 |
| 82 void inlineStyleChanged(); | 84 void inlineStyleChanged(); |
| 83 Result<PropertySetCSSStyleDeclaration> inlineStyleCSSOMWrapper(); | 85 Result<PropertySetCSSStyleDeclaration> inlineStyleCSSOMWrapper(); |
| 84 void setInlineStyleFromString(const AtomicString&); | 86 void setInlineStyleFromString(const AtomicString&); |
| 85 Result<MutableStylePropertySet> ensureMutableInlineStyle(); | 87 Result<MutableStylePropertySet> ensureMutableInlineStyle(); |
| 86 | 88 |
| 87 void makePresentationAttributeCacheKey(PresentationAttributeCacheKey&) const
; | 89 void makePresentationAttributeCacheKey(PresentationAttributeCacheKey&) const
; |
| 88 void rebuildPresentationAttributeStyle(); | 90 void rebuildPresentationAttributeStyle(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 99 if (!elementData()) | 101 if (!elementData()) |
| 100 return nullptr; | 102 return nullptr; |
| 101 if (elementData()->m_presentationAttributeStyleIsDirty) | 103 if (elementData()->m_presentationAttributeStyleIsDirty) |
| 102 rebuildPresentationAttributeStyle(); | 104 rebuildPresentationAttributeStyle(); |
| 103 return elementData()->presentationAttributeStyle(); | 105 return elementData()->presentationAttributeStyle(); |
| 104 } | 106 } |
| 105 | 107 |
| 106 } //namespace | 108 } //namespace |
| 107 | 109 |
| 108 #endif | 110 #endif |
| OLD | NEW |