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

Side by Side Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2008263002: Remove unnecessary includes from ComputedStyle.h and from its includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
7 * Copyright (C) 2015 Google Inc. All rights reserved. 7 * Copyright (C) 2015 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version. 12 * version 2 of the License, or (at your option) any later version.
13 * 13 *
14 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details. 17 * Lesser General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU Lesser General Public 19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software 20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 * 02110-1301 USA 22 * 02110-1301 USA
23 */ 23 */
24 24
25 #include "core/css/ComputedStyleCSSValueMapping.h" 25 #include "core/css/ComputedStyleCSSValueMapping.h"
26 26
27 #include "core/StylePropertyShorthand.h" 27 #include "core/StylePropertyShorthand.h"
28 #include "core/animation/css/CSSAnimationData.h"
29 #include "core/animation/css/CSSTransitionData.h"
28 #include "core/css/BasicShapeFunctions.h" 30 #include "core/css/BasicShapeFunctions.h"
29 #include "core/css/CSSBasicShapeValues.h" 31 #include "core/css/CSSBasicShapeValues.h"
30 #include "core/css/CSSBorderImage.h" 32 #include "core/css/CSSBorderImage.h"
31 #include "core/css/CSSBorderImageSliceValue.h" 33 #include "core/css/CSSBorderImageSliceValue.h"
32 #include "core/css/CSSCounterValue.h" 34 #include "core/css/CSSCounterValue.h"
33 #include "core/css/CSSCustomIdentValue.h" 35 #include "core/css/CSSCustomIdentValue.h"
34 #include "core/css/CSSCustomPropertyDeclaration.h" 36 #include "core/css/CSSCustomPropertyDeclaration.h"
35 #include "core/css/CSSFontFeatureValue.h" 37 #include "core/css/CSSFontFeatureValue.h"
36 #include "core/css/CSSFunctionValue.h" 38 #include "core/css/CSSFunctionValue.h"
37 #include "core/css/CSSGridLineNamesValue.h" 39 #include "core/css/CSSGridLineNamesValue.h"
38 #include "core/css/CSSGridTemplateAreasValue.h" 40 #include "core/css/CSSGridTemplateAreasValue.h"
39 #include "core/css/CSSPathValue.h" 41 #include "core/css/CSSPathValue.h"
40 #include "core/css/CSSPrimitiveValueMappings.h" 42 #include "core/css/CSSPrimitiveValueMappings.h"
41 #include "core/css/CSSQuadValue.h" 43 #include "core/css/CSSQuadValue.h"
42 #include "core/css/CSSReflectValue.h" 44 #include "core/css/CSSReflectValue.h"
43 #include "core/css/CSSShadowValue.h" 45 #include "core/css/CSSShadowValue.h"
44 #include "core/css/CSSStringValue.h" 46 #include "core/css/CSSStringValue.h"
45 #include "core/css/CSSTimingFunctionValue.h" 47 #include "core/css/CSSTimingFunctionValue.h"
46 #include "core/css/CSSURIValue.h" 48 #include "core/css/CSSURIValue.h"
47 #include "core/css/CSSValueList.h" 49 #include "core/css/CSSValueList.h"
48 #include "core/css/CSSValuePair.h" 50 #include "core/css/CSSValuePair.h"
49 #include "core/css/CSSValuePool.h" 51 #include "core/css/CSSValuePool.h"
50 #include "core/layout/LayoutBlock.h" 52 #include "core/layout/LayoutBlock.h"
51 #include "core/layout/LayoutBox.h" 53 #include "core/layout/LayoutBox.h"
52 #include "core/layout/LayoutGrid.h" 54 #include "core/layout/LayoutGrid.h"
53 #include "core/layout/LayoutObject.h" 55 #include "core/layout/LayoutObject.h"
54 #include "core/style/ComputedStyle.h" 56 #include "core/style/ComputedStyle.h"
55 #include "core/style/ContentData.h" 57 #include "core/style/ContentData.h"
58 #include "core/style/CursorData.h"
56 #include "core/style/QuotesData.h" 59 #include "core/style/QuotesData.h"
57 #include "core/style/ShadowList.h" 60 #include "core/style/ShadowList.h"
58 #include "core/style/StyleVariableData.h" 61 #include "core/style/StyleVariableData.h"
59 #include "platform/LengthFunctions.h" 62 #include "platform/LengthFunctions.h"
60 63
61 namespace blink { 64 namespace blink {
62 65
63 inline static bool isFlexOrGrid(const ComputedStyle* style) 66 inline static bool isFlexOrGrid(const ComputedStyle* style)
64 { 67 {
65 return style && style->isDisplayFlexibleOrGridBox(); 68 return style && style->isDisplayFlexibleOrGridBox();
(...skipping 2938 matching lines...) Expand 10 before | Expand all | Expand 10 after
3004 case CSSPropertyAll: 3007 case CSSPropertyAll:
3005 return nullptr; 3008 return nullptr;
3006 default: 3009 default:
3007 break; 3010 break;
3008 } 3011 }
3009 ASSERT_NOT_REACHED(); 3012 ASSERT_NOT_REACHED();
3010 return nullptr; 3013 return nullptr;
3011 } 3014 }
3012 3015
3013 } // namespace blink 3016 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698