Changeset 86325 in webkit


Ignore:
Timestamp:
May 12, 2011 3:31:51 AM (13 years ago)
Author:
tonyg@chromium.org
Message:

2011-05-10 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Darin Adler.

Perform some forward declarations suggested by include-what-you-use
https://bugs.webkit.org/show_bug.cgi?id=60545

  • accessibility/AccessibilityObject.cpp:
  • accessibility/AccessibilityRenderObject.cpp:
  • accessibility/mac/AccessibilityObjectWrapper.mm:
  • dom/DocumentMarkerController.cpp:
  • dom/Position.cpp:
  • dom/PositionIterator.cpp:
  • dom/Range.cpp:
  • editing/ApplyBlockElementCommand.cpp:
  • editing/ApplyStyleCommand.cpp:
  • editing/Editor.cpp:
  • editing/EditorCommand.cpp:
  • editing/FrameSelection.cpp:
  • editing/HTMLInterchange.cpp:
  • editing/IndentOutdentCommand.cpp:
  • editing/ReplaceSelectionCommand.cpp:
  • editing/SpellChecker.h:
  • editing/SpellingCorrectionCommand.cpp:
  • editing/SpellingCorrectionController.h:
  • editing/TextCheckingHelper.cpp:
  • editing/TextIterator.h:
  • editing/htmlediting.h:
  • editing/markup.cpp:
  • editing/visible_units.cpp:
  • editing/visible_units.h:
  • fileapi/DOMFileSystem.cpp:
  • fileapi/DirectoryReaderSync.cpp:
  • fileapi/DirectoryReaderSync.h:
  • fileapi/FileEntry.h:
  • fileapi/FileWriter.h:
  • fileapi/FileWriterBase.h:
  • fileapi/FileWriterSync.h:
  • history/CachedFrame.cpp:
  • history/CachedPage.cpp:
  • history/HistoryItem.cpp:
  • history/HistoryItem.h:
  • history/PageCache.h:
  • loader/HistoryController.h:
  • loader/PingLoader.h:
  • loader/ResourceLoader.h:
  • loader/appcache/DOMApplicationCache.h:
  • loader/cache/CachedCSSStyleSheet.h:
  • loader/cache/CachedFont.cpp:
  • loader/cache/CachedFont.h:
  • loader/cache/CachedResourceRequest.cpp:
  • loader/cache/CachedResourceRequest.h:
  • loader/cache/MemoryCache.h:
  • notifications/Notification.cpp:
  • notifications/Notification.h:
  • notifications/NotificationCenter.cpp:
  • notifications/NotificationCenter.h:
  • page/Chrome.cpp:
  • page/Chrome.h:
  • page/DOMSelection.cpp:
  • page/DOMTimer.h:
  • page/DOMWindow.cpp:
  • page/EventHandler.cpp:
  • page/FocusController.h:
  • page/Geolocation.cpp:
  • page/Geolocation.h:
  • page/History.cpp:
  • rendering/RenderListBox.cpp:
  • workers/WorkerContext.cpp:

2011-05-10 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Darin Adler.

Perform some forward declarations suggested by include-what-you-use
https://bugs.webkit.org/show_bug.cgi?id=60545

  • src/WebHistoryItem.cpp:
  • src/WebNotification.cpp:
  • src/WebTextCheckingCompletionImpl.cpp:
  • src/mac/WebSubstringUtil.mm:

2011-05-10 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Darin Adler.

Perform some forward declarations suggested by include-what-you-use
https://bugs.webkit.org/show_bug.cgi?id=60545

  • Plugins/Hosted/WebHostedNetscapePluginView.mm:
  • WebView/WebFrame.mm:

2011-05-10 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Darin Adler.

Perform some forward declarations suggested by include-what-you-use
https://bugs.webkit.org/show_bug.cgi?id=60545

  • WebProcess/WebPage/mac/WebPageMac.mm:
Location:
trunk/Source
Files:
80 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86321 r86325  
     12011-05-10  Tony Gentilcore  <tonyg@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Perform some forward declarations suggested by include-what-you-use
     6        https://bugs.webkit.org/show_bug.cgi?id=60545
     7
     8        * accessibility/AccessibilityObject.cpp:
     9        * accessibility/AccessibilityRenderObject.cpp:
     10        * accessibility/mac/AccessibilityObjectWrapper.mm:
     11        * dom/DocumentMarkerController.cpp:
     12        * dom/Position.cpp:
     13        * dom/PositionIterator.cpp:
     14        * dom/Range.cpp:
     15        * editing/ApplyBlockElementCommand.cpp:
     16        * editing/ApplyStyleCommand.cpp:
     17        * editing/Editor.cpp:
     18        * editing/EditorCommand.cpp:
     19        * editing/FrameSelection.cpp:
     20        * editing/HTMLInterchange.cpp:
     21        * editing/IndentOutdentCommand.cpp:
     22        * editing/ReplaceSelectionCommand.cpp:
     23        * editing/SpellChecker.h:
     24        * editing/SpellingCorrectionCommand.cpp:
     25        * editing/SpellingCorrectionController.h:
     26        * editing/TextCheckingHelper.cpp:
     27        * editing/TextIterator.h:
     28        * editing/htmlediting.h:
     29        * editing/markup.cpp:
     30        * editing/visible_units.cpp:
     31        * editing/visible_units.h:
     32        * fileapi/DOMFileSystem.cpp:
     33        * fileapi/DirectoryReaderSync.cpp:
     34        * fileapi/DirectoryReaderSync.h:
     35        * fileapi/FileEntry.h:
     36        * fileapi/FileWriter.h:
     37        * fileapi/FileWriterBase.h:
     38        * fileapi/FileWriterSync.h:
     39        * history/CachedFrame.cpp:
     40        * history/CachedPage.cpp:
     41        * history/HistoryItem.cpp:
     42        * history/HistoryItem.h:
     43        * history/PageCache.h:
     44        * loader/HistoryController.h:
     45        * loader/PingLoader.h:
     46        * loader/ResourceLoader.h:
     47        * loader/appcache/DOMApplicationCache.h:
     48        * loader/cache/CachedCSSStyleSheet.h:
     49        * loader/cache/CachedFont.cpp:
     50        * loader/cache/CachedFont.h:
     51        * loader/cache/CachedResourceRequest.cpp:
     52        * loader/cache/CachedResourceRequest.h:
     53        * loader/cache/MemoryCache.h:
     54        * notifications/Notification.cpp:
     55        * notifications/Notification.h:
     56        * notifications/NotificationCenter.cpp:
     57        * notifications/NotificationCenter.h:
     58        * page/Chrome.cpp:
     59        * page/Chrome.h:
     60        * page/DOMSelection.cpp:
     61        * page/DOMTimer.h:
     62        * page/DOMWindow.cpp:
     63        * page/EventHandler.cpp:
     64        * page/FocusController.h:
     65        * page/Geolocation.cpp:
     66        * page/Geolocation.h:
     67        * page/History.cpp:
     68        * rendering/RenderListBox.cpp:
     69        * workers/WorkerContext.cpp:
     70
    1712011-05-12  Yuta Kitamura  <yutak@chromium.org>
    272
  • trunk/Source/WebCore/accessibility/AccessibilityObject.cpp

    r85864 r86325  
    3737#include "FrameLoader.h"
    3838#include "FrameSelection.h"
     39#include "HTMLNames.h"
    3940#include "LocalizedStrings.h"
    4041#include "NodeList.h"
  • trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp

    r85998 r86325  
    4545#include "HTMLLabelElement.h"
    4646#include "HTMLMapElement.h"
     47#include "HTMLNames.h"
    4748#include "HTMLOptGroupElement.h"
    4849#include "HTMLOptionElement.h"
  • trunk/Source/WebCore/accessibility/gtk/AXObjectCacheAtk.cpp

    r83064 r86325  
    2323#include "AccessibilityObject.h"
    2424#include "AccessibilityObjectWrapperAtk.h"
     25#include "Document.h"
     26#include "Element.h"
    2527#include "GOwnPtr.h"
    2628#include "Range.h"
  • trunk/Source/WebCore/accessibility/mac/AccessibilityObjectWrapper.mm

    r85864 r86325  
    5252#import "HTMLImageElement.h"
    5353#import "HTMLInputElement.h"
     54#import "HTMLNames.h"
    5455#import "HTMLTextAreaElement.h"
    5556#import "LocalizedStrings.h"
  • trunk/Source/WebCore/dom/DocumentMarkerController.cpp

    r86295 r86325  
    3030#include "Node.h"
    3131#include "Range.h"
     32#include "RenderObject.h"
    3233#include "RenderedDocumentMarker.h"
    3334#include "TextIterator.h"
  • trunk/Source/WebCore/dom/Position.cpp

    r81965 r86325  
    2828
    2929#include "CSSComputedStyleDeclaration.h"
     30#include "HTMLNames.h"
     31#include "InlineTextBox.h"
    3032#include "Logging.h"
    3133#include "PositionIterator.h"
    3234#include "RenderBlock.h"
     35#include "RenderText.h"
    3336#include "Text.h"
    3437#include "TextIterator.h"
  • trunk/Source/WebCore/dom/PositionIterator.cpp

    r81965 r86325  
    2727#include "PositionIterator.h"
    2828
     29#include "HTMLNames.h"
    2930#include "Node.h"
    3031#include "RenderBlock.h"
  • trunk/Source/WebCore/dom/Range.cpp

    r86135 r86325  
    3434#include "NodeWithIndex.h"
    3535#include "ProcessingInstruction.h"
     36#include "RenderBoxModelObject.h"
     37#include "RenderText.h"
    3638#include "Text.h"
    3739#include "TextIterator.h"
  • trunk/Source/WebCore/editing/ApplyBlockElementCommand.cpp

    r81165 r86325  
    3030#include "HTMLElement.h"
    3131#include "HTMLNames.h"
     32#include "RenderObject.h"
     33#include "RenderStyle.h"
    3234#include "Text.h"
    3335#include "TextIterator.h"
  • trunk/Source/WebCore/editing/ApplyStyleCommand.cpp

    r85267 r86325  
    4545#include "Range.h"
    4646#include "RenderObject.h"
     47#include "RenderText.h"
    4748#include "Text.h"
    4849#include "TextIterator.h"
  • trunk/Source/WebCore/editing/Editor.cpp

    r86311 r86325  
    5656#include "HTMLFrameOwnerElement.h"
    5757#include "HTMLInputElement.h"
     58#include "HTMLNames.h"
    5859#include "HTMLTextAreaElement.h"
    5960#include "HitTestResult.h"
     
    7778#include "SpellingCorrectionCommand.h"
    7879#include "Text.h"
     80#include "TextCheckerClient.h"
    7981#include "TextEvent.h"
    8082#include "TextIterator.h"
  • trunk/Source/WebCore/editing/EditorCommand.cpp

    r85864 r86325  
    4646#include "HTMLHRElement.h"
    4747#include "HTMLImageElement.h"
     48#include "HTMLNames.h"
    4849#include "IndentOutdentCommand.h"
    4950#include "InsertListCommand.h"
  • trunk/Source/WebCore/editing/FrameSelection.cpp

    r86214 r86325  
    4848#include "HitTestRequest.h"
    4949#include "HitTestResult.h"
     50#include "InlineTextBox.h"
    5051#include "Page.h"
    5152#include "Range.h"
    5253#include "RenderLayer.h"
     54#include "RenderText.h"
    5355#include "RenderTextControl.h"
    5456#include "RenderTheme.h"
     
    5759#include "SecureTextInput.h"
    5860#include "Settings.h"
     61#include "SpatialNavigation.h"
    5962#include "TextIterator.h"
    6063#include "TypingCommand.h"
  • trunk/Source/WebCore/editing/HTMLInterchange.cpp

    r77062 r86325  
    2727#include "HTMLInterchange.h"
    2828
     29#include "RenderObject.h"
    2930#include "Text.h"
    3031#include "TextIterator.h"
  • trunk/Source/WebCore/editing/IndentOutdentCommand.cpp

    r81965 r86325  
    3434#include "InsertListCommand.h"
    3535#include "Range.h"
     36#include "RenderObject.h"
    3637#include "SplitElementCommand.h"
    3738#include "Text.h"
  • trunk/Source/WebCore/editing/ReplaceSelectionCommand.cpp

    r85864 r86325  
    4646#include "HTMLNames.h"
    4747#include "NodeList.h"
     48#include "RenderObject.h"
    4849#include "SmartReplace.h"
    4950#include "TextIterator.h"
  • trunk/Source/WebCore/editing/SpellChecker.h

    r86132 r86325  
    2727#define SpellChecker_h
    2828
    29 #include "DocumentMarker.h"
    30 #include "TextCheckerClient.h"
     29#include "PlatformString.h"
     30#include "TextChecking.h"
     31#include <wtf/RefPtr.h>
    3132#include <wtf/Noncopyable.h>
     33#include <wtf/Vector.h>
    3234
    3335namespace WebCore {
    3436
    35 class TextCheckerClient;
    3637class Frame;
    3738class Node;
     39class TextCheckerClient;
     40struct TextCheckingResult;
    3841
    3942class SpellChecker {
  • trunk/Source/WebCore/editing/SpellingCorrectionCommand.cpp

    r85864 r86325  
    2727#include "SpellingCorrectionCommand.h"
    2828
    29 #include "SpellingCorrectionController.h"
     29#include "Document.h"
    3030#include "DocumentFragment.h"
    3131#include "Frame.h"
    3232#include "ReplaceSelectionCommand.h"
    3333#include "SetSelectionCommand.h"
     34#include "SpellingCorrectionController.h"
    3435#include "TextIterator.h"
    3536#include "markup.h"
  • trunk/Source/WebCore/editing/SpellingCorrectionController.cpp

    r86295 r86325  
    3737#include "TextCheckingHelper.h"
    3838#include "TextIterator.h"
     39#include "VisibleSelection.h"
    3940#include "htmlediting.h"
    4041#include "markup.h"
  • trunk/Source/WebCore/editing/SpellingCorrectionController.h

    r86295 r86325  
    3939
    4040#include "DocumentMarker.h"
    41 #include "EditCommand.h"
    42 #include "FloatRect.h"
    4341#include "Range.h"
    4442#include "Timer.h"
     43#include "VisibleSelection.h"
    4544#include <wtf/Noncopyable.h>
    4645#include <wtf/UnusedParam.h>
     
    4847namespace WebCore {
    4948
    50 class EditorClient;
    51 class Range;
    52 class TextCheckerClient;
    53 class VisibleSelection;
     49class EditCommand;
     50class Frame;
    5451
    5552struct CorrectionPanelInfo {
  • trunk/Source/WebCore/editing/TextCheckingHelper.cpp

    r82952 r86325  
    2828#include "TextCheckingHelper.h"
    2929
     30#include "Document.h"
    3031#include "DocumentMarkerController.h"
    3132#include "Range.h"
  • trunk/Source/WebCore/editing/TextIterator.h

    r83493 r86325  
    2828
    2929#include "FindOptions.h"
    30 #include "InlineTextBox.h"
    3130#include "Range.h"
    3231#include <wtf/Vector.h>
     
    3433namespace WebCore {
    3534
     35class InlineTextBox;
    3636class RenderText;
    3737class RenderTextFragment;
  • trunk/Source/WebCore/editing/htmlediting.h

    r83344 r86325  
    2828
    2929#include "EditingBoundary.h"
    30 #include "ExceptionCode.h"
    31 #include "HTMLNames.h"
    3230#include "Position.h"
    3331#include "TextDirection.h"
  • trunk/Source/WebCore/editing/markup.cpp

    r85090 r86325  
    5252#include "MarkupAccumulator.h"
    5353#include "Range.h"
     54#include "RenderObject.h"
    5455#include "TextIterator.h"
    5556#include "VisibleSelection.h"
  • trunk/Source/WebCore/editing/visible_units.cpp

    r86295 r86325  
    3030#include "Element.h"
    3131#include "HTMLNames.h"
     32#include "InlineTextBox.h"
    3233#include "Position.h"
    3334#include "RenderBlock.h"
  • trunk/Source/WebCore/editing/visible_units.h

    r86295 r86325  
    2828
    2929#include "EditingBoundary.h"
    30 #include "Position.h"
    31 #include "TextAffinity.h"
     30#include "TextDirection.h"
    3231
    3332namespace WebCore {
    3433
    35 class RootInlineBox;
     34class Node;
    3635class VisiblePosition;
    3736
  • trunk/Source/WebCore/fileapi/DOMFileSystem.cpp

    r81599 r86325  
    3939#include "ErrorCallback.h"
    4040#include "File.h"
     41#include "FileCallback.h"
    4142#include "FileEntry.h"
    4243#include "FileMetadata.h"
  • trunk/Source/WebCore/fileapi/DirectoryReaderSync.cpp

    r70741 r86325  
    3838#include "EntryArraySync.h"
    3939#include "EntrySync.h"
    40 #include "ExceptionCode.h"
    4140#include "FileEntrySync.h"
    4241#include "FileException.h"
  • trunk/Source/WebCore/fileapi/DirectoryReaderSync.h

    r70741 r86325  
    3535
    3636#include "DirectoryReaderBase.h"
    37 #include "EntryArraySync.h"
     37#include "ExceptionCode.h"
    3838#include "PlatformString.h"
    3939#include <wtf/PassRefPtr.h>
     
    4141
    4242namespace WebCore {
     43
     44class EntryArraySync;
    4345
    4446class DirectoryReaderSync : public DirectoryReaderBase {
  • trunk/Source/WebCore/fileapi/FileEntry.h

    r70741 r86325  
    3535
    3636#include "Entry.h"
    37 #include "FileCallback.h"
    38 #include "FileWriterCallback.h"
    3937
    4038namespace WebCore {
    4139
    4240class DOMFileSystemBase;
     41class FileCallback;
     42class FileWriterCallback;
    4343
    4444class FileEntry : public Entry {
  • trunk/Source/WebCore/fileapi/FileWriter.h

    r85556 r86325  
    3535
    3636#include "ActiveDOMObject.h"
     37#include "AsyncFileWriterClient.h"
    3738#include "EventTarget.h"
    3839#include "FileWriterBase.h"
  • trunk/Source/WebCore/fileapi/FileWriterBase.h

    r72715 r86325  
    3434#if ENABLE(FILE_SYSTEM)
    3535
    36 #include "AsyncFileWriterClient.h"
    3736#include <wtf/OwnPtr.h>
    3837#include <wtf/PassOwnPtr.h>
     
    4241
    4342class AsyncFileWriter;
    44 class Blob;
    4543
    4644typedef int ExceptionCode;
  • trunk/Source/WebCore/fileapi/FileWriterSync.h

    r72715 r86325  
    3434#if ENABLE(FILE_SYSTEM)
    3535
    36 #include "ActiveDOMObject.h"
     36#include "AsyncFileWriterClient.h"
    3737#include "FileError.h"
    3838#include "FileWriterBase.h"
  • trunk/Source/WebCore/history/CachedFrame.cpp

    r84443 r86325  
    2828
    2929#include "CachedFramePlatformData.h"
     30#include "Document.h"
    3031#include "DocumentLoader.h"
    3132#include "ExceptionCode.h"
     
    3839#include "Logging.h"
    3940#include "PageTransitionEvent.h"
     41#include "SerializedScriptValue.h"
    4042#include <wtf/text/CString.h>
    4143#include <wtf/RefCountedLeakCounter.h>
  • trunk/Source/WebCore/history/CachedPage.cpp

    r84091 r86325  
    2828
    2929#include "CSSStyleSelector.h"
     30#include "Document.h"
     31#include "Element.h"
    3032#include "FocusController.h"
    3133#include "Frame.h"
    3234#include "FrameView.h"
     35#include "Node.h"
    3336#include "Page.h"
    3437#include <wtf/CurrentTime.h>
  • trunk/Source/WebCore/history/HistoryItem.cpp

    r81058 r86325  
    3232#include "PageCache.h"
    3333#include "ResourceRequest.h"
     34#include "SerializedScriptValue.h"
    3435#include "SharedBuffer.h"
    3536#include <stdio.h>
  • trunk/Source/WebCore/history/HistoryItem.h

    r84052 r86325  
    2929#include "IntPoint.h"
    3030#include "PlatformString.h"
    31 #include "SerializedScriptValue.h"
    3231#include <wtf/HashMap.h>
    3332#include <wtf/OwnPtr.h>
     
    5857class KURL;
    5958class ResourceRequest;
     59class SerializedScriptValue;
    6060
    6161typedef Vector<RefPtr<HistoryItem> > HistoryItemVector;
  • trunk/Source/WebCore/history/PageCache.h

    r84091 r86325  
    2727#define PageCache_h
    2828
    29 #include "HistoryItem.h"
    3029#include "Timer.h"
    3130#include <wtf/Forward.h>
  • trunk/Source/WebCore/loader/HistoryController.h

    r82580 r86325  
    3333#include "FrameLoaderTypes.h"
    3434#include "PlatformString.h"
     35#include "SerializedScriptValue.h"
    3536#include <wtf/Noncopyable.h>
    3637#include <wtf/RefPtr.h>
  • trunk/Source/WebCore/loader/PingLoader.h

    r85316 r86325  
    3333#define PingLoader_h
    3434
    35 #include "FormData.h"
    3635#include "ResourceHandleClient.h"
    3736#include "Timer.h"
     
    4140namespace WebCore {
    4241
     42class FormData;
    4343class Frame;
    4444class KURL;
  • trunk/Source/WebCore/loader/ResourceLoader.h

    r85109 r86325  
    3333#include "ResourceRequest.h"
    3434#include "ResourceResponse.h"
    35 #include <wtf/RefCounted.h>
    36 #include "AuthenticationChallenge.h"
    37 #include "KURL.h"
    3835
    3936#include <wtf/Forward.h>
     37#include <wtf/RefCounted.h>
    4038
    4139namespace WebCore {
    4240
    43     class ApplicationCacheHost;
     41    class AuthenticationChallenge;
    4442    class DocumentLoader;
    4543    class Frame;
    4644    class FrameLoader;
    47     class ProtectionSpace;
     45    class KURL;
    4846    class ResourceHandle;
    4947    class SharedBuffer;
  • trunk/Source/WebCore/loader/appcache/DOMApplicationCache.h

    r65077 r86325  
    3030
    3131#include "ApplicationCacheHost.h"
    32 #include "EventListener.h"
    3332#include "EventNames.h"
    3433#include "EventTarget.h"
  • trunk/Source/WebCore/loader/cache/CachedCSSStyleSheet.h

    r72230 r86325  
    2828
    2929#include "CachedResource.h"
    30 #include "TextEncoding.h"
    3130#include <wtf/Vector.h>
    3231
    3332namespace WebCore {
    3433
    35     class CachedResourceLoader;
     34    class CachedResourceClient;
     35    class SharedBuffer;
    3636    class TextResourceDecoder;
    3737
  • trunk/Source/WebCore/loader/cache/CachedFont.cpp

    r84921 r86325  
    4848#if ENABLE(SVG_FONTS)
    4949#include "NodeList.h"
     50#include "SVGDocument.h"
    5051#include "SVGElement.h"
    5152#include "SVGFontElement.h"
  • trunk/Source/WebCore/loader/cache/CachedFont.h

    r83896 r86325  
    3232#include "FontWidthVariant.h"
    3333#include "TextOrientation.h"
    34 #include <wtf/Vector.h>
    35 
    36 #if ENABLE(SVG_FONTS)
    37 #include "SVGElement.h"
    38 #include "SVGDocument.h"
    39 #endif
    4034
    4135namespace WebCore {
    4236
     37class CachedResourceClient;
    4338class CachedResourceLoader;
    44 class MemoryCache;
    4539class FontPlatformData;
     40class SVGDocument;
    4641class SVGFontElement;
     42class SharedBuffer;
     43struct FontCustomPlatformData;
    4744
    4845struct FontCustomPlatformData;
  • trunk/Source/WebCore/loader/cache/CachedResourceRequest.cpp

    r85030 r86325  
    3838#include "ResourceResponse.h"
    3939#include "SharedBuffer.h"
     40#include "SubresourceLoader.h"
    4041#include <wtf/Assertions.h>
    4142#include <wtf/Vector.h>
  • trunk/Source/WebCore/loader/cache/CachedResourceRequest.h

    r78558 r86325  
    2424
    2525#include "FrameLoaderTypes.h"
    26 #include "SubresourceLoader.h"
    2726#include "SubresourceLoaderClient.h"
    2827#include <wtf/HashMap.h>
    2928#include <wtf/Noncopyable.h>
     29#include <wtf/RefCounted.h>
    3030#include <wtf/RefPtr.h>
    3131
     
    3434    class CachedResource;
    3535    class CachedResourceLoader;
    36     class Request;
     36    class ResourceError;
     37    class ResourceRequest;
     38    class ResourceResponse;
     39    class SubresourceLoader;
    3740
    3841    class CachedResourceRequest : public RefCounted<CachedResourceRequest>, private SubresourceLoaderClient {
  • trunk/Source/WebCore/loader/cache/MemoryCache.h

    r78848 r86325  
    2626#define Cache_h
    2727
    28 #include "CachePolicy.h"
    2928#include "CachedResource.h"
    3029#include "PlatformString.h"
  • trunk/Source/WebCore/notifications/Notification.cpp

    r84260 r86325  
    3535
    3636#include "Notification.h"
     37
     38#include "Document.h"
     39#include "EventNames.h"
    3740#include "NotificationCenter.h"
    3841#include "NotificationContents.h"
    39 
    40 #include "Document.h"
    41 #include "EventNames.h"
     42#include "NotificationPresenter.h"
    4243#include "ResourceRequest.h"
    4344#include "ResourceResponse.h"
  • trunk/Source/WebCore/notifications/Notification.h

    r84260 r86325  
    3434
    3535#include "ActiveDOMObject.h"
    36 #include "Event.h"
    37 #include "EventListener.h"
    3836#include "EventNames.h"
    3937#include "EventTarget.h"
    4038#include "ExceptionCode.h"
    4139#include "KURL.h"
    42 #include "NotificationPresenter.h"
    4340#include "NotificationContents.h"
    44 #include "RegisteredEventListener.h"
    4541#include "SharedBuffer.h"
    4642#include "TextDirection.h"
    47 #include "ThreadableLoader.h"
    4843#include "ThreadableLoaderClient.h"
    4944#include <wtf/OwnPtr.h>
     
    5752
    5853    class NotificationCenter;
    59     class WorkerContext;
     54    class ResourceError;
     55    class ResourceResponse;
     56    class ScriptExecutionContext;
     57    class ThreadableLoader;
    6058
    6159    class Notification : public RefCounted<Notification>, public ActiveDOMObject, public ThreadableLoaderClient, public EventTarget {
  • trunk/Source/WebCore/notifications/NotificationCenter.cpp

    r77738 r86325  
    3636
    3737#include "Document.h"
     38#include "NotificationPresenter.h"
    3839#include "VoidCallback.h"
    3940#include "WorkerContext.h"
  • trunk/Source/WebCore/notifications/NotificationCenter.h

    r77738 r86325  
    3535#include "NotificationContents.h"
    3636#include "ScriptExecutionContext.h"
    37 #include "WorkerThread.h"
    3837#include <wtf/OwnPtr.h>
    3938#include <wtf/PassRefPtr.h>
     
    4443
    4544namespace WebCore {
     45   
     46    class NotificationPresenter;
     47    class VoidCallback;
    4648
    4749    class NotificationCenter : public RefCounted<NotificationCenter>, public ActiveDOMObject {
  • trunk/Source/WebCore/page/Chrome.cpp

    r84742 r86325  
    2525#include "DNS.h"
    2626#include "Document.h"
     27#include "FileChooser.h"
    2728#include "FileList.h"
    2829#include "FloatRect.h"
  • trunk/Source/WebCore/page/Chrome.h

    r84238 r86325  
    2323
    2424#include "Cursor.h"
    25 #include "FileChooser.h"
    2625#include "FocusDirection.h"
    2726#include "HostWindow.h"
    28 #include "PopupMenu.h"
    29 #include "SearchPopupMenu.h"
    3027#include <wtf/Forward.h>
    3128#include <wtf/RefPtr.h>
     
    4037
    4138    class ChromeClient;
    42     class ContextMenu;
     39    class FileChooser;
    4340    class FloatRect;
    4441    class Frame;
     
    4946    class Node;
    5047    class Page;
     48    class PopupMenu;
    5149    class PopupMenuClient;
    5250#if ENABLE(NOTIFICATIONS)
    5351    class NotificationPresenter;
    5452#endif
     53    class SearchPopupMenu;
    5554
    5655    struct FrameLoadRequest;
  • trunk/Source/WebCore/page/DOMSelection.cpp

    r85864 r86325  
    3131#include "DOMSelection.h"
    3232
     33#include "Document.h"
    3334#include "ExceptionCode.h"
    3435#include "Frame.h"
  • trunk/Source/WebCore/page/DOMTimer.h

    r81057 r86325  
    2828#define DOMTimer_h
    2929
    30 #include "ScheduledAction.h"
    3130#include "SuspendableTimer.h"
    3231#include <wtf/OwnPtr.h>
     
    3534namespace WebCore {
    3635
     36    class ScheduledAction;
    3737    class Settings;
    3838
  • trunk/Source/WebCore/page/DOMWindow.cpp

    r85484 r86325  
    8181#include "PlatformScreen.h"
    8282#include "PlatformString.h"
     83#include "ScheduledAction.h"
    8384#include "Screen.h"
    8485#include "SecurityOrigin.h"
  • trunk/Source/WebCore/page/EventHandler.cpp

    r86135 r86325  
    7272#include "Scrollbar.h"
    7373#include "Settings.h"
     74#include "SpatialNavigation.h"
    7475#include "StyleCachedImage.h"
    7576#include "TextEvent.h"
  • trunk/Source/WebCore/page/FocusController.h

    r76248 r86325  
    2828
    2929#include "FocusDirection.h"
    30 #include "SpatialNavigation.h"
    3130#include <wtf/Forward.h>
    3231#include <wtf/Noncopyable.h>
     
    3534namespace WebCore {
    3635
    37 class Document;
     36struct FocusCandidate;
    3837class Frame;
     38class IntRect;
    3939class KeyboardEvent;
    4040class Node;
  • trunk/Source/WebCore/page/Geolocation.cpp

    r85030 r86325  
    3434#include "Document.h"
    3535#include "Frame.h"
     36#include "Geoposition.h"
    3637#include "Page.h"
    3738#include <wtf/CurrentTime.h>
  • trunk/Source/WebCore/page/Geolocation.h

    r86251 r86325  
    2929
    3030#include "GeolocationPositionCache.h"
    31 #include "Geoposition.h"
    3231#include "PositionCallback.h"
    3332#include "PositionError.h"
     
    4342
    4443class Frame;
    45 class Page;
    46 
    4744#if ENABLE(CLIENT_BASED_GEOLOCATION)
    4845class GeolocationPosition;
    4946class GeolocationError;
    5047#endif
     48class Geoposition;
     49class Page;
    5150
    5251class Geolocation : public RefCounted<Geolocation>
  • trunk/Source/WebCore/page/GeolocationPositionCache.h

    r74354 r86325  
    2727#define GeolocationPositionCache_h
    2828
     29#include "Geoposition.h"
    2930#include "PlatformString.h"
    3031#include "ScriptExecutionContext.h"
     
    3637
    3738namespace WebCore {
    38 
    39 class Geoposition;
    4039
    4140// Maintains a cached position for Geolocation. Takes care of writing and
  • trunk/Source/WebCore/page/History.cpp

    r85436 r86325  
    3636#include "Page.h"
    3737#include "SecurityOrigin.h"
     38#include "SerializedScriptValue.h"
    3839
    3940namespace WebCore {
  • trunk/Source/WebCore/plugins/gtk/PluginViewGtk.cpp

    r86102 r86325  
    5959#include "RenderLayer.h"
    6060#include "Settings.h"
     61#include "SpatialNavigation.h"
    6162#include "JSDOMBinding.h"
    6263#include "npruntime_impl.h"
  • trunk/Source/WebCore/rendering/RenderListBox.cpp

    r86135 r86325  
    5656#include "ScrollbarTheme.h"
    5757#include "SelectElement.h"
     58#include "SpatialNavigation.h"
    5859#include "TextRun.h"
    5960#include <math.h>
  • trunk/Source/WebCore/workers/WorkerContext.cpp

    r84892 r86325  
    4848#include "MessagePort.h"
    4949#include "NotImplemented.h"
     50#include "ScheduledAction.h"
    5051#include "ScriptCallStack.h"
    5152#include "ScriptSourceCode.h"
  • trunk/Source/WebKit/chromium/ChangeLog

    r86312 r86325  
     12011-05-10  Tony Gentilcore  <tonyg@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Perform some forward declarations suggested by include-what-you-use
     6        https://bugs.webkit.org/show_bug.cgi?id=60545
     7
     8        * src/WebHistoryItem.cpp:
     9        * src/WebNotification.cpp:
     10        * src/WebTextCheckingCompletionImpl.cpp:
     11        * src/mac/WebSubstringUtil.mm:
     12
    1132011-05-11  Levi Weintraub  <leviw@chromium.org>
    214
  • trunk/Source/WebKit/chromium/src/WebHistoryItem.cpp

    r61207 r86325  
    3535#include "HistoryItem.h"
    3636#include "KURL.h"
     37#include "SerializedScriptValue.h"
    3738
    3839#include "WebHTTPBody.h"
  • trunk/Source/WebKit/chromium/src/WebNotification.cpp

    r77896 r86325  
    3434#if ENABLE(NOTIFICATIONS)
    3535
     36#include "Event.h"
    3637#include "Notification.h"
    3738#include "UserGestureIndicator.h"
  • trunk/Source/WebKit/chromium/src/WebTextCheckingCompletionImpl.cpp

    r82952 r86325  
    3333
    3434#include "SpellChecker.h"
     35#include "TextCheckerClient.h"
    3536#include "WebTextCheckingResult.h"
    3637#include "WebVector.h"
  • trunk/Source/WebKit/chromium/src/mac/WebSubstringUtil.mm

    r85001 r86325  
    4242#include "Node.h"
    4343#include "Range.h"
     44#include "RenderObject.h"
     45#include "RenderStyle.h"
    4446#include "TextIterator.h"
    4547#include "WebRect.h"
  • trunk/Source/WebKit/mac/ChangeLog

    r86281 r86325  
     12011-05-10  Tony Gentilcore  <tonyg@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Perform some forward declarations suggested by include-what-you-use
     6        https://bugs.webkit.org/show_bug.cgi?id=60545
     7
     8        * Plugins/Hosted/WebHostedNetscapePluginView.mm:
     9        * WebView/WebFrame.mm:
     10
    1112011-05-11  Jia Pu  <jpu@apple.com>
    212
  • trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm

    r85036 r86325  
    4545#import <WebCore/HTMLPlugInElement.h>
    4646#import <WebCore/RenderEmbeddedObject.h>
     47#import <WebCore/ResourceError.h>
    4748#import <WebCore/WebCoreObjCExtras.h>
    4849#import <WebCore/runtime_root.h>
  • trunk/Source/WebKit/mac/WebView/WebFrame.mm

    r85864 r86325  
    7272#import <WebCore/GraphicsContext.h>
    7373#import <WebCore/HTMLFrameOwnerElement.h>
     74#import <WebCore/HTMLNames.h>
    7475#import <WebCore/HistoryItem.h>
    7576#import <WebCore/HitTestResult.h>
  • trunk/Source/WebKit/qt/WebCoreSupport/EditorClientQt.cpp

    r84574 r86325  
    4848#include "Range.h"
    4949#include "Settings.h"
     50#include "SpatialNavigation.h"
    5051#include "WindowsKeyboardCodes.h"
    5152#include "qwebpage.h"
  • trunk/Source/WebKit/win/WebCoreSupport/WebEditorClient.cpp

    r84574 r86325  
    4545#include <WebCore/Range.h>
    4646#include <WebCore/UserTypingGestureIndicator.h>
     47#include <WebCore/VisibleSelection.h>
    4748
    4849using namespace WebCore;
  • trunk/Source/WebKit2/ChangeLog

    r86317 r86325  
     12011-05-10  Tony Gentilcore  <tonyg@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Perform some forward declarations suggested by include-what-you-use
     6        https://bugs.webkit.org/show_bug.cgi?id=60545
     7
     8        * WebProcess/WebPage/mac/WebPageMac.mm:
     9
    1102011-05-12  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp

    r86259 r86325  
    3636#include <WebCore/Chrome.h>
    3737#include <WebCore/CookieJar.h>
     38#include <WebCore/Credential.h>
    3839#include <WebCore/CredentialStorage.h>
    3940#include <WebCore/DocumentLoader.h>
  • trunk/Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm

    r85783 r86325  
    4848#import <WebCore/PlatformKeyboardEvent.h>
    4949#import <WebCore/ResourceHandle.h>
     50#import <WebCore/RenderObject.h>
     51#import <WebCore/RenderStyle.h>
    5052#import <WebCore/ScrollView.h>
    5153#import <WebCore/TextIterator.h>
Note: See TracChangeset for help on using the changeset viewer.