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

Side by Side Diff: Source/core/css/StyleRule.cpp

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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
« no previous file with comments | « Source/core/css/StylePropertySet.cpp ('k') | Source/core/css/StyleRuleImport.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 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 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 #include "config.h" 22 #include "config.h"
23 #include "core/css/StyleRule.h" 23 #include "core/css/StyleRule.h"
24 24
25 #include "RuntimeEnabledFeatures.h"
26 #include "core/css/CSSCharsetRule.h"
27 #include "core/css/CSSFontFaceRule.h" 25 #include "core/css/CSSFontFaceRule.h"
28 #include "core/css/CSSHostRule.h" 26 #include "core/css/CSSHostRule.h"
29 #include "core/css/CSSImportRule.h" 27 #include "core/css/CSSImportRule.h"
30 #include "core/css/CSSMediaRule.h" 28 #include "core/css/CSSMediaRule.h"
31 #include "core/css/CSSPageRule.h" 29 #include "core/css/CSSPageRule.h"
32 #include "core/css/CSSStyleRule.h" 30 #include "core/css/CSSStyleRule.h"
33 #include "core/css/CSSSupportsRule.h" 31 #include "core/css/CSSSupportsRule.h"
34 #include "core/css/CSSUnknownRule.h"
35 #include "core/css/StylePropertySet.h" 32 #include "core/css/StylePropertySet.h"
36 #include "core/css/StyleRuleImport.h" 33 #include "core/css/StyleRuleImport.h"
37 #include "core/css/WebKitCSSFilterRule.h" 34 #include "core/css/WebKitCSSFilterRule.h"
38 #include "core/css/WebKitCSSKeyframeRule.h"
39 #include "core/css/WebKitCSSKeyframesRule.h" 35 #include "core/css/WebKitCSSKeyframesRule.h"
40 #include "core/css/WebKitCSSRegionRule.h" 36 #include "core/css/WebKitCSSRegionRule.h"
41 #include "core/css/WebKitCSSViewportRule.h"
42 #include "core/dom/WebCoreMemoryInstrumentation.h" 37 #include "core/dom/WebCoreMemoryInstrumentation.h"
43 #include <wtf/MemoryInstrumentationVector.h> 38 #include <wtf/MemoryInstrumentationVector.h>
44 39
45 namespace WebCore { 40 namespace WebCore {
46 41
47 struct SameSizeAsStyleRuleBase : public WTF::RefCountedBase { 42 struct SameSizeAsStyleRuleBase : public WTF::RefCountedBase {
48 unsigned bitfields; 43 unsigned bitfields;
49 }; 44 };
50 45
51 COMPILE_ASSERT(sizeof(StyleRuleBase) == sizeof(SameSizeAsStyleRuleBase), StyleRu leBase_should_stay_small); 46 COMPILE_ASSERT(sizeof(StyleRuleBase) == sizeof(SameSizeAsStyleRuleBase), StyleRu leBase_should_stay_small);
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 } 495 }
501 496
502 void StyleRuleFilter::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObject Info) const 497 void StyleRuleFilter::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObject Info) const
503 { 498 {
504 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 499 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
505 info.addMember(m_filterName); 500 info.addMember(m_filterName);
506 info.addMember(m_properties); 501 info.addMember(m_properties);
507 } 502 }
508 503
509 } // namespace WebCore 504 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/StylePropertySet.cpp ('k') | Source/core/css/StyleRuleImport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698