Reviewed by Alexey Proskuryakov.
Forward declare some headers where possible
https://bugs.webkit.org/show_bug.cgi?id=52133
No new tests because no new functionality.
* css/CSSValue.h:
* dom/BeforeLoadEvent.h:
* dom/Event.cpp:
* dom/Event.h:
* dom/StyledElement.cpp:
* dom/StyledElement.h:
* loader/DocumentLoader.h:
* loader/FrameLoader.h:
* page/Frame.h:
* platform/graphics/GraphicsContext.cpp:
* platform/graphics/GraphicsContext.h:
* platform/graphics/filters/FEBlend.cpp:
* platform/graphics/filters/FEColorMatrix.cpp:
* platform/graphics/filters/FEComponentTransfer.cpp:
* platform/graphics/filters/FEComposite.cpp:
* platform/graphics/filters/FEConvolveMatrix.cpp:
* platform/graphics/filters/FEDiffuseLighting.cpp:
* platform/graphics/filters/FEDisplacementMap.cpp:
* platform/graphics/filters/FEFlood.cpp:
* platform/graphics/filters/FEGaussianBlur.cpp:
* platform/graphics/filters/FEMerge.cpp:
* platform/graphics/filters/FEMorphology.cpp:
* platform/graphics/filters/FEOffset.cpp:
* platform/graphics/filters/FESpecularLighting.cpp:
* platform/graphics/filters/FETile.cpp:
* platform/graphics/filters/FETurbulence.cpp:
* platform/graphics/filters/FilterEffect.cpp:
* platform/graphics/filters/FilterEffect.h:
* platform/graphics/filters/SourceAlpha.cpp:
* platform/graphics/filters/SourceGraphic.cpp:
* svg/SVGElement.cpp:
* svg/SVGElement.h:
* svg/SVGFEBlendElement.cpp:
* svg/SVGFEColorMatrixElement.cpp:
* svg/SVGFEComponentTransferElement.cpp:
* svg/SVGFECompositeElement.cpp:
* svg/SVGFEConvolveMatrixElement.cpp:
* svg/SVGFEConvolveMatrixElement.h:
* svg/SVGFEDiffuseLightingElement.cpp:
* svg/SVGFEDisplacementMapElement.cpp:
* svg/SVGFEGaussianBlurElement.cpp:
* svg/SVGFEImageElement.h:
* svg/SVGFEMergeElement.cpp:
* svg/SVGFEMorphologyElement.cpp:
* svg/SVGFEOffsetElement.cpp:
* svg/SVGFESpecularLightingElement.cpp:
* svg/SVGFETileElement.cpp:
* svg/SVGFETurbulenceElement.h:
* svg/SVGFilterPrimitiveStandardAttributes.cpp:
* svg/SVGFilterPrimitiveStandardAttributes.h:
* svg/SVGTextContentElement.cpp:
* svg/graphics/filters/SVGFEImage.cpp:
* svg/graphics/filters/SVGFEImage.h:
2011-01-09 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Alexey Proskuryakov.
Forward declare some headers where possible
https://bugs.webkit.org/show_bug.cgi?id=52133
* WebView/WebFrame.mm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75377
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-01-09 Tony Gentilcore <tonyg@chromium.org>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Forward declare some headers where possible
+ https://bugs.webkit.org/show_bug.cgi?id=52133
+
+ No new tests because no new functionality.
+
+ * css/CSSValue.h:
+ * dom/BeforeLoadEvent.h:
+ * dom/Event.cpp:
+ * dom/Event.h:
+ * dom/StyledElement.cpp:
+ * dom/StyledElement.h:
+ * loader/DocumentLoader.h:
+ * loader/FrameLoader.h:
+ * page/Frame.h:
+ * platform/graphics/GraphicsContext.cpp:
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/filters/FEBlend.cpp:
+ * platform/graphics/filters/FEColorMatrix.cpp:
+ * platform/graphics/filters/FEComponentTransfer.cpp:
+ * platform/graphics/filters/FEComposite.cpp:
+ * platform/graphics/filters/FEConvolveMatrix.cpp:
+ * platform/graphics/filters/FEDiffuseLighting.cpp:
+ * platform/graphics/filters/FEDisplacementMap.cpp:
+ * platform/graphics/filters/FEFlood.cpp:
+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ * platform/graphics/filters/FEMerge.cpp:
+ * platform/graphics/filters/FEMorphology.cpp:
+ * platform/graphics/filters/FEOffset.cpp:
+ * platform/graphics/filters/FESpecularLighting.cpp:
+ * platform/graphics/filters/FETile.cpp:
+ * platform/graphics/filters/FETurbulence.cpp:
+ * platform/graphics/filters/FilterEffect.cpp:
+ * platform/graphics/filters/FilterEffect.h:
+ * platform/graphics/filters/SourceAlpha.cpp:
+ * platform/graphics/filters/SourceGraphic.cpp:
+ * svg/SVGElement.cpp:
+ * svg/SVGElement.h:
+ * svg/SVGFEBlendElement.cpp:
+ * svg/SVGFEColorMatrixElement.cpp:
+ * svg/SVGFEComponentTransferElement.cpp:
+ * svg/SVGFECompositeElement.cpp:
+ * svg/SVGFEConvolveMatrixElement.cpp:
+ * svg/SVGFEConvolveMatrixElement.h:
+ * svg/SVGFEDiffuseLightingElement.cpp:
+ * svg/SVGFEDisplacementMapElement.cpp:
+ * svg/SVGFEGaussianBlurElement.cpp:
+ * svg/SVGFEImageElement.h:
+ * svg/SVGFEMergeElement.cpp:
+ * svg/SVGFEMorphologyElement.cpp:
+ * svg/SVGFEOffsetElement.cpp:
+ * svg/SVGFESpecularLightingElement.cpp:
+ * svg/SVGFETileElement.cpp:
+ * svg/SVGFETurbulenceElement.h:
+ * svg/SVGFilterPrimitiveStandardAttributes.cpp:
+ * svg/SVGFilterPrimitiveStandardAttributes.h:
+ * svg/SVGTextContentElement.cpp:
+ * svg/graphics/filters/SVGFEImage.cpp:
+ * svg/graphics/filters/SVGFEImage.h:
+
2011-01-10 Adam Roben <aroben@apple.com>
Windows build fix after r75313
#ifndef CSSValue_h
#define CSSValue_h
-#include "StyleBase.h"
-
#include "CSSParserValues.h"
#include "KURLHash.h"
#include <wtf/ListHashSet.h>
#define BeforeLoadEvent_h
#include "Event.h"
+#include "EventNames.h"
namespace WebCore {
#include "config.h"
#include "Event.h"
+#include "EventTarget.h"
#include "UserGestureIndicator.h"
#include <wtf/CurrentTime.h>
#define Event_h
#include "DOMTimeStamp.h"
-#include "EventTarget.h"
#include <wtf/RefCounted.h>
#include <wtf/text/AtomicString.h>
namespace WebCore {
class Clipboard;
+ class EventTarget;
class Event : public RefCounted<Event> {
public:
#include "StyledElement.h"
#include "Attribute.h"
-#include "ClassList.h"
+#include "CSSMutableStyleDeclaration.h"
#include "CSSStyleSelector.h"
#include "CSSStyleSheet.h"
#include "CSSValueKeywords.h"
+#include "ClassList.h"
#include "DOMTokenList.h"
#include "Document.h"
#include "HTMLNames.h"
#ifndef StyledElement_h
#define StyledElement_h
-#include "CSSMutableStyleDeclaration.h"
#include "Element.h"
#include "MappedAttributeEntry.h"
class Attribute;
class CSSMappedAttributeDeclaration;
+class CSSMutableStyleDeclaration;
class StyledElement : public Element {
public:
#include "ResourceResponse.h"
#include "SubstituteData.h"
#include "Timer.h"
+#include <wtf/HashSet.h>
+#include <wtf/RefPtr.h>
+#include <wtf/Vector.h>
namespace WebCore {
#include "FrameLoaderStateMachine.h"
#include "FrameLoaderTypes.h"
#include "HistoryController.h"
-#include "NavigationScheduler.h"
-#include "PolicyCallback.h"
#include "PolicyChecker.h"
#include "ResourceLoadNotifier.h"
-#include "ResourceRequest.h"
#include "SubframeLoader.h"
#include "ThreadableLoader.h"
#include "Timer.h"
#include <wtf/Forward.h>
+#include <wtf/HashSet.h>
namespace WebCore {
class ProtectionSpace;
class ResourceError;
class ResourceLoader;
+class ResourceRequest;
class ResourceResponse;
class ScriptSourceCode;
class ScriptValue;
#include "EventHandler.h"
#include "FrameLoader.h"
#include "FrameTree.h"
+#include "NavigationScheduler.h"
#include "SelectionController.h"
#include "ScriptController.h"
#include "UserScriptTypes.h"
#include "Font.h"
#include "Generator.h"
#include "ImageBuffer.h"
+#include "IntRect.h"
using namespace std;
#include "FloatRect.h"
#include "Gradient.h"
#include "Image.h"
-#include "IntRect.h"
#include "Path.h"
#include "Pattern.h"
-#include "TextDirection.h"
#include <wtf/Noncopyable.h>
#include <wtf/PassOwnPtr.h>
class Generator;
class GraphicsContextPlatformPrivate;
class ImageBuffer;
+ class IntRect;
class KURL;
class SharedGraphicsContext3D;
class TextRun;
#include "Filter.h"
#include "FloatPoint.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include <wtf/MathExtras.h>
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include <wtf/MathExtras.h>
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include "FEConvolveMatrix.h"
#include "Filter.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include "FEDiffuseLighting.h"
#include "LightSource.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
namespace WebCore {
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
namespace WebCore {
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include <wtf/MathExtras.h>
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
namespace WebCore {
#include "FEMorphology.h"
#include "Filter.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include <wtf/Vector.h>
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
namespace WebCore {
#include "FESpecularLighting.h"
#include "LightSource.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
namespace WebCore {
#include "Filter.h"
#include "GraphicsContext.h"
#include "Pattern.h"
+#include "RenderTreeAsText.h"
#include "SVGImageBufferTools.h"
+#include "TextStream.h"
namespace WebCore {
#include "FETurbulence.h"
#include "Filter.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
#include <wtf/MathExtras.h>
#if ENABLE(FILTERS)
#include "FilterEffect.h"
+#include "Filter.h"
+#include "ImageBuffer.h"
+#include "TextStream.h"
#include <wtf/ByteArray.h>
namespace WebCore {
#define FilterEffect_h
#if ENABLE(FILTERS)
-#include "Filter.h"
#include "FloatRect.h"
-#include "GraphicsContext.h"
-#include "ImageBuffer.h"
-#include "RenderTreeAsText.h"
-#include "TextStream.h"
+#include "IntRect.h"
+#include <wtf/ByteArray.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
namespace WebCore {
+class Filter;
+class FilterEffect;
+class ImageBuffer;
+class TextStream;
+
typedef Vector<RefPtr<FilterEffect> > FilterEffectVector;
enum FilterEffectType {
#include "SourceAlpha.h"
#include "Color.h"
+#include "Filter.h"
#include "GraphicsContext.h"
#include "PlatformString.h"
-#include "Filter.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/StdLibExtras.h>
#if ENABLE(FILTERS)
#include "SourceGraphic.h"
+#include "Filter.h"
#include "GraphicsContext.h"
#include "PlatformString.h"
-#include "Filter.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
#include <wtf/StdLibExtras.h>
#include "RegisteredEventListener.h"
#include "RenderObject.h"
#include "SVGCursorElement.h"
+#include "SVGDocumentExtensions.h"
#include "SVGElementInstance.h"
#include "SVGElementRareData.h"
#include "SVGNames.h"
#define SVGElement_h
#if ENABLE(SVG)
-#include "SVGDocumentExtensions.h"
#include "SVGLocatable.h"
#include "StyledElement.h"
class CSSCursorImageValue;
class Document;
class SVGCursorElement;
+class SVGDocumentExtensions;
class SVGElementInstance;
class SVGElementRareData;
class SVGSVGElement;
#include "SVGFEBlendElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
namespace WebCore {
#include "SVGFEColorMatrixElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
namespace WebCore {
#include "SVGFEComponentTransferElement.h"
#include "Attr.h"
+#include "FilterEffect.h"
#include "SVGFEFuncAElement.h"
#include "SVGFEFuncBElement.h"
#include "SVGFEFuncGElement.h"
#include "SVGFEFuncRElement.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
namespace WebCore {
#include "SVGFECompositeElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
namespace WebCore {
#include "SVGFEConvolveMatrixElement.h"
#include "Attr.h"
+#include "FilterEffect.h"
#include "FloatPoint.h"
#include "IntPoint.h"
#include "IntSize.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
#include "SVGParserUtilities.h"
#if ENABLE(SVG) && ENABLE(FILTERS)
#include "FEConvolveMatrix.h"
+#include "SVGAnimatedBoolean.h"
#include "SVGAnimatedEnumeration.h"
+#include "SVGAnimatedInteger.h"
#include "SVGAnimatedNumber.h"
#include "SVGAnimatedNumberList.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "Attr.h"
#include "FEDiffuseLighting.h"
+#include "FilterEffect.h"
#include "RenderStyle.h"
#include "SVGColor.h"
#include "SVGFELightElement.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
#include "SVGParserUtilities.h"
#include "SVGFEDisplacementMapElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
namespace WebCore {
#include "SVGFEGaussianBlurElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
#include "SVGParserUtilities.h"
#include "CachedResourceClient.h"
#include "CachedResourceHandle.h"
#include "ImageBuffer.h"
+#include "SVGAnimatedBoolean.h"
#include "SVGAnimatedPreserveAspectRatio.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGFEImage.h"
#if ENABLE(SVG) && ENABLE(FILTERS)
#include "SVGFEMergeElement.h"
+#include "FilterEffect.h"
#include "SVGFEMergeNodeElement.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
namespace WebCore {
#include "SVGFEMorphologyElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
#include "SVGParserUtilities.h"
#include "SVGFEOffsetElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
namespace WebCore {
#include "SVGFESpecularLightingElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
#include "RenderStyle.h"
#include "SVGColor.h"
#include "SVGFELightElement.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
#include "SVGParserUtilities.h"
#include "SVGFETileElement.h"
#include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
#include "SVGNames.h"
#include "SVGRenderStyle.h"
#if ENABLE(SVG) && ENABLE(FILTERS)
#include "FETurbulence.h"
#include "SVGAnimatedEnumeration.h"
+#include "SVGAnimatedInteger.h"
#include "SVGAnimatedNumber.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "Attribute.h"
#include "FilterEffect.h"
#include "RenderSVGResourceFilterPrimitive.h"
+#include "SVGFilterBuilder.h"
#include "SVGLength.h"
#include "SVGNames.h"
#include "SVGStyledElement.h"
#define SVGFilterPrimitiveStandardAttributes_h
#if ENABLE(SVG) && ENABLE(FILTERS)
-#include "FilterEffect.h"
#include "RenderSVGResource.h"
#include "SVGAnimatedLength.h"
-#include "SVGFilterBuilder.h"
-#include "SVGFilterElement.h"
+#include "SVGAnimatedString.h"
#include "SVGStyledElement.h"
#include <wtf/PassRefPtr.h>
namespace WebCore {
+class Filter;
+class FilterEffect;
+class SVGFilterBuilder;
+
class SVGFilterPrimitiveStandardAttributes : public SVGStyledElement {
public:
void setStandardAttributes(bool, FilterEffect*) const;
#include "CSSValueKeywords.h"
#include "Frame.h"
#include "RenderObject.h"
+#include "SVGDocumentExtensions.h"
#include "SVGNames.h"
#include "SVGTextQuery.h"
#include "SelectionController.h"
#include "AffineTransform.h"
#include "Filter.h"
#include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
#include "SVGPreserveAspectRatio.h"
+#include "TextStream.h"
namespace WebCore {
namespace WebCore {
+class Image;
+
class FEImage : public FilterEffect {
public:
static PassRefPtr<FEImage> create(Filter*, RefPtr<Image>, const SVGPreserveAspectRatio&);
#include "ReplaceSelectionCommand.h"
#include "ResourceHandle.h"
#include "ResourceRequest.h"
+#include "SVGDocumentExtensions.h"
#include "SVGSMILElement.h"
#include "ScriptController.h"
#include "ScriptSourceCode.h"
#include <JavaScriptCore/APICast.h>
#if ENABLE(SVG)
+#include "SVGDocumentExtensions.h"
#include "SVGSMILElement.h"
#endif
+2011-01-09 Tony Gentilcore <tonyg@chromium.org>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Forward declare some headers where possible
+ https://bugs.webkit.org/show_bug.cgi?id=52133
+
+ * WebView/WebFrame.mm:
+
2011-01-09 Xianzhu Wang <phnixwxz@gmail.com>
Reviewed by Darin Fisher.
#import <WebCore/RuntimeApplicationChecks.h>
#import <WebCore/ScriptValue.h>
#import <WebCore/SmartReplace.h>
+#import <WebCore/SVGDocumentExtensions.h>
#import <WebCore/SVGSMILElement.h>
#import <WebCore/TextIterator.h>
#import <WebCore/ThreadCheck.h>
#include "SecurityOrigin.h"
#include "Settings.h"
#if ENABLE(SVG)
+#include "SVGDocumentExtensions.h"
#include "SVGSMILElement.h"
#endif
#include "TextIterator.h"
#include <WebCore/RenderView.h>
#include <WebCore/RenderTreeAsText.h>
#include <WebCore/Settings.h>
+#include <WebCore/SVGDocumentExtensions.h>
#include <WebCore/SVGSMILElement.h>
#include <WebCore/TextIterator.h>
#include <WebCore/JSDOMBinding.h>