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

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

Issue 2219543003: Elements using @apply shouldn't use the MatchedPropertiesCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove check Created 4 years, 4 months 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. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 template <CSSPropertyPriority priority> 202 template <CSSPropertyPriority priority>
203 void applyMatchedProperties(StyleResolverState&, const MatchedPropertiesRang e&, bool important, bool inheritedOnly); 203 void applyMatchedProperties(StyleResolverState&, const MatchedPropertiesRang e&, bool important, bool inheritedOnly);
204 template <CSSPropertyPriority priority> 204 template <CSSPropertyPriority priority>
205 void applyProperties(StyleResolverState&, const StylePropertySet* properties , bool isImportant, bool inheritedOnly, PropertyWhitelistType = PropertyWhitelis tNone); 205 void applyProperties(StyleResolverState&, const StylePropertySet* properties , bool isImportant, bool inheritedOnly, PropertyWhitelistType = PropertyWhitelis tNone);
206 template <CSSPropertyPriority priority> 206 template <CSSPropertyPriority priority>
207 void applyAnimatedProperties(StyleResolverState&, const ActiveInterpolations Map&); 207 void applyAnimatedProperties(StyleResolverState&, const ActiveInterpolations Map&);
208 template <CSSPropertyPriority priority> 208 template <CSSPropertyPriority priority>
209 void applyAllProperty(StyleResolverState&, const CSSValue&, bool inheritedOn ly, PropertyWhitelistType); 209 void applyAllProperty(StyleResolverState&, const CSSValue&, bool inheritedOn ly, PropertyWhitelistType);
210 template <CSSPropertyPriority priority> 210 template <CSSPropertyPriority priority>
211 void applyPropertiesForApplyAtRule(StyleResolverState&, const CSSValue&, boo l isImportant, bool inheritedOnly, PropertyWhitelistType); 211 void applyPropertiesForApplyAtRule(StyleResolverState&, const CSSValue&, boo l isImportant, PropertyWhitelistType);
212 212
213 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, cons t ComputedStyle* parentStyle, StyleResolverState&); 213 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, cons t ComputedStyle* parentStyle, StyleResolverState&);
214 bool hasAuthorBackground(const StyleResolverState&); 214 bool hasAuthorBackground(const StyleResolverState&);
215 bool hasAuthorBorder(const StyleResolverState&); 215 bool hasAuthorBorder(const StyleResolverState&);
216 216
217 PseudoElement* createPseudoElement(Element* parent, PseudoId); 217 PseudoElement* createPseudoElement(Element* parent, PseudoId);
218 218
219 Document& document() { return *m_document; } 219 Document& document() { return *m_document; }
220 220
221 static ComputedStyle* s_styleNotYetAvailable; 221 static ComputedStyle* s_styleNotYetAvailable;
(...skipping 24 matching lines...) Expand all
246 bool m_printMediaType; 246 bool m_printMediaType;
247 bool m_hasFullscreenUAStyle = false; 247 bool m_hasFullscreenUAStyle = false;
248 248
249 unsigned m_styleSharingDepth; 249 unsigned m_styleSharingDepth;
250 HeapVector<Member<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLis ts; 250 HeapVector<Member<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLis ts;
251 }; 251 };
252 252
253 } // namespace blink 253 } // namespace blink
254 254
255 #endif // StyleResolver_h 255 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698