Commit e1cc00be authored by fs's avatar fs Committed by Commit bot

Slim includes in CSSValue.h

This drops includes from CSSValue.h that are not directly used by it.
Downstream dependents are fixed up as needed. Also strip some includes
from StyleImage.h and other places that includes CSSValue.h while
there.

Review-Url: https://codereview.chromium.org/2345223002
Cr-Commit-Position: refs/heads/master@{#419384}
parent d5631a9b
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "core/CSSPropertyNames.h" #include "core/CSSPropertyNames.h"
#include "core/css/CSSValue.h" #include "core/css/CSSValue.h"
#include "wtf/text/AtomicString.h"
namespace blink { namespace blink {
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#define CSSFontFamilyValue_h #define CSSFontFamilyValue_h
#include "core/css/CSSValue.h" #include "core/css/CSSValue.h"
#include "wtf/text/WTFString.h"
namespace blink { namespace blink {
......
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
#include "core/css/CSSGridLineNamesValue.h" #include "core/css/CSSGridLineNamesValue.h"
#include "wtf/text/WTFString.h"
namespace blink { namespace blink {
String CSSGridLineNamesValue::customCSSText() const String CSSGridLineNamesValue::customCSSText() const
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define CSSGridLineNamesValue_h #define CSSGridLineNamesValue_h
#include "core/css/CSSValueList.h" #include "core/css/CSSValueList.h"
#include "wtf/PassRefPtr.h"
namespace blink { namespace blink {
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#define CSSStringValue_h #define CSSStringValue_h
#include "core/css/CSSValue.h" #include "core/css/CSSValue.h"
#include "wtf/text/WTFString.h"
namespace blink { namespace blink {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#define CSSUnicodeRangeValue_h #define CSSUnicodeRangeValue_h
#include "core/css/CSSValue.h" #include "core/css/CSSValue.h"
#include "wtf/PassRefPtr.h" #include "wtf/text/Unicode.h"
namespace blink { namespace blink {
......
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
#include "core/CoreExport.h" #include "core/CoreExport.h"
#include "platform/heap/Handle.h" #include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
#include "wtf/HashMap.h"
#include "wtf/ListHashSet.h"
#include "wtf/RefPtr.h" #include "wtf/RefPtr.h"
namespace blink { namespace blink {
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "core/CoreExport.h" #include "core/CoreExport.h"
#include "core/css/CSSValue.h" #include "core/css/CSSValue.h"
#include "wtf/PassRefPtr.h"
#include "wtf/Vector.h" #include "wtf/Vector.h"
namespace blink { namespace blink {
......
...@@ -8,18 +8,20 @@ ...@@ -8,18 +8,20 @@
#include "core/CSSPropertyNames.h" #include "core/CSSPropertyNames.h"
#include "core/css/CSSValue.h" #include "core/css/CSSValue.h"
#include "wtf/Allocator.h" #include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/text/AtomicString.h"
namespace blink { namespace blink {
class LayoutObject; class CSSVariableData;
class ComputedStyle; class ComputedStyle;
class FilterOperations; class FilterOperations;
class LayoutObject;
class Node;
class PropertyRegistry;
class ShadowData; class ShadowData;
class ShadowList; class ShadowList;
class StyleColor; class StyleColor;
class Node;
class CSSVariableData;
class PropertyRegistry;
class ComputedStyleCSSValueMapping { class ComputedStyleCSSValueMapping {
STATIC_ONLY(ComputedStyleCSSValueMapping); STATIC_ONLY(ComputedStyleCSSValueMapping);
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "core/CSSPropertyNames.h" #include "core/CSSPropertyNames.h"
#include "core/CoreExport.h" #include "core/CoreExport.h"
#include "core/css/CSSValue.h" #include "core/css/CSSValue.h"
#include "wtf/text/WTFString.h"
namespace blink { namespace blink {
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "core/fetch/ResourceClient.h" #include "core/fetch/ResourceClient.h"
#include "core/style/StyleImage.h" #include "core/style/StyleImage.h"
#include "platform/weborigin/KURL.h"
namespace blink { namespace blink {
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "core/fetch/ResourceClient.h" #include "core/fetch/ResourceClient.h"
#include "core/style/StyleImage.h" #include "core/style/StyleImage.h"
#include "platform/geometry/LayoutSize.h" #include "platform/geometry/LayoutSize.h"
#include "platform/weborigin/KURL.h"
namespace blink { namespace blink {
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "core/svg/graphics/SVGImage.h" #include "core/svg/graphics/SVGImage.h"
#include "core/svg/graphics/SVGImageForContainer.h" #include "core/svg/graphics/SVGImageForContainer.h"
#include "platform/geometry/LayoutSize.h"
namespace blink { namespace blink {
......
...@@ -25,17 +25,16 @@ ...@@ -25,17 +25,16 @@
#define StyleImage_h #define StyleImage_h
#include "core/CoreExport.h" #include "core/CoreExport.h"
#include "core/css/CSSValue.h"
#include "platform/geometry/IntSize.h"
#include "platform/geometry/LayoutSize.h"
#include "platform/graphics/Image.h" #include "platform/graphics/Image.h"
#include "wtf/Forward.h" #include "wtf/Forward.h"
namespace blink { namespace blink {
class ImageResource;
class CSSValue; class CSSValue;
class ImageResource;
class IntSize;
class LayoutObject; class LayoutObject;
class LayoutSize;
class SVGImage; class SVGImage;
typedef void* WrappedImagePtr; typedef void* WrappedImagePtr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment