2011-01-09 Tony Gentilcore <tonyg@chromium.org>
authortonyg@chromium.org <tonyg@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jan 2011 16:41:49 +0000 (16:41 +0000)
committertonyg@chromium.org <tonyg@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jan 2011 16:41:49 +0000 (16:41 +0000)
        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

60 files changed:
Source/WebCore/ChangeLog
Source/WebCore/css/CSSValue.h
Source/WebCore/dom/BeforeLoadEvent.h
Source/WebCore/dom/Event.cpp
Source/WebCore/dom/Event.h
Source/WebCore/dom/StyledElement.cpp
Source/WebCore/dom/StyledElement.h
Source/WebCore/loader/DocumentLoader.h
Source/WebCore/loader/FrameLoader.h
Source/WebCore/page/Frame.h
Source/WebCore/platform/graphics/GraphicsContext.cpp
Source/WebCore/platform/graphics/GraphicsContext.h
Source/WebCore/platform/graphics/filters/FEBlend.cpp
Source/WebCore/platform/graphics/filters/FEColorMatrix.cpp
Source/WebCore/platform/graphics/filters/FEComponentTransfer.cpp
Source/WebCore/platform/graphics/filters/FEComposite.cpp
Source/WebCore/platform/graphics/filters/FEConvolveMatrix.cpp
Source/WebCore/platform/graphics/filters/FEDiffuseLighting.cpp
Source/WebCore/platform/graphics/filters/FEDisplacementMap.cpp
Source/WebCore/platform/graphics/filters/FEFlood.cpp
Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp
Source/WebCore/platform/graphics/filters/FEMerge.cpp
Source/WebCore/platform/graphics/filters/FEMorphology.cpp
Source/WebCore/platform/graphics/filters/FEOffset.cpp
Source/WebCore/platform/graphics/filters/FESpecularLighting.cpp
Source/WebCore/platform/graphics/filters/FETile.cpp
Source/WebCore/platform/graphics/filters/FETurbulence.cpp
Source/WebCore/platform/graphics/filters/FilterEffect.cpp
Source/WebCore/platform/graphics/filters/FilterEffect.h
Source/WebCore/platform/graphics/filters/SourceAlpha.cpp
Source/WebCore/platform/graphics/filters/SourceGraphic.cpp
Source/WebCore/svg/SVGElement.cpp
Source/WebCore/svg/SVGElement.h
Source/WebCore/svg/SVGFEBlendElement.cpp
Source/WebCore/svg/SVGFEColorMatrixElement.cpp
Source/WebCore/svg/SVGFEComponentTransferElement.cpp
Source/WebCore/svg/SVGFECompositeElement.cpp
Source/WebCore/svg/SVGFEConvolveMatrixElement.cpp
Source/WebCore/svg/SVGFEConvolveMatrixElement.h
Source/WebCore/svg/SVGFEDiffuseLightingElement.cpp
Source/WebCore/svg/SVGFEDisplacementMapElement.cpp
Source/WebCore/svg/SVGFEGaussianBlurElement.cpp
Source/WebCore/svg/SVGFEImageElement.h
Source/WebCore/svg/SVGFEMergeElement.cpp
Source/WebCore/svg/SVGFEMorphologyElement.cpp
Source/WebCore/svg/SVGFEOffsetElement.cpp
Source/WebCore/svg/SVGFESpecularLightingElement.cpp
Source/WebCore/svg/SVGFETileElement.cpp
Source/WebCore/svg/SVGFETurbulenceElement.h
Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp
Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.h
Source/WebCore/svg/SVGTextContentElement.cpp
Source/WebCore/svg/graphics/filters/SVGFEImage.cpp
Source/WebCore/svg/graphics/filters/SVGFEImage.h
WebKit/chromium/src/WebFrameImpl.cpp
WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
WebKit/mac/ChangeLog
WebKit/mac/WebView/WebFrame.mm
WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp
WebKit/win/WebFrame.cpp

index dce1184..59a1737 100644 (file)
@@ -1,3 +1,66 @@
+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
index ec1b15e..d1464ca 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef CSSValue_h
 #define CSSValue_h
 
-#include "StyleBase.h"
-
 #include "CSSParserValues.h"
 #include "KURLHash.h"
 #include <wtf/ListHashSet.h>
index f60e438..fc5814a 100644 (file)
@@ -28,6 +28,7 @@
 #define BeforeLoadEvent_h
 
 #include "Event.h"
+#include "EventNames.h"
 
 namespace WebCore {
 
index a949fd5..0a1538b 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "config.h"
 #include "Event.h"
+#include "EventTarget.h"
 
 #include "UserGestureIndicator.h"
 #include <wtf/CurrentTime.h>
index f05d36c..8562cad 100644 (file)
 #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:
index 9a7c9c8..d6a532f 100644 (file)
 #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"
index 8040dbf..32fc4c2 100644 (file)
@@ -25,7 +25,6 @@
 #ifndef StyledElement_h
 #define StyledElement_h
 
-#include "CSSMutableStyleDeclaration.h"
 #include "Element.h"
 #include "MappedAttributeEntry.h"
 
@@ -33,6 +32,7 @@ namespace WebCore {
 
 class Attribute;
 class CSSMappedAttributeDeclaration;
+class CSSMutableStyleDeclaration;
 
 class StyledElement : public Element {
 public:
index e1f75ed..7725038 100644 (file)
@@ -36,6 +36,9 @@
 #include "ResourceResponse.h"
 #include "SubstituteData.h"
 #include "Timer.h"
+#include <wtf/HashSet.h>
+#include <wtf/RefPtr.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index d843bb3..11e99dc 100644 (file)
 #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 {
 
@@ -73,6 +71,7 @@ class Page;
 class ProtectionSpace;
 class ResourceError;
 class ResourceLoader;
+class ResourceRequest;
 class ResourceResponse;
 class ScriptSourceCode;
 class ScriptValue;
index 4928742..7741a82 100644 (file)
@@ -35,6 +35,7 @@
 #include "EventHandler.h"
 #include "FrameLoader.h"
 #include "FrameTree.h"
+#include "NavigationScheduler.h"
 #include "SelectionController.h"
 #include "ScriptController.h"
 #include "UserScriptTypes.h"
index 434d35b..61b778c 100644 (file)
@@ -30,6 +30,7 @@
 #include "Font.h"
 #include "Generator.h"
 #include "ImageBuffer.h"
+#include "IntRect.h"
 
 using namespace std;
 
index 3c5cdad..8588523 100644 (file)
 #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>
 
@@ -121,6 +119,7 @@ namespace WebCore {
     class Generator;
     class GraphicsContextPlatformPrivate;
     class ImageBuffer;
+    class IntRect;
     class KURL;
     class SharedGraphicsContext3D;
     class TextRun;
index 7eeb128..ac68266 100644 (file)
@@ -28,6 +28,8 @@
 #include "Filter.h"
 #include "FloatPoint.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 
index e0b15d1..33c4467 100644 (file)
@@ -27,6 +27,8 @@
 
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 #include <wtf/MathExtras.h>
index ca8e5d3..ab59332 100644 (file)
@@ -28,6 +28,8 @@
 
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 #include <wtf/MathExtras.h>
index 80cb2b2..bc7fa80 100644 (file)
@@ -28,6 +28,8 @@
 
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 
index b8f8aea..0483626 100644 (file)
@@ -27,6 +27,8 @@
 #include "FEConvolveMatrix.h"
 
 #include "Filter.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 
index 14d57f4..a8a825a 100644 (file)
@@ -25,6 +25,8 @@
 #include "FEDiffuseLighting.h"
 
 #include "LightSource.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 namespace WebCore {
 
index b5151bf..88c87b7 100644 (file)
@@ -28,6 +28,8 @@
 
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 
index 8bfdef8..0e0e94c 100644 (file)
@@ -27,6 +27,8 @@
 
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 namespace WebCore {
 
index 37b5992..20fd923 100644 (file)
@@ -29,6 +29,8 @@
 
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 #include <wtf/MathExtras.h>
index 4395321..4099a96 100644 (file)
@@ -26,6 +26,8 @@
 
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 namespace WebCore {
 
index 45c7edb..1eb554b 100644 (file)
@@ -27,6 +27,8 @@
 #include "FEMorphology.h"
 
 #include "Filter.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 #include <wtf/Vector.h>
index f1d5914..99cac2d 100644 (file)
@@ -28,6 +28,8 @@
 
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 namespace WebCore {
 
index d21dafd..36a6b72 100644 (file)
@@ -25,6 +25,8 @@
 #include "FESpecularLighting.h"
 
 #include "LightSource.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 namespace WebCore {
 
index e516c7e..1fcb71b 100644 (file)
@@ -27,7 +27,9 @@
 #include "Filter.h"
 #include "GraphicsContext.h"
 #include "Pattern.h"
+#include "RenderTreeAsText.h"
 #include "SVGImageBufferTools.h"
+#include "TextStream.h"
 
 namespace WebCore {
 
index f1a159b..068acee 100644 (file)
@@ -27,6 +27,8 @@
 #include "FETurbulence.h"
 
 #include "Filter.h"
+#include "RenderTreeAsText.h"
+#include "TextStream.h"
 
 #include <wtf/ByteArray.h>
 #include <wtf/MathExtras.h>
index 05c2a47..85154b5 100644 (file)
@@ -24,6 +24,9 @@
 #if ENABLE(FILTERS)
 #include "FilterEffect.h"
 
+#include "Filter.h"
+#include "ImageBuffer.h"
+#include "TextStream.h"
 #include <wtf/ByteArray.h>
 
 namespace WebCore {
index 2554d4b..062dd1b 100644 (file)
 #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 {
index 2d2de00..45d74f5 100644 (file)
 #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>
 
index 04082ad..8726bf3 100644 (file)
 #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>
 
index 1f5b0fa..c9efae8 100644 (file)
@@ -38,6 +38,7 @@
 #include "RegisteredEventListener.h"
 #include "RenderObject.h"
 #include "SVGCursorElement.h"
+#include "SVGDocumentExtensions.h"
 #include "SVGElementInstance.h"
 #include "SVGElementRareData.h"
 #include "SVGNames.h"
index d961c73..2c87f6e 100644 (file)
@@ -23,7 +23,6 @@
 #define SVGElement_h
 
 #if ENABLE(SVG)
-#include "SVGDocumentExtensions.h"
 #include "SVGLocatable.h"
 #include "StyledElement.h"
 
@@ -32,6 +31,7 @@ namespace WebCore {
 class CSSCursorImageValue;
 class Document;
 class SVGCursorElement;
+class SVGDocumentExtensions;
 class SVGElementInstance;
 class SVGElementRareData;
 class SVGSVGElement;
index 86299fe..4128232 100644 (file)
@@ -24,6 +24,8 @@
 #include "SVGFEBlendElement.h"
 
 #include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 
 namespace WebCore {
index 79716fb..4c7ac0b 100644 (file)
@@ -24,6 +24,8 @@
 #include "SVGFEColorMatrixElement.h"
 
 #include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 
 namespace WebCore {
index 0fa98a4..243f856 100644 (file)
 #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 {
index 1433a78..4c83d4f 100644 (file)
@@ -24,6 +24,8 @@
 #include "SVGFECompositeElement.h"
 
 #include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 
 namespace WebCore {
index 373d508..301e351 100644 (file)
 #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"
 
index 21826ec..87709ab 100644 (file)
@@ -22,7 +22,9 @@
 
 #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"
index 873b831..49888da 100644 (file)
 
 #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"
 
index a363b3a..56315b6 100644 (file)
@@ -23,6 +23,8 @@
 #include "SVGFEDisplacementMapElement.h"
 
 #include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 
 namespace WebCore {
index 43b6fd6..03368ac 100644 (file)
@@ -24,6 +24,8 @@
 #include "SVGFEGaussianBlurElement.h"
 
 #include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 #include "SVGParserUtilities.h"
 
index 64d95dc..3f22805 100644 (file)
@@ -25,6 +25,7 @@
 #include "CachedResourceClient.h"
 #include "CachedResourceHandle.h"
 #include "ImageBuffer.h"
+#include "SVGAnimatedBoolean.h"
 #include "SVGAnimatedPreserveAspectRatio.h"
 #include "SVGExternalResourcesRequired.h"
 #include "SVGFEImage.h"
index 92f2346..8b1c753 100644 (file)
@@ -23,7 +23,9 @@
 #if ENABLE(SVG) && ENABLE(FILTERS)
 #include "SVGFEMergeElement.h"
 
+#include "FilterEffect.h"
 #include "SVGFEMergeNodeElement.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 
 namespace WebCore {
index 282c495..caf8e7b 100644 (file)
@@ -23,6 +23,8 @@
 #include "SVGFEMorphologyElement.h"
 
 #include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 #include "SVGParserUtilities.h"
 
index d41e6db..2bd8aee 100644 (file)
@@ -24,6 +24,8 @@
 #include "SVGFEOffsetElement.h"
 
 #include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 
 namespace WebCore {
index 806d0cd..9298b3c 100644 (file)
 #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"
 
index e981482..6fc19e6 100644 (file)
@@ -24,6 +24,8 @@
 #include "SVGFETileElement.h"
 
 #include "Attribute.h"
+#include "FilterEffect.h"
+#include "SVGFilterBuilder.h"
 #include "SVGNames.h"
 #include "SVGRenderStyle.h"
 
index 5e436f4..f9d86cb 100644 (file)
@@ -24,6 +24,7 @@
 #if ENABLE(SVG) && ENABLE(FILTERS)
 #include "FETurbulence.h"
 #include "SVGAnimatedEnumeration.h"
+#include "SVGAnimatedInteger.h"
 #include "SVGAnimatedNumber.h"
 #include "SVGFilterPrimitiveStandardAttributes.h"
 
index bd717ea..00f99c5 100644 (file)
@@ -27,6 +27,7 @@
 #include "Attribute.h"
 #include "FilterEffect.h"
 #include "RenderSVGResourceFilterPrimitive.h"
+#include "SVGFilterBuilder.h"
 #include "SVGLength.h"
 #include "SVGNames.h"
 #include "SVGStyledElement.h"
index b13084b..34e19ea 100644 (file)
 #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;
index de75f5b..f723ecc 100644 (file)
@@ -27,6 +27,7 @@
 #include "CSSValueKeywords.h"
 #include "Frame.h"
 #include "RenderObject.h"
+#include "SVGDocumentExtensions.h"
 #include "SVGNames.h"
 #include "SVGTextQuery.h"
 #include "SelectionController.h"
index 6ed305e..d6d6f99 100644 (file)
@@ -28,7 +28,9 @@
 #include "AffineTransform.h"
 #include "Filter.h"
 #include "GraphicsContext.h"
+#include "RenderTreeAsText.h"
 #include "SVGPreserveAspectRatio.h"
+#include "TextStream.h"
 
 namespace WebCore {
 
index 9ac5527..a5383cc 100644 (file)
@@ -29,6 +29,8 @@
 
 namespace WebCore {
 
+class Image;
+
 class FEImage : public FilterEffect {
 public:
     static PassRefPtr<FEImage> create(Filter*, RefPtr<Image>, const SVGPreserveAspectRatio&);
index 5baf73b..1237ddd 100644 (file)
 #include "ReplaceSelectionCommand.h"
 #include "ResourceHandle.h"
 #include "ResourceRequest.h"
+#include "SVGDocumentExtensions.h"
 #include "SVGSMILElement.h"
 #include "ScriptController.h"
 #include "ScriptSourceCode.h"
index dabe4b5..6f31887 100644 (file)
@@ -55,6 +55,7 @@
 #include <JavaScriptCore/APICast.h>
 
 #if ENABLE(SVG)
+#include "SVGDocumentExtensions.h"
 #include "SVGSMILElement.h"
 #endif
 
index 490bbbc..c5a14a2 100644 (file)
@@ -1,3 +1,12 @@
+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.
index 5c2f256..3dde06f 100644 (file)
@@ -83,6 +83,7 @@
 #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>
index e958751..ecd91eb 100644 (file)
@@ -63,6 +63,7 @@
 #include "SecurityOrigin.h"
 #include "Settings.h"
 #if ENABLE(SVG)
+#include "SVGDocumentExtensions.h"
 #include "SVGSMILElement.h"
 #endif
 #include "TextIterator.h"
index bb5f886..05ee075 100644 (file)
@@ -93,6 +93,7 @@
 #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>