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

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

Issue 15387004: Remove some unused includes from core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: 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/SVGCSSParser.cpp ('k') | Source/core/css/SelectorChecker.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 Copyright (C) 2005 Apple Computer, Inc. 2 Copyright (C) 2005 Apple Computer, Inc.
3 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 2004, 2005, 2008 Rob Buis <buis@kde.org> 4 2004, 2005, 2008 Rob Buis <buis@kde.org>
5 Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 5 Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
6 6
7 Based on khtml css code by: 7 Based on khtml css code by:
8 Copyright(C) 1999-2003 Lars Knoll(knoll@kde.org) 8 Copyright(C) 1999-2003 Lars Knoll(knoll@kde.org)
9 (C) 2003 Apple Computer, Inc. 9 (C) 2003 Apple Computer, Inc.
10 (C) 2004 Allan Sandfeld Jensen(kde@carewolf.com) 10 (C) 2004 Allan Sandfeld Jensen(kde@carewolf.com)
(...skipping 15 matching lines...) Expand all
26 Boston, MA 02110-1301, USA. 26 Boston, MA 02110-1301, USA.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 30
31 #if ENABLE(SVG) 31 #if ENABLE(SVG)
32 #include "core/css/resolver/StyleResolver.h" 32 #include "core/css/resolver/StyleResolver.h"
33 33
34 #include <stdlib.h> 34 #include <stdlib.h>
35 #include "CSSPropertyNames.h" 35 #include "CSSPropertyNames.h"
36 #include "SVGNames.h"
37 #include "core/css/CSSPrimitiveValueMappings.h" 36 #include "core/css/CSSPrimitiveValueMappings.h"
38 #include "core/css/CSSValueList.h" 37 #include "core/css/CSSValueList.h"
39 #include "core/css/ShadowValue.h" 38 #include "core/css/ShadowValue.h"
40 #include "core/dom/Document.h"
41 #include "core/rendering/style/SVGRenderStyle.h" 39 #include "core/rendering/style/SVGRenderStyle.h"
42 #include "core/rendering/style/SVGRenderStyleDefs.h" 40 #include "core/rendering/style/SVGRenderStyleDefs.h"
43 #include "core/svg/SVGColor.h" 41 #include "core/svg/SVGColor.h"
44 #include "core/svg/SVGPaint.h" 42 #include "core/svg/SVGPaint.h"
45 #include "core/svg/SVGStyledElement.h"
46 #include "core/svg/SVGURIReference.h" 43 #include "core/svg/SVGURIReference.h"
47 #include <wtf/MathExtras.h> 44 #include <wtf/MathExtras.h>
48 45
49 #define HANDLE_INHERIT(prop, Prop) \ 46 #define HANDLE_INHERIT(prop, Prop) \
50 if (isInherit) \ 47 if (isInherit) \
51 { \ 48 { \
52 svgstyle->set##Prop(state.parentStyle()->svgStyle()->prop()); \ 49 svgstyle->set##Prop(state.parentStyle()->svgStyle()->prop()); \
53 return; \ 50 return; \
54 } 51 }
55 52
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 // If you crash here, it's because you added a css property and are not handling it 605 // If you crash here, it's because you added a css property and are not handling it
609 // in either this switch statement or the one in StyleResolver::appl yProperty 606 // in either this switch statement or the one in StyleResolver::appl yProperty
610 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", id); 607 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", id);
611 return; 608 return;
612 } 609 }
613 } 610 }
614 611
615 } 612 }
616 613
617 #endif 614 #endif
OLDNEW
« no previous file with comments | « Source/core/css/SVGCSSParser.cpp ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698