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

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

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 CrossOriginCSSRules = 1 << 4, 130 CrossOriginCSSRules = 1 << 4,
131 AllButEmptyCSSRules = UAAndUserCSSRules | AuthorCSSRules | CrossOriginCS SRules, 131 AllButEmptyCSSRules = UAAndUserCSSRules | AuthorCSSRules | CrossOriginCS SRules,
132 AllCSSRules = AllButEmptyCSSRules | EmptyCSSRules, 132 AllCSSRules = AllButEmptyCSSRules | EmptyCSSRules,
133 }; 133 };
134 PassRefPtrWillBeRawPtr<CSSRuleList> cssRulesForElement(Element*, unsigned ru lesToInclude = AllButEmptyCSSRules); 134 PassRefPtrWillBeRawPtr<CSSRuleList> cssRulesForElement(Element*, unsigned ru lesToInclude = AllButEmptyCSSRules);
135 PassRefPtrWillBeRawPtr<CSSRuleList> pseudoCSSRulesForElement(Element*, Pseud oId, unsigned rulesToInclude = AllButEmptyCSSRules); 135 PassRefPtrWillBeRawPtr<CSSRuleList> pseudoCSSRulesForElement(Element*, Pseud oId, unsigned rulesToInclude = AllButEmptyCSSRules);
136 PassRefPtrWillBeRawPtr<StyleRuleList> styleRulesForElement(Element*, unsigne d rulesToInclude); 136 PassRefPtrWillBeRawPtr<StyleRuleList> styleRulesForElement(Element*, unsigne d rulesToInclude);
137 137
138 void computeFont(ComputedStyle*, const StylePropertySet&); 138 void computeFont(ComputedStyle*, const StylePropertySet&);
139 139
140 ViewportStyleResolver* viewportStyleResolver() { return m_viewportStyleResol ver.get(); } 140 ViewportStyleResolver* viewportStyleResolver() const;
141 141
142 void addMediaQueryResults(const MediaQueryResultList&); 142 void addMediaQueryResults(const MediaQueryResultList&);
143 MediaQueryResultList* viewportDependentMediaQueryResults() { return &m_viewp ortDependentMediaQueryResults; } 143 MediaQueryResultList* viewportDependentMediaQueryResults() { return &m_viewp ortDependentMediaQueryResults; }
144 bool hasViewportDependentMediaQueries() const { return !m_viewportDependentM ediaQueryResults.isEmpty(); } 144 bool hasViewportDependentMediaQueries() const { return !m_viewportDependentM ediaQueryResults.isEmpty(); }
145 bool mediaQueryAffectedByViewportChange() const; 145 bool mediaQueryAffectedByViewportChange() const;
146 146
147 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something . 147 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something .
148 void invalidateMatchedPropertiesCache(); 148 void invalidateMatchedPropertiesCache();
149 149
150 void notifyResizeForViewportUnits(); 150 void notifyResizeForViewportUnits();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 OwnPtr<StyleResolverStats> m_styleResolverStats; 265 OwnPtr<StyleResolverStats> m_styleResolverStats;
266 266
267 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 267 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
268 unsigned m_accessCount; 268 unsigned m_accessCount;
269 }; 269 };
270 270
271 } // namespace blink 271 } // namespace blink
272 272
273 #endif // StyleResolver_h 273 #endif // StyleResolver_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRuleImport.cpp ('k') | third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698