2011-05-06 Tony Gentilcore <tonyg@chromium.org>
authortonyg@chromium.org <tonyg@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 May 2011 08:19:52 +0000 (08:19 +0000)
committertonyg@chromium.org <tonyg@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 May 2011 08:19:52 +0000 (08:19 +0000)
        Reviewed by Darin Adler.

        Fix some unnecessary includes in headers
        https://bugs.webkit.org/show_bug.cgi?id=60388

        These were all found using the include-what-you-use clang plugin.

        * css/CSSFontFaceSrcValue.h:
        * css/CSSImageGeneratorValue.h:
        * css/CSSParser.h:
        * css/CSSPrimitiveValueCache.cpp:
        * css/CSSPrimitiveValueCache.h:
        * css/CSSStyleSelector.cpp:
        * css/CSSStyleSelector.h:
        * css/RGBColor.cpp:
        * css/RGBColor.h:
        * dom/EventTarget.h:
        * dom/ExceptionBase.cpp:
        * dom/ExceptionBase.h:
        * dom/MessagePort.cpp:
        * dom/Range.cpp:
        * dom/Range.h:
        * dom/SelectElement.cpp:
        * dom/SelectElement.h:
        * dom/TextEvent.cpp:
        * dom/TextEvent.h:
        * dom/Touch.cpp:
        * dom/Touch.h:
        * dom/TouchEvent.cpp:
        * dom/TouchEvent.h:
        * dom/XMLDocumentParser.h:
        * dom/XMLDocumentParserScope.h:
        * editing/AppendNodeCommand.cpp:
        * editing/ApplyBlockElementCommand.h:
        * editing/DeleteFromTextNodeCommand.cpp:
        * editing/EditCommand.h:
        * editing/Editor.h:
        * editing/FormatBlockCommand.h:
        * editing/IndentOutdentCommand.h:
        * editing/InsertIntoTextNodeCommand.cpp:
        * editing/InsertNodeBeforeCommand.cpp:
        * editing/ReplaceSelectionCommand.h:
        * editing/SetNodeAttributeCommand.h:
        * html/HTMLSelectElement.h:
        * html/canvas/CanvasRenderingContext2D.cpp:
        * loader/appcache/DOMApplicationCache.cpp:
        * page/EventSource.cpp:
        * rendering/RenderListBox.cpp:
        * rendering/RenderMenuList.cpp:
        * rendering/RenderTextControlSingleLine.cpp:
        * rendering/svg/RenderSVGInlineText.cpp:
        * svg/SVGMatrix.h:
        * websockets/WebSocket.cpp:
        * workers/AbstractWorker.cpp:
        * xml/XMLHttpRequest.cpp:
        * xml/XPathExpression.cpp:
2011-05-06  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Darin Adler.

        Fix some unnecessary includes in headers
        https://bugs.webkit.org/show_bug.cgi?id=60388

        * WebProcess/FullScreen/WebFullScreenManager.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86135 268f45cc-cd09-0410-ab3c-d52691b4dbfc

64 files changed:
Source/WebCore/ChangeLog
Source/WebCore/css/CSSFontFaceSrcValue.h
Source/WebCore/css/CSSGrammar.y
Source/WebCore/css/CSSImageGeneratorValue.h
Source/WebCore/css/CSSParser.h
Source/WebCore/css/CSSPrimitiveValueCache.cpp
Source/WebCore/css/CSSPrimitiveValueCache.h
Source/WebCore/css/CSSStyleSelector.cpp
Source/WebCore/css/CSSStyleSelector.h
Source/WebCore/css/RGBColor.cpp
Source/WebCore/css/RGBColor.h
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/EventTarget.h
Source/WebCore/dom/ExceptionBase.cpp
Source/WebCore/dom/ExceptionBase.h
Source/WebCore/dom/MessagePort.cpp
Source/WebCore/dom/Range.cpp
Source/WebCore/dom/Range.h
Source/WebCore/dom/SelectElement.cpp
Source/WebCore/dom/SelectElement.h
Source/WebCore/dom/TextEvent.cpp
Source/WebCore/dom/TextEvent.h
Source/WebCore/dom/Touch.cpp
Source/WebCore/dom/Touch.h
Source/WebCore/dom/TouchEvent.cpp
Source/WebCore/dom/TouchEvent.h
Source/WebCore/dom/XMLDocumentParser.h
Source/WebCore/dom/XMLDocumentParserScope.h
Source/WebCore/editing/AppendNodeCommand.cpp
Source/WebCore/editing/ApplyBlockElementCommand.h
Source/WebCore/editing/DeleteFromTextNodeCommand.cpp
Source/WebCore/editing/EditCommand.h
Source/WebCore/editing/Editor.h
Source/WebCore/editing/FormatBlockCommand.h
Source/WebCore/editing/IndentOutdentCommand.h
Source/WebCore/editing/InsertIntoTextNodeCommand.cpp
Source/WebCore/editing/InsertNodeBeforeCommand.cpp
Source/WebCore/editing/ReplaceSelectionCommand.h
Source/WebCore/editing/SetNodeAttributeCommand.h
Source/WebCore/editing/SetSelectionCommand.cpp
Source/WebCore/html/HTMLSelectElement.h
Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
Source/WebCore/loader/appcache/DOMApplicationCache.cpp
Source/WebCore/page/EventHandler.cpp
Source/WebCore/page/EventSource.cpp
Source/WebCore/platform/qt/RenderThemeQt.cpp
Source/WebCore/rendering/RenderListBox.cpp
Source/WebCore/rendering/RenderMenuList.cpp
Source/WebCore/rendering/RenderTextControlSingleLine.cpp
Source/WebCore/rendering/RenderThemeSafari.cpp
Source/WebCore/rendering/svg/RenderSVGInlineText.cpp
Source/WebCore/svg/SVGMatrix.h
Source/WebCore/websockets/WebSocket.cpp
Source/WebCore/workers/AbstractWorker.cpp
Source/WebCore/xml/XMLHttpRequest.cpp
Source/WebCore/xml/XPathExpression.cpp
Source/WebKit/chromium/src/AutoFillPopupMenuClient.cpp
Source/WebKit/chromium/src/AutoFillPopupMenuClient.h
Source/WebKit/chromium/src/PlatformBridge.cpp
Source/WebKit/chromium/src/StorageInfoChromium.cpp
Source/WebKit/chromium/src/WebStorageQuotaCallbacksImpl.cpp
Source/WebKit/chromium/src/WebWorkerClientImpl.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp

index 324144e..65652f6 100644 (file)
@@ -1,3 +1,62 @@
+2011-05-06  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Darin Adler.
+
+        Fix some unnecessary includes in headers
+        https://bugs.webkit.org/show_bug.cgi?id=60388
+
+        These were all found using the include-what-you-use clang plugin.
+
+        * css/CSSFontFaceSrcValue.h:
+        * css/CSSImageGeneratorValue.h:
+        * css/CSSParser.h:
+        * css/CSSPrimitiveValueCache.cpp:
+        * css/CSSPrimitiveValueCache.h:
+        * css/CSSStyleSelector.cpp:
+        * css/CSSStyleSelector.h:
+        * css/RGBColor.cpp:
+        * css/RGBColor.h:
+        * dom/EventTarget.h:
+        * dom/ExceptionBase.cpp:
+        * dom/ExceptionBase.h:
+        * dom/MessagePort.cpp:
+        * dom/Range.cpp:
+        * dom/Range.h:
+        * dom/SelectElement.cpp:
+        * dom/SelectElement.h:
+        * dom/TextEvent.cpp:
+        * dom/TextEvent.h:
+        * dom/Touch.cpp:
+        * dom/Touch.h:
+        * dom/TouchEvent.cpp:
+        * dom/TouchEvent.h:
+        * dom/XMLDocumentParser.h:
+        * dom/XMLDocumentParserScope.h:
+        * editing/AppendNodeCommand.cpp:
+        * editing/ApplyBlockElementCommand.h:
+        * editing/DeleteFromTextNodeCommand.cpp:
+        * editing/EditCommand.h:
+        * editing/Editor.h:
+        * editing/FormatBlockCommand.h:
+        * editing/IndentOutdentCommand.h:
+        * editing/InsertIntoTextNodeCommand.cpp:
+        * editing/InsertNodeBeforeCommand.cpp:
+        * editing/ReplaceSelectionCommand.h:
+        * editing/SetNodeAttributeCommand.h:
+        * html/HTMLSelectElement.h:
+        * html/canvas/CanvasRenderingContext2D.cpp:
+        * loader/appcache/DOMApplicationCache.cpp:
+        * page/EventSource.cpp:
+        * rendering/RenderListBox.cpp:
+        * rendering/RenderMenuList.cpp:
+        * rendering/RenderTextControlSingleLine.cpp:
+        * rendering/svg/RenderSVGInlineText.cpp:
+        * svg/SVGMatrix.h:
+        * websockets/WebSocket.cpp:
+        * workers/AbstractWorker.cpp:
+        * xml/XMLHttpRequest.cpp:
+        * xml/XPathExpression.cpp:
+
 2011-05-10  MORITA Hajime  <morrita@google.com>
 
         Reviewed by Ryosuke Niwa.
index 570652d..a6c8bb9 100644 (file)
 #include "PlatformString.h"
 #include <wtf/PassRefPtr.h>
 
-#if ENABLE(SVG_FONTS)
-#include "SVGFontFaceElement.h"
-#endif
-
 namespace WebCore {
 
+class SVGFontFaceElement;
+
 class CSSFontFaceSrcValue : public CSSValue {
 public:
     static PassRefPtr<CSSFontFaceSrcValue> create(const String& resource)
index d100505..45f2683 100644 (file)
@@ -30,6 +30,7 @@
 #include "CSSPropertyNames.h"
 #include "CSSRuleList.h"
 #include "CSSSelector.h"
+#include "CSSSelectorList.h"
 #include "CSSStyleSheet.h"
 #include "Document.h"
 #include "HTMLNames.h"
index f5c17f5..46524fb 100644 (file)
@@ -35,8 +35,8 @@
 namespace WebCore {
 
 class Image;
-class StyleGeneratedImage;
 class RenderObject;
+class StyleGeneratedImage;
 
 class CSSImageGeneratorValue : public CSSValue {
 public:
index 0524302..a12a094 100644 (file)
@@ -26,7 +26,7 @@
 #include "CSSGradientValue.h"
 #include "CSSParserValues.h"
 #include "CSSPropertySourceData.h"
-#include "CSSSelectorList.h"
+#include "CSSSelector.h"
 #include "Color.h"
 #include "MediaQuery.h"
 #include <wtf/HashMap.h>
@@ -42,8 +42,7 @@ namespace WebCore {
     class CSSProperty;
     class CSSRule;
     class CSSRuleList;
-    class CSSSelector;
-    class CSSStyleRule;
+    class CSSSelectorList;
     class CSSStyleSheet;
     class CSSValue;
     class CSSValueList;
@@ -51,7 +50,6 @@ namespace WebCore {
     class MediaList;
     class MediaQueryExp;
     class StyleBase;
-    class StyleList;
     class WebKitCSSKeyframeRule;
     class WebKitCSSKeyframesRule;
 
index 5c7a4c0..3adadf8 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "config.h"
 #include "CSSPrimitiveValueCache.h"
+#include "CSSValueKeywords.h"
 
 namespace WebCore {
 
index 0290e40..41d75a7 100644 (file)
 #define CSSPrimitiveValueCache_h
 
 #include "CSSPrimitiveValue.h"
-#include "CSSValueKeywords.h"
 #include <wtf/HashMap.h>
 #include <wtf/RefPtr.h>
 
 namespace WebCore {
     
-class CSSPrimitiveValue;
-
 class CSSPrimitiveValueCache : public RefCounted<CSSPrimitiveValueCache> {
 public:
     static PassRefPtr<CSSPrimitiveValueCache> create() { return adoptRef(new CSSPrimitiveValueCache); }
index c64017b..fabaecf 100644 (file)
@@ -34,6 +34,7 @@
 #include "CSSBorderImageValue.h"
 #include "CSSCursorImageValue.h"
 #include "CSSFontFaceRule.h"
+#include "CSSFontSelector.h"
 #include "CSSImportRule.h"
 #include "CSSLineBoxContainValue.h"
 #include "CSSMediaRule.h"
index a9b0c3e..6d1903d 100644 (file)
@@ -22,7 +22,6 @@
 #ifndef CSSStyleSelector_h
 #define CSSStyleSelector_h
 
-#include "CSSFontSelector.h"
 #include "CSSRule.h"
 #include "LinkHash.h"
 #include "MediaQueryExp.h"
@@ -36,6 +35,7 @@
 
 namespace WebCore {
 
+class CSSFontSelector;
 class CSSMutableStyleDeclaration;
 class CSSPageRule;
 class CSSPrimitiveValue;
index 5c8c104..11ebfe4 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "config.h"
 #include "RGBColor.h"
+#include "CSSPrimitiveValue.h"
 
 namespace WebCore {
 
index 7937a08..875eb37 100644 (file)
 #ifndef RGBColor_h
 #define RGBColor_h
 
-#include "CSSPrimitiveValue.h"
 #include "Color.h"
 #include <wtf/RefCounted.h>
 
 namespace WebCore {
 
+    class CSSPrimitiveValue;
+
     class RGBColor : public RefCounted<RGBColor> {
     public:
         static PassRefPtr<RGBColor> create(unsigned rgbColor);
index ae0d084..2c1360e 100644 (file)
 #include "RuntimeEnabledFeatures.h"
 #endif
 #include "TouchEvent.h"
+#include "TouchList.h"
 #endif
 
 #if ENABLE(MATHML)
index c262230..696be88 100644 (file)
@@ -41,7 +41,6 @@
 namespace WebCore {
 
     class AudioContext;
-    class AbstractWorker;
     class DedicatedWorkerContext;
     class DOMApplicationCache;
     class DOMWindow;
index edca706..20b8145 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "config.h"
 #include "ExceptionBase.h"
+#include "ExceptionCode.h"
 
 #include <wtf/text/StringConcatenate.h>
 
index 81e2d7f..7449c0c 100644 (file)
 #ifndef ExceptionBase_h
 #define ExceptionBase_h
 
-#include "ExceptionCode.h"
 #include "PlatformString.h"
 #include <wtf/RefCounted.h>
 
 namespace WebCore {
 
+    struct ExceptionCodeDescription;
+
     class ExceptionBase : public RefCounted<ExceptionBase> {
     public:
         unsigned short code() const { return m_code; }
index 83a140a..472b9b1 100644 (file)
@@ -31,6 +31,7 @@
 #include "Document.h"
 #include "EventException.h"
 #include "EventNames.h"
+#include "ExceptionCode.h"
 #include "MessageEvent.h"
 #include "SecurityOrigin.h"
 #include "Timer.h"
index be196c8..92867f2 100644 (file)
@@ -28,6 +28,7 @@
 #include "ClientRect.h"
 #include "ClientRectList.h"
 #include "DocumentFragment.h"
+#include "FloatQuad.h"
 #include "FrameView.h"
 #include "HTMLElement.h"
 #include "NodeWithIndex.h"
index 062ad67..ab8c555 100644 (file)
@@ -25,7 +25,9 @@
 #ifndef Range_h
 #define Range_h
 
-#include "FloatQuad.h"
+#include "FloatRect.h"
+#include "IntRect.h"
+#include "Node.h"
 #include "RangeBoundaryPoint.h"
 #include <wtf/Forward.h>
 #include <wtf/RefCounted.h>
@@ -35,7 +37,10 @@ namespace WebCore {
 
 class ClientRect;
 class ClientRectList;
+class ContainerNode;
+class Document;
 class DocumentFragment;
+class FloatQuad;
 class NodeWithIndex;
 class Text;
 
index 583314e..604b8c1 100644 (file)
@@ -25,6 +25,7 @@
 #include "Chrome.h"
 #include "ChromeClient.h"
 #include "Element.h"
+#include "Event.h"
 #include "EventHandler.h"
 #include "EventNames.h"
 #include "FormDataList.h"
index 6d2e2bd..cba17d4 100644 (file)
 #ifndef SelectElement_h
 #define SelectElement_h
 
-#include "Event.h"
+#include "DOMTimeStamp.h"
+#include "PlatformString.h"
 #include <wtf/Forward.h>
 #include <wtf/Vector.h>
+#include <wtf/unicode/Unicode.h>
 
 namespace WebCore {
 
index b7bd1c8..90f4e7b 100644 (file)
@@ -27,6 +27,7 @@
 #include "config.h"
 #include "TextEvent.h"
 
+#include "DocumentFragment.h"
 #include "EventNames.h"
 
 namespace WebCore {
index 26c8b93..cf4c8f2 100644 (file)
 #ifndef TextEvent_h
 #define TextEvent_h
 
-#include "DocumentFragment.h"
 #include "TextEventInputType.h"
 #include "UIEvent.h"
 
 namespace WebCore {
 
+    class DocumentFragment;
+
     class TextEvent : public UIEvent {
     public:
 
index fbb3fed..e0681f2 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "Touch.h"
 
+#include "Frame.h"
 #include "FrameView.h"
 
 namespace WebCore {
index 54e85a5..0ffd473 100644 (file)
 #if ENABLE(TOUCH_EVENTS)
 
 #include "EventTarget.h"
-#include "Frame.h"
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
 
 namespace WebCore {
 
+class Frame;
+
 class Touch : public RefCounted<Touch> {
 public:
     static PassRefPtr<Touch> create(Frame* frame, EventTarget* target,
index 225e3ae..5277d38 100644 (file)
@@ -28,6 +28,7 @@
 #if ENABLE(TOUCH_EVENTS)
 
 #include "TouchEvent.h"
+#include "TouchList.h"
 
 namespace WebCore {
 
index 1514cf8..26fc5fc 100644 (file)
 #if ENABLE(TOUCH_EVENTS)
 
 #include "MouseRelatedEvent.h"
-#include "TouchList.h"
 
 namespace WebCore {
 
+class TouchList;
+
 class TouchEvent : public MouseRelatedEvent {
 public:
     virtual ~TouchEvent();
index 4e42a10..2043add 100644 (file)
@@ -51,7 +51,6 @@ namespace WebCore {
     class Element;
     class FrameView;
     class PendingCallbacks;
-    class ScriptElement;
 
 #if !USE(QXMLSTREAM)
     class XMLParserContext : public RefCounted<XMLParserContext> {
index f60471b..c04043b 100644 (file)
@@ -29,7 +29,7 @@
 #include <wtf/Noncopyable.h>
 
 #if ENABLE(XSLT)
-#include <libxml/tree.h>
+#include <libxml/xmlerror.h>
 #endif
 
 namespace WebCore {
index 9395968..e3f34e0 100644 (file)
@@ -27,6 +27,7 @@
 #include "AppendNodeCommand.h"
 
 #include "AXObjectCache.h"
+#include "Document.h"
 #include "htmlediting.h"
 
 namespace WebCore {
index 535f499..0d4953e 100644 (file)
@@ -32,6 +32,7 @@
 #define ApplyBlockElementCommand_h
 
 #include "CompositeEditCommand.h"
+#include "QualifiedName.h"
 
 namespace WebCore {
 
index 8ee28a1..1b4e09d 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "config.h"
 #include "DeleteFromTextNodeCommand.h"
+#include "Document.h"
 
 #include "AXObjectCache.h"
 #include "Text.h"
index dc20eec..ad2eab5 100644 (file)
 #define EditCommand_h
 
 #include "EditAction.h"
-#include "Element.h"
 #include "VisibleSelection.h"
 
 namespace WebCore {
 
 class CompositeEditCommand;
+class Document;
+class Element;
 
 class EditCommand : public RefCounted<EditCommand> {
 public:
index c02d0ac..2ff67af 100644 (file)
@@ -31,7 +31,7 @@
 #include "DocumentMarker.h"
 #include "EditAction.h"
 #include "EditingBehavior.h"
-#include "EditorDeleteAction.h"
+#include "EditingStyle.h"
 #include "EditorInsertAction.h"
 #include "FindOptions.h"
 #include "FrameSelection.h"
@@ -46,7 +46,6 @@ typedef int NSWritingDirection;
 
 namespace WebCore {
 
-class CSSMutableStyleDeclaration;
 class CSSStyleDeclaration;
 class Clipboard;
 class SpellingCorrectionController;
index 4be235f..2c14293 100644 (file)
 #define FormatBlockCommand_h
 
 #include "ApplyBlockElementCommand.h"
-#include "CompositeEditCommand.h"
+#include "EditAction.h"
+#include "QualifiedName.h"
 
 namespace WebCore {
 
+class Document;
+class Element;
+class Position;
+class Range;
+class VisiblePosition;
+
 class FormatBlockCommand : public ApplyBlockElementCommand {
 public:
     static PassRefPtr<FormatBlockCommand> create(Document* document, const QualifiedName& tagName)
index c28aea3..f070d3d 100644 (file)
@@ -27,7 +27,7 @@
 #define IndentOutdentCommand_h
 
 #include "ApplyBlockElementCommand.h"
-#include "CompositeEditCommand.h"
+#include "EditAction.h"
 
 namespace WebCore {
 
index b1a455b..9b092f9 100644 (file)
@@ -27,6 +27,7 @@
 #include "InsertIntoTextNodeCommand.h"
 
 #include "AXObjectCache.h"
+#include "Document.h"
 #include "Text.h"
 
 namespace WebCore {
index 4b028e7..308e0ed 100644 (file)
@@ -27,6 +27,7 @@
 #include "InsertNodeBeforeCommand.h"
 
 #include "AXObjectCache.h"
+#include "Document.h"
 #include "htmlediting.h"
 
 namespace WebCore {
index 3d49af1..77559f4 100644 (file)
 
 namespace WebCore {
 
+class CSSMutableStyleDeclaration;
 class DocumentFragment;
 class EditingStyle;
+class Node;
 class ReplacementFragment;
 
 class ReplaceSelectionCommand : public CompositeEditCommand {
index ce3a1ec..899ac62 100644 (file)
@@ -27,6 +27,7 @@
 #define SetNodeAttributeCommand_h
 
 #include "EditCommand.h"
+#include "QualifiedName.h"
 
 namespace WebCore {
 
index f0c5d44..51ffaf6 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "SetSelectionCommand.h"
 
+#include "Document.h"
 #include "Frame.h"
 
 namespace WebCore {
index 0d985f3..4c7d540 100644 (file)
@@ -27,6 +27,7 @@
 #define HTMLSelectElement_h
 
 #include "CollectionCache.h"
+#include "Event.h"
 #include "HTMLFormControlElement.h"
 #include "SelectElement.h"
 
index feb1621..114bc07 100644 (file)
@@ -32,6 +32,7 @@
 #include "CanvasRenderingContext2D.h"
 
 #include "AffineTransform.h"
+#include "CSSFontSelector.h"
 #include "CSSMutableStyleDeclaration.h"
 #include "CSSParser.h"
 #include "CSSPropertyNames.h"
index 080a3ef..3535b54 100644 (file)
@@ -35,6 +35,7 @@
 #include "EventException.h"
 #include "EventListener.h"
 #include "EventNames.h"
+#include "ExceptionCode.h"
 #include "Frame.h"
 #include "FrameLoader.h"
 
index 213fc3b..d21595a 100644 (file)
@@ -95,6 +95,7 @@
 #if ENABLE(TOUCH_EVENTS)
 #include "PlatformTouchEvent.h"
 #include "TouchEvent.h"
+#include "TouchList.h"
 #endif
 
 #if ENABLE(GESTURE_RECOGNIZER)
index 97d7676..020d464 100644 (file)
@@ -41,6 +41,7 @@
 #include "DOMWindow.h"
 #include "Event.h"
 #include "EventException.h"
+#include "ExceptionCode.h"
 #include "PlatformString.h"
 #include "MessageEvent.h"
 #include "ResourceError.h"
index a410f2a..fac78c6 100644 (file)
@@ -30,6 +30,7 @@
 #include "config.h"
 #include "RenderThemeQt.h"
 
+#include "CSSFontSelector.h"
 #include "CSSStyleSelector.h"
 #include "CSSStyleSheet.h"
 #include "CSSValueKeywords.h"
index 337903d..3eb0c6b 100644 (file)
@@ -31,6 +31,7 @@
 #include "RenderListBox.h"
 
 #include "AXObjectCache.h"
+#include "CSSFontSelector.h"
 #include "CSSStyleSelector.h"
 #include "Document.h"
 #include "EventHandler.h"
index f155614..f396b7d 100644 (file)
@@ -26,8 +26,9 @@
 #include "RenderMenuList.h"
 
 #include "AXObjectCache.h"
-#include "Chrome.h"
+#include "CSSFontSelector.h"
 #include "CSSStyleSelector.h"
+#include "Chrome.h"
 #include "Frame.h"
 #include "FrameView.h"
 #include "HTMLNames.h"
index 8da94ba..ace8fb2 100644 (file)
@@ -24,8 +24,9 @@
 #include "config.h"
 #include "RenderTextControlSingleLine.h"
 
-#include "Chrome.h"
+#include "CSSFontSelector.h"
 #include "CSSStyleSelector.h"
+#include "Chrome.h"
 #include "Event.h"
 #include "EventNames.h"
 #include "Frame.h"
index e9cb46a..1a89345 100644 (file)
@@ -26,6 +26,7 @@
 
 #if USE(SAFARI_THEME)
 
+#include "CSSFontSelector.h"
 #include "CSSValueKeywords.h"
 #include "Document.h"
 #include "Element.h"
index 5760bed..0a6dd57 100644 (file)
@@ -26,6 +26,7 @@
 #if ENABLE(SVG)
 #include "RenderSVGInlineText.h"
 
+#include "CSSFontSelector.h"
 #include "CSSStyleSelector.h"
 #include "FloatConversion.h"
 #include "FloatQuad.h"
index 077eb03..e226bf5 100644 (file)
@@ -22,6 +22,7 @@
 
 #if ENABLE(SVG)
 #include "AffineTransform.h"
+#include "ExceptionCode.h"
 #include "SVGException.h"
 
 namespace WebCore {
index 584444c..4b5bab6 100644 (file)
@@ -39,6 +39,7 @@
 #include "EventException.h"
 #include "EventListener.h"
 #include "EventNames.h"
+#include "ExceptionCode.h"
 #include "Logging.h"
 #include "MessageEvent.h"
 #include "ScriptCallStack.h"
index 18a94b5..32ef9bf 100644 (file)
@@ -38,6 +38,7 @@
 #include "Event.h"
 #include "EventException.h"
 #include "EventNames.h"
+#include "ExceptionCode.h"
 #include "InspectorInstrumentation.h"
 #include "ScriptExecutionContext.h"
 #include "SecurityOrigin.h"
index ed1e215..ae4f045 100644 (file)
@@ -33,6 +33,7 @@
 #include "EventException.h"
 #include "EventListener.h"
 #include "EventNames.h"
+#include "ExceptionCode.h"
 #include "File.h"
 #include "HTTPParsers.h"
 #include "InspectorInstrumentation.h"
index 6188426..91ac06c 100644 (file)
@@ -30,6 +30,7 @@
 #if ENABLE(XPATH)
 
 #include "Document.h"
+#include "ExceptionCode.h"
 #include "PlatformString.h"
 #include "XPathException.h"
 #include "XPathExpressionNode.h"
index fc3f98b..21ff03f 100644 (file)
@@ -31,6 +31,7 @@
 #include "config.h"
 #include "AutoFillPopupMenuClient.h"
 
+#include "CSSFontSelector.h"
 #include "CSSStyleSelector.h"
 #include "CSSValueKeywords.h"
 #include "Chrome.h"
index 0071121..c61626a 100644 (file)
@@ -34,6 +34,7 @@
 #include "PopupMenuClient.h"
 
 namespace WebCore {
+class FontSelector;
 class HTMLInputElement;
 class PopupMenuStyle;
 class RenderStyle;
index da87d5b..a997b64 100644 (file)
@@ -84,6 +84,7 @@
 
 #include "BitmapImage.h"
 #include "Cookie.h"
+#include "Document.h"
 #include "FrameView.h"
 #include "GraphicsContext.h"
 #include "IDBFactoryBackendProxy.h"
index 5f58c2c..d0de997 100644 (file)
@@ -35,6 +35,7 @@
 
 #include "DOMCoreException.h"
 #include "Document.h"
+#include "ExceptionCode.h"
 #include "ScriptExecutionContext.h"
 #include "StorageInfoErrorCallback.h"
 #include "StorageInfoQuotaCallback.h"
index 75a3a8a..6c5c1c1 100644 (file)
@@ -34,6 +34,7 @@
 #if ENABLE(QUOTA)
 
 #include "DOMCoreException.h"
+#include "ExceptionCode.h"
 #include "StorageInfoErrorCallback.h"
 #include "StorageInfoQuotaCallback.h"
 #include "StorageInfoUsageCallback.h"
index 34a4fd4..cb5155d 100644 (file)
@@ -35,6 +35,7 @@
 
 #include "CrossThreadTask.h"
 #include "DedicatedWorkerThread.h"
+#include "Document.h"
 #include "ErrorEvent.h"
 #include "Frame.h"
 #include "FrameLoaderClient.h"
index 8c3e008..3808f95 100644 (file)
@@ -1,3 +1,12 @@
+2011-05-06  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Darin Adler.
+
+        Fix some unnecessary includes in headers
+        https://bugs.webkit.org/show_bug.cgi?id=60388
+
+        * WebProcess/FullScreen/WebFullScreenManager.cpp:
+
 2011-05-09  Jeremy Noble  <jer.noble@apple.com>
 
         Reviewed by Darin Adler.
index 47f1d42..ed86934 100644 (file)
@@ -34,6 +34,7 @@
 #include "WebPage.h"
 #include "WebProcess.h"
 #include <WebCore/Color.h>
+#include <WebCore/Element.h>
 #include <WebCore/Page.h>
 #include <WebCore/Settings.h>