OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google, Inc. | 2 * Copyright (C) 2013 Google, Inc. |
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
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 10 matching lines...) Expand all Loading... |
21 | 21 |
22 #ifndef SharedStyleFinder_h | 22 #ifndef SharedStyleFinder_h |
23 #define SharedStyleFinder_h | 23 #define SharedStyleFinder_h |
24 | 24 |
25 #include "core/css/resolver/ElementResolveContext.h" | 25 #include "core/css/resolver/ElementResolveContext.h" |
26 #include "core/dom/Element.h" | 26 #include "core/dom/Element.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 class Element; | 30 class Element; |
31 class Node; | |
32 class RenderStyle; | 31 class RenderStyle; |
33 class RuleFeatureSet; | 32 class RuleFeatureSet; |
34 class RuleSet; | 33 class RuleSet; |
35 class SpaceSplitString; | 34 class SpaceSplitString; |
36 class StyleResolver; | 35 class StyleResolver; |
37 | 36 |
38 class SharedStyleFinder { | 37 class SharedStyleFinder { |
39 STACK_ALLOCATED(); | 38 STACK_ALLOCATED(); |
40 public: | 39 public: |
41 // RuleSets are passed non-const as the act of matching against them can cau
se them | 40 // RuleSets are passed non-const as the act of matching against them can cau
se them |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const RuleFeatureSet& m_features; | 74 const RuleFeatureSet& m_features; |
76 RawPtrWillBeMember<RuleSet> m_siblingRuleSet; | 75 RawPtrWillBeMember<RuleSet> m_siblingRuleSet; |
77 RawPtrWillBeMember<RuleSet> m_uncommonAttributeRuleSet; | 76 RawPtrWillBeMember<RuleSet> m_uncommonAttributeRuleSet; |
78 StyleResolver& m_styleResolver; | 77 StyleResolver& m_styleResolver; |
79 const ElementResolveContext& m_context; | 78 const ElementResolveContext& m_context; |
80 }; | 79 }; |
81 | 80 |
82 } // namespace blink | 81 } // namespace blink |
83 | 82 |
84 #endif // SharedStyleFinder_h | 83 #endif // SharedStyleFinder_h |
OLD | NEW |