Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed html import issue. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 static ScopedStyleResolver* create(TreeScope& scope) { 50 static ScopedStyleResolver* create(TreeScope& scope) {
51 return new ScopedStyleResolver(scope); 51 return new ScopedStyleResolver(scope);
52 } 52 }
53 53
54 const TreeScope& treeScope() const { return *m_scope; } 54 const TreeScope& treeScope() const { return *m_scope; }
55 ScopedStyleResolver* parent() const; 55 ScopedStyleResolver* parent() const;
56 56
57 StyleRuleKeyframes* keyframeStylesForAnimation( 57 StyleRuleKeyframes* keyframeStylesForAnimation(
58 const StringImpl* animationName); 58 const StringImpl* animationName);
59 59
60 void appendCSSStyleSheet(CSSStyleSheet&);
61 void appendActiveStyleSheets(unsigned index, const ActiveStyleSheetVector&); 60 void appendActiveStyleSheets(unsigned index, const ActiveStyleSheetVector&);
62 void collectMatchingAuthorRules(ElementRuleCollector&, 61 void collectMatchingAuthorRules(ElementRuleCollector&,
63 CascadeOrder = ignoreCascadeOrder); 62 CascadeOrder = ignoreCascadeOrder);
64 void collectMatchingShadowHostRules(ElementRuleCollector&, 63 void collectMatchingShadowHostRules(ElementRuleCollector&,
65 CascadeOrder = ignoreCascadeOrder); 64 CascadeOrder = ignoreCascadeOrder);
66 void collectMatchingTreeBoundaryCrossingRules( 65 void collectMatchingTreeBoundaryCrossingRules(
67 ElementRuleCollector&, 66 ElementRuleCollector&,
68 CascadeOrder = ignoreCascadeOrder); 67 CascadeOrder = ignoreCascadeOrder);
69 void matchPageRules(PageRuleCollector&); 68 void matchPageRules(PageRuleCollector&);
70 void collectFeaturesTo(RuleFeatureSet&, 69 void collectFeaturesTo(RuleFeatureSet&,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 121
123 Member<CSSStyleSheetRuleSubSet> m_treeBoundaryCrossingRuleSet; 122 Member<CSSStyleSheetRuleSubSet> m_treeBoundaryCrossingRuleSet;
124 bool m_hasDeepOrShadowSelector = false; 123 bool m_hasDeepOrShadowSelector = false;
125 bool m_hasUnresolvedKeyframesRule = false; 124 bool m_hasUnresolvedKeyframesRule = false;
126 bool m_needsAppendAllSheets = false; 125 bool m_needsAppendAllSheets = false;
127 }; 126 };
128 127
129 } // namespace blink 128 } // namespace blink
130 129
131 #endif // ScopedStyleResolver_h 130 #endif // ScopedStyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698