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 @@
#include "core/CSSPropertyNames.h"
#include "core/css/CSSValue.h"
#include "wtf/text/AtomicString.h"
namespace blink {
......
......@@ -6,6 +6,7 @@
#define CSSFontFamilyValue_h
#include "core/css/CSSValue.h"
#include "wtf/text/WTFString.h"
namespace blink {
......
......@@ -30,6 +30,8 @@
#include "core/css/CSSGridLineNamesValue.h"
#include "wtf/text/WTFString.h"
namespace blink {
String CSSGridLineNamesValue::customCSSText() const
......
......@@ -32,7 +32,6 @@
#define CSSGridLineNamesValue_h
#include "core/css/CSSValueList.h"
#include "wtf/PassRefPtr.h"
namespace blink {
......
......@@ -6,6 +6,7 @@
#define CSSStringValue_h
#include "core/css/CSSValue.h"
#include "wtf/text/WTFString.h"
namespace blink {
......
......@@ -27,7 +27,7 @@
#define CSSUnicodeRangeValue_h
#include "core/css/CSSValue.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/Unicode.h"
namespace blink {
......
......@@ -23,9 +23,6 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
#include "wtf/HashMap.h"
#include "wtf/ListHashSet.h"
#include "wtf/RefPtr.h"
namespace blink {
......
......@@ -23,7 +23,6 @@
#include "core/CoreExport.h"
#include "core/css/CSSValue.h"
#include "wtf/PassRefPtr.h"
#include "wtf/Vector.h"
namespace blink {
......
......@@ -8,18 +8,20 @@
#include "core/CSSPropertyNames.h"
#include "core/css/CSSValue.h"
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/text/AtomicString.h"
namespace blink {
class LayoutObject;
class CSSVariableData;
class ComputedStyle;
class FilterOperations;
class LayoutObject;
class Node;
class PropertyRegistry;
class ShadowData;
class ShadowList;
class StyleColor;
class Node;
class CSSVariableData;
class PropertyRegistry;
class ComputedStyleCSSValueMapping {
STATIC_ONLY(ComputedStyleCSSValueMapping);
......
......@@ -9,6 +9,7 @@
#include "core/CSSPropertyNames.h"
#include "core/CoreExport.h"
#include "core/css/CSSValue.h"
#include "wtf/text/WTFString.h"
namespace blink {
......
......@@ -26,6 +26,7 @@
#include "core/fetch/ResourceClient.h"
#include "core/style/StyleImage.h"
#include "platform/weborigin/KURL.h"
namespace blink {
......
......@@ -29,6 +29,7 @@
#include "core/fetch/ResourceClient.h"
#include "core/style/StyleImage.h"
#include "platform/geometry/LayoutSize.h"
#include "platform/weborigin/KURL.h"
namespace blink {
......
......@@ -6,6 +6,7 @@
#include "core/svg/graphics/SVGImage.h"
#include "core/svg/graphics/SVGImageForContainer.h"
#include "platform/geometry/LayoutSize.h"
namespace blink {
......
......@@ -25,17 +25,16 @@
#define StyleImage_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 "wtf/Forward.h"
namespace blink {
class ImageResource;
class CSSValue;
class ImageResource;
class IntSize;
class LayoutObject;
class LayoutSize;
class SVGImage;
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