| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
| 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 { | 108 { |
| 109 s_shouldNotifyInspector = true; | 109 s_shouldNotifyInspector = true; |
| 110 } | 110 } |
| 111 | 111 |
| 112 private: | 112 private: |
| 113 static unsigned s_scopeCount; | 113 static unsigned s_scopeCount; |
| 114 static AbstractPropertySetCSSStyleDeclaration* s_currentDecl; | 114 static AbstractPropertySetCSSStyleDeclaration* s_currentDecl; |
| 115 static bool s_shouldNotifyInspector; | 115 static bool s_shouldNotifyInspector; |
| 116 static bool s_shouldDeliver; | 116 static bool s_shouldDeliver; |
| 117 | 117 |
| 118 OwnPtrWillBeMember<MutationObserverInterestGroup> m_mutationRecipients; | 118 Member<MutationObserverInterestGroup> m_mutationRecipients; |
| 119 RefPtrWillBeMember<MutationRecord> m_mutation; | 119 Member<MutationRecord> m_mutation; |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 unsigned StyleAttributeMutationScope::s_scopeCount = 0; | 122 unsigned StyleAttributeMutationScope::s_scopeCount = 0; |
| 123 AbstractPropertySetCSSStyleDeclaration* StyleAttributeMutationScope::s_currentDe
cl = 0; | 123 AbstractPropertySetCSSStyleDeclaration* StyleAttributeMutationScope::s_currentDe
cl = 0; |
| 124 bool StyleAttributeMutationScope::s_shouldNotifyInspector = false; | 124 bool StyleAttributeMutationScope::s_shouldNotifyInspector = false; |
| 125 bool StyleAttributeMutationScope::s_shouldDeliver = false; | 125 bool StyleAttributeMutationScope::s_shouldDeliver = false; |
| 126 | 126 |
| 127 } // namespace | 127 } // namespace |
| 128 | 128 |
| 129 #if !ENABLE(OILPAN) | 129 #if !ENABLE(OILPAN) |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 else | 263 else |
| 264 changed = propertySet().removeProperty(propertyID, &result); | 264 changed = propertySet().removeProperty(propertyID, &result); |
| 265 | 265 |
| 266 didMutate(changed ? PropertyChanged : NoChanges); | 266 didMutate(changed ? PropertyChanged : NoChanges); |
| 267 | 267 |
| 268 if (changed) | 268 if (changed) |
| 269 mutationScope.enqueueMutationRecord(); | 269 mutationScope.enqueueMutationRecord(); |
| 270 return result; | 270 return result; |
| 271 } | 271 } |
| 272 | 272 |
| 273 PassRefPtrWillBeRawPtr<CSSValue> AbstractPropertySetCSSStyleDeclaration::getProp
ertyCSSValueInternal(CSSPropertyID propertyID) | 273 RawPtr<CSSValue> AbstractPropertySetCSSStyleDeclaration::getPropertyCSSValueInte
rnal(CSSPropertyID propertyID) |
| 274 { | 274 { |
| 275 return propertySet().getPropertyCSSValue(propertyID); | 275 return propertySet().getPropertyCSSValue(propertyID); |
| 276 } | 276 } |
| 277 | 277 |
| 278 String AbstractPropertySetCSSStyleDeclaration::getPropertyValueInternal(CSSPrope
rtyID propertyID) | 278 String AbstractPropertySetCSSStyleDeclaration::getPropertyValueInternal(CSSPrope
rtyID propertyID) |
| 279 { | 279 { |
| 280 return propertySet().getPropertyValue(propertyID); | 280 return propertySet().getPropertyValue(propertyID); |
| 281 } | 281 } |
| 282 | 282 |
| 283 void AbstractPropertySetCSSStyleDeclaration::setPropertyInternal(CSSPropertyID u
nresolvedProperty, const String& customPropertyName, const String& value, bool i
mportant, ExceptionState&) | 283 void AbstractPropertySetCSSStyleDeclaration::setPropertyInternal(CSSPropertyID u
nresolvedProperty, const String& customPropertyName, const String& value, bool i
mportant, ExceptionState&) |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 } | 422 } |
| 423 #endif | 423 #endif |
| 424 | 424 |
| 425 DEFINE_TRACE(InlineCSSStyleDeclaration) | 425 DEFINE_TRACE(InlineCSSStyleDeclaration) |
| 426 { | 426 { |
| 427 visitor->trace(m_parentElement); | 427 visitor->trace(m_parentElement); |
| 428 AbstractPropertySetCSSStyleDeclaration::trace(visitor); | 428 AbstractPropertySetCSSStyleDeclaration::trace(visitor); |
| 429 } | 429 } |
| 430 | 430 |
| 431 } // namespace blink | 431 } // namespace blink |
| OLD | NEW |