| 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 * Copyright (C) 2012 Google Inc. All rights reserved. | 5 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * DAMAGE. | 26 * DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef ScopedStyleResolver_h | 29 #ifndef ScopedStyleResolver_h |
| 30 #define ScopedStyleResolver_h | 30 #define ScopedStyleResolver_h |
| 31 | 31 |
| 32 #include "core/css/ActiveStyleSheets.h" | 32 #include "core/css/ActiveStyleSheets.h" |
| 33 #include "core/css/ElementRuleCollector.h" | 33 #include "core/css/ElementRuleCollector.h" |
| 34 #include "core/css/RuleSet.h" | 34 #include "core/css/RuleSet.h" |
| 35 #include "core/dom/TreeScope.h" | 35 #include "core/dom/TreeScope.h" |
| 36 #include "wtf/HashMap.h" | 36 #include "platform/wtf/HashMap.h" |
| 37 #include "wtf/HashSet.h" | 37 #include "platform/wtf/HashSet.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class PageRuleCollector; | 41 class PageRuleCollector; |
| 42 class StyleSheetContents; | 42 class StyleSheetContents; |
| 43 | 43 |
| 44 // This class selects a ComputedStyle for a given element based on a collection | 44 // This class selects a ComputedStyle for a given element based on a collection |
| 45 // of stylesheets. | 45 // of stylesheets. |
| 46 class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> { | 46 class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> { |
| 47 WTF_MAKE_NONCOPYABLE(ScopedStyleResolver); | 47 WTF_MAKE_NONCOPYABLE(ScopedStyleResolver); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 Member<CSSStyleSheetRuleSubSet> tree_boundary_crossing_rule_set_; | 126 Member<CSSStyleSheetRuleSubSet> tree_boundary_crossing_rule_set_; |
| 127 bool has_deep_or_shadow_selector_ = false; | 127 bool has_deep_or_shadow_selector_ = false; |
| 128 bool has_unresolved_keyframes_rule_ = false; | 128 bool has_unresolved_keyframes_rule_ = false; |
| 129 bool needs_append_all_sheets_ = false; | 129 bool needs_append_all_sheets_ = false; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace blink | 132 } // namespace blink |
| 133 | 133 |
| 134 #endif // ScopedStyleResolver_h | 134 #endif // ScopedStyleResolver_h |
| OLD | NEW |