Clean up the mess introduced when config.h was added to the project:
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Jan 2011 22:31:11 +0000 (22:31 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Jan 2011 22:31:11 +0000 (22:31 +0000)
commit5310fdef9b2cb0ea3a29ba329c294d8542068939
treeab025e940cd56a05dc7ce9b2ec67c43f77a2812d
parent6ec42efbba62aef5ab0d5c4534da6eb499f9d884
Clean up the mess introduced when config.h was added to the project:

Reviewed by Sam Weinig.

- Remove the contents of WebKit2Prefix.h that is now in config.h, to avoid including everything
  twice in each file, probably slowing down compile time.

- Add config.h to all the files that were forgotten in order to keep the build from breaking.

- Added trap to ensure that config.h is included at the top of every implementation file. If this
  had been added it would have caught the previous issue.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@76991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
62 files changed:
Source/WebKit2/ChangeLog
Source/WebKit2/Platform/mac/ModuleMac.mm
Source/WebKit2/Platform/mac/RunLoopMac.mm
Source/WebKit2/PluginProcess/mac/PluginControllerProxyMac.mm
Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm
Source/WebKit2/PluginProcess/mac/PluginProcessMainMac.mm
Source/WebKit2/Shared/API/c/mac/WKCertificateInfoMac.mm
Source/WebKit2/Shared/API/c/mac/WKURLRequestNS.mm
Source/WebKit2/Shared/API/c/mac/WKURLResponseNS.mm
Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm
Source/WebKit2/Shared/mac/NativeWebKeyboardEventMac.mm
Source/WebKit2/Shared/mac/PasteboardTypes.mm
Source/WebKit2/Shared/mac/PlatformCertificateInfo.mm
Source/WebKit2/Shared/mac/PrintInfoMac.mm
Source/WebKit2/Shared/mac/SandboxExtensionMac.mm
Source/WebKit2/Shared/mac/WebCoreArgumentCodersMac.mm
Source/WebKit2/Shared/mac/WebEventFactory.mm
Source/WebKit2/Shared/mac/WebMemorySampler.mac.mm
Source/WebKit2/Shared/mac/WebURLRequestMac.mm
Source/WebKit2/Shared/mac/WebURLResponseMac.mm
Source/WebKit2/UIProcess/API/mac/FindIndicatorWindow.mm
Source/WebKit2/UIProcess/API/mac/PDFViewController.mm
Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm
Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm
Source/WebKit2/UIProcess/API/mac/WKTextInputWindowController.mm
Source/WebKit2/UIProcess/API/mac/WKView.mm
Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm
Source/WebKit2/UIProcess/Launcher/mac/ThreadLauncherMac.mm
Source/WebKit2/UIProcess/Plugins/mac/PluginInfoStoreMac.mm
Source/WebKit2/UIProcess/Plugins/mac/PluginProcessProxyMac.mm
Source/WebKit2/UIProcess/cf/WebPageProxyCF.cpp
Source/WebKit2/UIProcess/mac/BackingStoreMac.mm
Source/WebKit2/UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm
Source/WebKit2/UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm
Source/WebKit2/UIProcess/mac/TextCheckerMac.mm
Source/WebKit2/UIProcess/mac/WebContextMac.mm
Source/WebKit2/UIProcess/mac/WebContextMenuProxyMac.mm
Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm
Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm
Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm
Source/WebKit2/UIProcess/mac/WebPreferencesMac.mm
Source/WebKit2/WebKit2Prefix.h
Source/WebKit2/WebProcess/Downloads/mac/DownloadMac.mm
Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm
Source/WebKit2/WebProcess/Plugins/Netscape/mac/PluginProxyMac.mm
Source/WebKit2/WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm
Source/WebKit2/WebProcess/WebCoreSupport/mac/WebDragClientMac.mm
Source/WebKit2/WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm
Source/WebKit2/WebProcess/WebCoreSupport/mac/WebErrorsMac.mm
Source/WebKit2/WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm
Source/WebKit2/WebProcess/WebCoreSupport/mac/WebPopupMenuMac.mm
Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm
Source/WebKit2/WebProcess/WebPage/LayerTreeHost.cpp
Source/WebKit2/WebProcess/WebPage/mac/AccessibilityWebPageObject.mm
Source/WebKit2/WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm
Source/WebKit2/WebProcess/WebPage/mac/LayerTreeHostMac.mm
Source/WebKit2/WebProcess/WebPage/mac/WebInspectorMac.mm
Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm
Source/WebKit2/WebProcess/mac/WebProcessMac.mm
Source/WebKit2/WebProcess/mac/WebProcessMainMac.mm
Source/WebKit2/config.h
Source/WebKit2/mac/MainMac.cpp