| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 { | 107 { |
| 108 s_shouldNotifyInspector = true; | 108 s_shouldNotifyInspector = true; |
| 109 } | 109 } |
| 110 | 110 |
| 111 private: | 111 private: |
| 112 static unsigned s_scopeCount; | 112 static unsigned s_scopeCount; |
| 113 static AbstractPropertySetCSSStyleDeclaration* s_currentDecl; | 113 static AbstractPropertySetCSSStyleDeclaration* s_currentDecl; |
| 114 static bool s_shouldNotifyInspector; | 114 static bool s_shouldNotifyInspector; |
| 115 static bool s_shouldDeliver; | 115 static bool s_shouldDeliver; |
| 116 | 116 |
| 117 OwnPtrWillBeMember<MutationObserverInterestGroup> m_mutationRecipients; | 117 Member<MutationObserverInterestGroup> m_mutationRecipients; |
| 118 RefPtrWillBeMember<MutationRecord> m_mutation; | 118 Member<MutationRecord> m_mutation; |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 unsigned StyleAttributeMutationScope::s_scopeCount = 0; | 121 unsigned StyleAttributeMutationScope::s_scopeCount = 0; |
| 122 AbstractPropertySetCSSStyleDeclaration* StyleAttributeMutationScope::s_currentDe
cl = 0; | 122 AbstractPropertySetCSSStyleDeclaration* StyleAttributeMutationScope::s_currentDe
cl = 0; |
| 123 bool StyleAttributeMutationScope::s_shouldNotifyInspector = false; | 123 bool StyleAttributeMutationScope::s_shouldNotifyInspector = false; |
| 124 bool StyleAttributeMutationScope::s_shouldDeliver = false; | 124 bool StyleAttributeMutationScope::s_shouldDeliver = false; |
| 125 | 125 |
| 126 } // namespace | 126 } // namespace |
| 127 | 127 |
| 128 #if !ENABLE(OILPAN) | 128 #if !ENABLE(OILPAN) |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 else | 260 else |
| 261 changed = propertySet().removeProperty(propertyID, &result); | 261 changed = propertySet().removeProperty(propertyID, &result); |
| 262 | 262 |
| 263 didMutate(changed ? PropertyChanged : NoChanges); | 263 didMutate(changed ? PropertyChanged : NoChanges); |
| 264 | 264 |
| 265 if (changed) | 265 if (changed) |
| 266 mutationScope.enqueueMutationRecord(); | 266 mutationScope.enqueueMutationRecord(); |
| 267 return result; | 267 return result; |
| 268 } | 268 } |
| 269 | 269 |
| 270 PassRefPtrWillBeRawPtr<CSSValue> AbstractPropertySetCSSStyleDeclaration::getProp
ertyCSSValueInternal(CSSPropertyID propertyID) | 270 RawPtr<CSSValue> AbstractPropertySetCSSStyleDeclaration::getPropertyCSSValueInte
rnal(CSSPropertyID propertyID) |
| 271 { | 271 { |
| 272 return propertySet().getPropertyCSSValue(propertyID); | 272 return propertySet().getPropertyCSSValue(propertyID); |
| 273 } | 273 } |
| 274 | 274 |
| 275 String AbstractPropertySetCSSStyleDeclaration::getPropertyValueInternal(CSSPrope
rtyID propertyID) | 275 String AbstractPropertySetCSSStyleDeclaration::getPropertyValueInternal(CSSPrope
rtyID propertyID) |
| 276 { | 276 { |
| 277 return propertySet().getPropertyValue(propertyID); | 277 return propertySet().getPropertyValue(propertyID); |
| 278 } | 278 } |
| 279 | 279 |
| 280 void AbstractPropertySetCSSStyleDeclaration::setPropertyInternal(CSSPropertyID u
nresolvedProperty, const String& customPropertyName, const String& value, bool i
mportant, ExceptionState&) | 280 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... |
| 419 } | 419 } |
| 420 #endif | 420 #endif |
| 421 | 421 |
| 422 DEFINE_TRACE(InlineCSSStyleDeclaration) | 422 DEFINE_TRACE(InlineCSSStyleDeclaration) |
| 423 { | 423 { |
| 424 visitor->trace(m_parentElement); | 424 visitor->trace(m_parentElement); |
| 425 AbstractPropertySetCSSStyleDeclaration::trace(visitor); | 425 AbstractPropertySetCSSStyleDeclaration::trace(visitor); |
| 426 } | 426 } |
| 427 | 427 |
| 428 } // namespace blink | 428 } // namespace blink |
| OLD | NEW |