| 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.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
| 4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 void collectFeaturesTo(RuleFeatureSet&, HashSet<const StyleSheetContents*>&
visitedSharedStyleSheetContents); | 65 void collectFeaturesTo(RuleFeatureSet&, HashSet<const StyleSheetContents*>&
visitedSharedStyleSheetContents); |
| 66 void resetAuthorStyle(); | 66 void resetAuthorStyle(); |
| 67 void collectViewportRulesTo(StyleResolver*) const; | 67 void collectViewportRulesTo(StyleResolver*) const; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 explicit ScopedStyleResolver(ContainerNode& scopingNode) : m_scopingNode(sco
pingNode), m_parent(0) { } | 70 explicit ScopedStyleResolver(ContainerNode& scopingNode) : m_scopingNode(sco
pingNode), m_parent(0) { } |
| 71 | 71 |
| 72 ContainerNode& m_scopingNode; | 72 ContainerNode& m_scopingNode; |
| 73 ScopedStyleResolver* m_parent; | 73 ScopedStyleResolver* m_parent; |
| 74 | 74 |
| 75 Vector<CSSStyleSheet*> m_authorStyleSheets; | 75 WillBePersistentHeapVector<RawPtrWillBeMember<CSSStyleSheet> > m_authorStyle
Sheets; |
| 76 | 76 |
| 77 typedef WillBePersistentHeapHashMap<const StringImpl*, RefPtrWillBeMember<St
yleRuleKeyframes> > KeyframesRuleMap; | 77 typedef WillBePersistentHeapHashMap<const StringImpl*, RefPtrWillBeMember<St
yleRuleKeyframes> > KeyframesRuleMap; |
| 78 KeyframesRuleMap m_keyframesRuleMap; | 78 KeyframesRuleMap m_keyframesRuleMap; |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace WebCore | 81 } // namespace WebCore |
| 82 | 82 |
| 83 #endif // ScopedStyleResolver_h | 83 #endif // ScopedStyleResolver_h |
| OLD | NEW |