| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. |
| 4 * All rights reserved. | 4 * 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 StylePropertySet* CustomPropertySetForApplyAtRule(const String&); | 214 StylePropertySet* CustomPropertySetForApplyAtRule(const String&); |
| 215 | 215 |
| 216 HeapHashMap<CSSPropertyID, Member<const CSSValue>>& | 216 HeapHashMap<CSSPropertyID, Member<const CSSValue>>& |
| 217 ParsedPropertiesForPendingSubstitutionCache( | 217 ParsedPropertiesForPendingSubstitutionCache( |
| 218 const CSSPendingSubstitutionValue&) const; | 218 const CSSPendingSubstitutionValue&) const; |
| 219 | 219 |
| 220 private: | 220 private: |
| 221 ElementResolveContext element_context_; | 221 ElementResolveContext element_context_; |
| 222 Member<Document> document_; | 222 Member<Document> document_; |
| 223 | 223 |
| 224 // m_style is the primary output for each element's style resolve. | 224 // style_ is the primary output for each element's style resolve. |
| 225 RefPtr<ComputedStyle> style_; | 225 RefPtr<ComputedStyle> style_; |
| 226 | 226 |
| 227 CSSToLengthConversionData css_to_length_conversion_data_; | 227 CSSToLengthConversionData css_to_length_conversion_data_; |
| 228 | 228 |
| 229 // m_parentStyle is not always just ElementResolveContext::parentStyle, | 229 // parent_style_ is not always just ElementResolveContext::ParentStyle(), |
| 230 // so we keep it separate. | 230 // so we keep it separate. |
| 231 RefPtr<ComputedStyle> parent_style_; | 231 RefPtr<ComputedStyle> parent_style_; |
| 232 // This will almost-always be the same that m_parentStyle, except in the | 232 // This will almost-always be the same that parent_style_, except in the |
| 233 // presence of display: contents. This is the style against which we have to | 233 // presence of display: contents. This is the style against which we have to |
| 234 // do adjustment. | 234 // do adjustment. |
| 235 RefPtr<const ComputedStyle> layout_parent_style_; | 235 RefPtr<const ComputedStyle> layout_parent_style_; |
| 236 | 236 |
| 237 CSSAnimationUpdate animation_update_; | 237 CSSAnimationUpdate animation_update_; |
| 238 bool is_animation_interpolation_map_ready_; | 238 bool is_animation_interpolation_map_ready_; |
| 239 bool is_animating_custom_properties_; | 239 bool is_animating_custom_properties_; |
| 240 | 240 |
| 241 bool apply_property_to_regular_style_; | 241 bool apply_property_to_regular_style_; |
| 242 bool apply_property_to_visited_link_style_; | 242 bool apply_property_to_visited_link_style_; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 253 | 253 |
| 254 mutable HeapHashMap< | 254 mutable HeapHashMap< |
| 255 Member<const CSSPendingSubstitutionValue>, | 255 Member<const CSSPendingSubstitutionValue>, |
| 256 Member<HeapHashMap<CSSPropertyID, Member<const CSSValue>>>> | 256 Member<HeapHashMap<CSSPropertyID, Member<const CSSValue>>>> |
| 257 parsed_properties_for_pending_substitution_cache_; | 257 parsed_properties_for_pending_substitution_cache_; |
| 258 }; | 258 }; |
| 259 | 259 |
| 260 } // namespace blink | 260 } // namespace blink |
| 261 | 261 |
| 262 #endif // StyleResolverState_h | 262 #endif // StyleResolverState_h |
| OLD | NEW |