Remove excessive headers from WebCore/platform
authorannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jun 2017 20:35:34 +0000 (20:35 +0000)
committerannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jun 2017 20:35:34 +0000 (20:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173822

Reviewed by Tim Horton.

Source/WebCore:

No new tests needed.

* html/ColorInputType.h:
* html/MediaElementSession.h:
* page/SecurityOriginData.cpp:
* platform/CalculationValue.cpp:
* platform/CalculationValue.h:
* platform/ColorChooserClient.h:
* platform/ContentType.h:
* platform/LogMacros.h:
* platform/PODRedBlackTree.h:
* platform/PasteboardStrategy.h:
* platform/PlatformPasteboard.h:
* platform/PopupMenuStyle.h:
* platform/ScrollAnimator.h:
* platform/Theme.h:
* platform/ThreadGlobalData.h:
* platform/animation/AnimationList.h:
* platform/audio/AudioArray.h:
* platform/audio/AudioChannel.h:
* platform/audio/DynamicsCompressor.h:
* platform/audio/DynamicsCompressorKernel.h:
* platform/audio/FFTFrame.h:
* platform/audio/HRTFDatabaseLoader.cpp:
* platform/audio/HRTFDatabaseLoader.h:
* platform/audio/HRTFElevation.h:
* platform/audio/MultiChannelResampler.h:
* platform/audio/PlatformMediaSession.h:
* platform/audio/ReverbConvolver.h:
* platform/audio/ReverbConvolverStage.cpp:
* platform/graphics/ANGLEWebKitBridge.h:
* platform/graphics/BitmapImage.h:
* platform/graphics/CrossfadeGeneratedImage.h:
* platform/graphics/FloatPolygon.h:
* platform/graphics/FloatSizeHash.h:
* platform/graphics/Font.h:
* platform/graphics/FontMetrics.h:
* platform/graphics/FontPlatformData.h:
* platform/graphics/FontRanges.h:
* platform/graphics/FontTaggedSettings.h:
* platform/graphics/GraphicsContext3D.h:
* platform/graphics/GraphicsContext3DPrivate.h:
* platform/graphics/GraphicsLayerClient.h:
* platform/graphics/Image.cpp:
* platform/graphics/ImageFrame.h:
* platform/graphics/ImageFrameCache.h:
* platform/graphics/ImageSource.h:
* platform/graphics/IntRectHash.h:
* platform/graphics/IntSizeHash.h:
* platform/graphics/MediaPlaybackTargetClient.h:
* platform/graphics/Pattern.h:
* platform/graphics/PlatformTimeRanges.h:
* platform/graphics/TextRun.h:
* platform/graphics/TiledBacking.h:
* platform/graphics/cairo/FontCustomPlatformData.h:
* platform/graphics/filters/FEConvolveMatrix.h:
* platform/graphics/filters/FELighting.h:
* platform/graphics/filters/SourceAlpha.h:
* platform/graphics/gstreamer/GStreamerUtilities.h:
* platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h:
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
* platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h:
* platform/graphics/harfbuzz/HarfBuzzShaper.h:
* platform/graphics/opengl/Extensions3DOpenGL.h:
* platform/graphics/texmap/GraphicsLayerTextureMapper.h:
* platform/graphics/texmap/TextureMapperBackingStore.h:
* platform/graphics/texmap/TextureMapperGL.cpp:
* platform/graphics/texmap/TextureMapperGL.h:
* platform/graphics/texmap/TextureMapperPlatformLayerProxy.h:
* platform/graphics/texmap/TextureMapperTile.h:
* platform/graphics/texmap/coordinated/Tile.h:
* platform/graphics/texmap/coordinated/TiledBackingStore.h:
* platform/graphics/transforms/TransformState.h:
* platform/gtk/PasteboardHelper.h:
* platform/gtk/ScrollbarThemeGtk.h:
* platform/image-decoders/ImageDecoder.h:
* platform/network/BlobData.h:
* platform/network/BlobDataFileReference.h:
* platform/network/ResourceHandle.h:
* platform/network/ResourceHandleInternal.h:
* platform/network/SocketStreamHandleClient.h:
* platform/network/soup/ResourceRequest.h:
* platform/network/soup/SocketStreamHandleImpl.h:
* platform/network/soup/SoupNetworkSession.h:
* platform/sql/SQLiteFileSystem.h:
* platform/text/LocaleICU.h:

Source/WebKit2:

* WebProcess/WebCoreSupport/SessionStateConversion.cpp:

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

90 files changed:
Source/WebCore/ChangeLog
Source/WebCore/html/ColorInputType.h
Source/WebCore/html/MediaElementSession.h
Source/WebCore/page/SecurityOriginData.cpp
Source/WebCore/platform/CalculationValue.cpp
Source/WebCore/platform/CalculationValue.h
Source/WebCore/platform/ColorChooserClient.h
Source/WebCore/platform/ContentType.h
Source/WebCore/platform/LogMacros.h
Source/WebCore/platform/PODRedBlackTree.h
Source/WebCore/platform/PasteboardStrategy.h
Source/WebCore/platform/PlatformPasteboard.h
Source/WebCore/platform/PopupMenuStyle.h
Source/WebCore/platform/ScrollAnimator.h
Source/WebCore/platform/Theme.h
Source/WebCore/platform/ThreadGlobalData.h
Source/WebCore/platform/animation/AnimationList.h
Source/WebCore/platform/audio/AudioArray.h
Source/WebCore/platform/audio/AudioChannel.h
Source/WebCore/platform/audio/DynamicsCompressor.h
Source/WebCore/platform/audio/DynamicsCompressorKernel.h
Source/WebCore/platform/audio/FFTFrame.h
Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp
Source/WebCore/platform/audio/HRTFDatabaseLoader.h
Source/WebCore/platform/audio/HRTFElevation.h
Source/WebCore/platform/audio/MultiChannelResampler.h
Source/WebCore/platform/audio/PlatformMediaSession.h
Source/WebCore/platform/audio/ReverbConvolver.h
Source/WebCore/platform/audio/ReverbConvolverStage.cpp
Source/WebCore/platform/graphics/ANGLEWebKitBridge.h
Source/WebCore/platform/graphics/BitmapImage.h
Source/WebCore/platform/graphics/CrossfadeGeneratedImage.h
Source/WebCore/platform/graphics/FloatPolygon.h
Source/WebCore/platform/graphics/FloatSizeHash.h
Source/WebCore/platform/graphics/Font.h
Source/WebCore/platform/graphics/FontMetrics.h
Source/WebCore/platform/graphics/FontPlatformData.h
Source/WebCore/platform/graphics/FontRanges.h
Source/WebCore/platform/graphics/FontTaggedSettings.h
Source/WebCore/platform/graphics/GraphicsContext3D.h
Source/WebCore/platform/graphics/GraphicsContext3DPrivate.h
Source/WebCore/platform/graphics/GraphicsLayerClient.h
Source/WebCore/platform/graphics/Image.cpp
Source/WebCore/platform/graphics/ImageFrame.h
Source/WebCore/platform/graphics/ImageFrameCache.h
Source/WebCore/platform/graphics/ImageSource.h
Source/WebCore/platform/graphics/IntRectHash.h
Source/WebCore/platform/graphics/IntSizeHash.h
Source/WebCore/platform/graphics/MediaPlaybackTargetClient.h
Source/WebCore/platform/graphics/Pattern.h
Source/WebCore/platform/graphics/PlatformTimeRanges.h
Source/WebCore/platform/graphics/TextRun.h
Source/WebCore/platform/graphics/TiledBacking.h
Source/WebCore/platform/graphics/cairo/FontCustomPlatformData.h
Source/WebCore/platform/graphics/filters/FEConvolveMatrix.h
Source/WebCore/platform/graphics/filters/FELighting.h
Source/WebCore/platform/graphics/filters/SourceAlpha.h
Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h
Source/WebCore/platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h
Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h
Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.h
Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h
Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h
Source/WebCore/platform/graphics/texmap/TextureMapperBackingStore.h
Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp
Source/WebCore/platform/graphics/texmap/TextureMapperGL.h
Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxy.h
Source/WebCore/platform/graphics/texmap/TextureMapperTile.h
Source/WebCore/platform/graphics/texmap/coordinated/Tile.h
Source/WebCore/platform/graphics/texmap/coordinated/TiledBackingStore.h
Source/WebCore/platform/graphics/transforms/TransformState.h
Source/WebCore/platform/gtk/PasteboardHelper.h
Source/WebCore/platform/gtk/ScrollbarThemeGtk.h
Source/WebCore/platform/image-decoders/ImageDecoder.h
Source/WebCore/platform/network/BlobData.h
Source/WebCore/platform/network/BlobDataFileReference.h
Source/WebCore/platform/network/ResourceHandle.h
Source/WebCore/platform/network/ResourceHandleInternal.h
Source/WebCore/platform/network/SocketStreamHandleClient.h
Source/WebCore/platform/network/soup/ResourceRequest.h
Source/WebCore/platform/network/soup/SocketStreamHandleImpl.h
Source/WebCore/platform/network/soup/SoupNetworkSession.h
Source/WebCore/platform/sql/SQLiteFileSystem.h
Source/WebCore/platform/text/LocaleICU.h
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/mac/WKPrintingView.h
Source/WebKit2/WebProcess/WebCoreSupport/SessionStateConversion.cpp
Tools/TestWebKitAPI/Tests/WebCore/CalculationValue.cpp

index 51e42f8..42fd4ab 100644 (file)
@@ -1,3 +1,98 @@
+2017-06-25  Konstantin Tokarev  <annulen@yandex.ru>
+
+        Remove excessive headers from WebCore/platform
+        https://bugs.webkit.org/show_bug.cgi?id=173822
+
+        Reviewed by Tim Horton.
+
+        No new tests needed.
+
+        * html/ColorInputType.h:
+        * html/MediaElementSession.h:
+        * page/SecurityOriginData.cpp:
+        * platform/CalculationValue.cpp:
+        * platform/CalculationValue.h:
+        * platform/ColorChooserClient.h:
+        * platform/ContentType.h:
+        * platform/LogMacros.h:
+        * platform/PODRedBlackTree.h:
+        * platform/PasteboardStrategy.h:
+        * platform/PlatformPasteboard.h:
+        * platform/PopupMenuStyle.h:
+        * platform/ScrollAnimator.h:
+        * platform/Theme.h:
+        * platform/ThreadGlobalData.h:
+        * platform/animation/AnimationList.h:
+        * platform/audio/AudioArray.h:
+        * platform/audio/AudioChannel.h:
+        * platform/audio/DynamicsCompressor.h:
+        * platform/audio/DynamicsCompressorKernel.h:
+        * platform/audio/FFTFrame.h:
+        * platform/audio/HRTFDatabaseLoader.cpp:
+        * platform/audio/HRTFDatabaseLoader.h:
+        * platform/audio/HRTFElevation.h:
+        * platform/audio/MultiChannelResampler.h:
+        * platform/audio/PlatformMediaSession.h:
+        * platform/audio/ReverbConvolver.h:
+        * platform/audio/ReverbConvolverStage.cpp:
+        * platform/graphics/ANGLEWebKitBridge.h:
+        * platform/graphics/BitmapImage.h:
+        * platform/graphics/CrossfadeGeneratedImage.h:
+        * platform/graphics/FloatPolygon.h:
+        * platform/graphics/FloatSizeHash.h:
+        * platform/graphics/Font.h:
+        * platform/graphics/FontMetrics.h:
+        * platform/graphics/FontPlatformData.h:
+        * platform/graphics/FontRanges.h:
+        * platform/graphics/FontTaggedSettings.h:
+        * platform/graphics/GraphicsContext3D.h:
+        * platform/graphics/GraphicsContext3DPrivate.h:
+        * platform/graphics/GraphicsLayerClient.h:
+        * platform/graphics/Image.cpp:
+        * platform/graphics/ImageFrame.h:
+        * platform/graphics/ImageFrameCache.h:
+        * platform/graphics/ImageSource.h:
+        * platform/graphics/IntRectHash.h:
+        * platform/graphics/IntSizeHash.h:
+        * platform/graphics/MediaPlaybackTargetClient.h:
+        * platform/graphics/Pattern.h:
+        * platform/graphics/PlatformTimeRanges.h:
+        * platform/graphics/TextRun.h:
+        * platform/graphics/TiledBacking.h:
+        * platform/graphics/cairo/FontCustomPlatformData.h:
+        * platform/graphics/filters/FEConvolveMatrix.h:
+        * platform/graphics/filters/FELighting.h:
+        * platform/graphics/filters/SourceAlpha.h:
+        * platform/graphics/gstreamer/GStreamerUtilities.h:
+        * platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h:
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
+        * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h:
+        * platform/graphics/harfbuzz/HarfBuzzShaper.h:
+        * platform/graphics/opengl/Extensions3DOpenGL.h:
+        * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
+        * platform/graphics/texmap/TextureMapperBackingStore.h:
+        * platform/graphics/texmap/TextureMapperGL.cpp:
+        * platform/graphics/texmap/TextureMapperGL.h:
+        * platform/graphics/texmap/TextureMapperPlatformLayerProxy.h:
+        * platform/graphics/texmap/TextureMapperTile.h:
+        * platform/graphics/texmap/coordinated/Tile.h:
+        * platform/graphics/texmap/coordinated/TiledBackingStore.h:
+        * platform/graphics/transforms/TransformState.h:
+        * platform/gtk/PasteboardHelper.h:
+        * platform/gtk/ScrollbarThemeGtk.h:
+        * platform/image-decoders/ImageDecoder.h:
+        * platform/network/BlobData.h:
+        * platform/network/BlobDataFileReference.h:
+        * platform/network/ResourceHandle.h:
+        * platform/network/ResourceHandleInternal.h:
+        * platform/network/SocketStreamHandleClient.h:
+        * platform/network/soup/ResourceRequest.h:
+        * platform/network/soup/SocketStreamHandleImpl.h:
+        * platform/network/soup/SoupNetworkSession.h:
+        * platform/sql/SQLiteFileSystem.h:
+        * platform/text/LocaleICU.h:
+
 2017-06-25  Youenn Fablet  <youenn@apple.com>
 
         Remove use of mock webrtc backend factory at injected bundle reset time
index 06f60e2..5c82d08 100644 (file)
@@ -34,6 +34,7 @@
 #if ENABLE(INPUT_TYPE_COLOR)
 
 #include "BaseClickableWithKeyInputType.h"
+#include "ColorChooser.h"
 #include "ColorChooserClient.h"
 
 namespace WebCore {
index ea38b23..d88f270 100644 (file)
@@ -28,6 +28,7 @@
 #if ENABLE(VIDEO)
 
 #include "MediaPlayer.h"
+#include "MediaProducer.h"
 #include "PlatformMediaSession.h"
 #include "SuccessOr.h"
 #include "Timer.h"
index e2e44f0..923ff33 100644 (file)
@@ -27,6 +27,7 @@
 #include "SecurityOriginData.h"
 
 #include "Document.h"
+#include "FileSystem.h"
 #include "Frame.h"
 #include "SecurityOrigin.h"
 #include <wtf/text/CString.h>
index 65246ce..043178b 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "config.h"
 #include "CalculationValue.h"
+#include "LengthFunctions.h"
 #include "TextStream.h"
 
 #include <limits>
index 4530099..056dc4a 100644 (file)
 #define CalculationValue_h
 
 #include "Length.h"
-#include "LengthFunctions.h"
 #include <memory>
+#include <wtf/Ref.h>
 #include <wtf/RefCounted.h>
-#include <wtf/RefPtr.h>
 
 namespace WebCore {
 
index bde5e78..074ccc1 100644 (file)
@@ -32,7 +32,6 @@
 
 #if ENABLE(INPUT_TYPE_COLOR)
 
-#include "ColorChooser.h"
 #include "IntRect.h"
 #include <wtf/Vector.h>
 
index 06b679d..96638d2 100644 (file)
@@ -27,7 +27,6 @@
 #ifndef ContentType_h
 #define ContentType_h
 
-#include <wtf/HashMap.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
index 9c72e16..9d99125 100644 (file)
@@ -25,8 +25,6 @@
 
 #pragma once
 
-#include <functional>
-
 #if LOG_DISABLED
 
 #define LOG_WITH_STREAM(channel, commands) ((void)0)
index 1b15daa..4b6efe3 100644 (file)
@@ -76,7 +76,6 @@
 #include <wtf/Assertions.h>
 #include <wtf/Noncopyable.h>
 #ifndef NDEBUG
-#include <wtf/text/CString.h>
 #include <wtf/text/StringBuilder.h>
 #include <wtf/text/WTFString.h>
 #endif
index 9bf279e..07ae08a 100644 (file)
@@ -27,7 +27,6 @@
 #define PasteboardStrategy_h
 
 #include <wtf/Forward.h>
-#include <wtf/RefCounted.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {
index 13e5989..f4439de 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <wtf/Forward.h>
 #include <wtf/Function.h>
-#include <wtf/RefCounted.h>
 #include <wtf/RetainPtr.h>
 #include <wtf/Vector.h>
 
index 379aa21..37cee63 100644 (file)
@@ -29,7 +29,6 @@
 #include "Color.h"
 #include "FontCascade.h"
 #include "Length.h"
-#include "TextFlags.h"
 
 namespace WebCore {
 
index eae62fc..d7c73db 100644 (file)
@@ -33,7 +33,6 @@
 #define ScrollAnimator_h
 
 #include "FloatPoint.h"
-#include "LayoutUnit.h"
 #include "PlatformWheelEvent.h"
 #include "ScrollTypes.h"
 #include "WheelEventTestTrigger.h"
index a659402..94029d7 100644 (file)
@@ -29,8 +29,6 @@
 #include "Color.h"
 #include "ControlStates.h"
 #include "FontCascade.h"
-#include "GraphicsTypes.h"
-#include "IntRect.h"
 #include "LengthBox.h"
 #include "LengthSize.h"
 #include "ThemeTypes.h"
index c0db665..58f7c07 100644 (file)
 #ifndef ThreadGlobalData_h
 #define ThreadGlobalData_h
 
-#include <wtf/Noncopyable.h>
 #include <wtf/text/StringHash.h>
 
 #include <wtf/ThreadSpecific.h>
-#include <wtf/Threading.h>
 using WTF::ThreadSpecific;
 
 namespace WebCore {
index ea7c9b7..ab76209 100644 (file)
@@ -25,7 +25,6 @@
 #pragma once
 
 #include "Animation.h"
-#include <wtf/RefPtr.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {
index 6307e2b..1d60f46 100644 (file)
@@ -32,7 +32,6 @@
 #include <string.h>
 #include <wtf/CheckedArithmetic.h>
 #include <wtf/FastMalloc.h>
-#include <wtf/Vector.h>
 
 namespace WebCore {
 
index c47873a..bbc1357 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "AudioArray.h"
 #include <memory>
+#include <wtf/Noncopyable.h>
 
 namespace WebCore {
 
index 04133ee..a11d87d 100644 (file)
@@ -29,7 +29,6 @@
 #ifndef DynamicsCompressor_h
 #define DynamicsCompressor_h
 
-#include "AudioArray.h"
 #include "DynamicsCompressorKernel.h"
 #include "ZeroPole.h"
 #include <memory>
index 804d552..40620fb 100644 (file)
@@ -44,7 +44,6 @@ G_END_DECLS
 
 #include <memory>
 #include <wtf/Forward.h>
-#include <wtf/Threading.h>
 
 namespace WebCore {
 
index f4c77fb..e574ea8 100644 (file)
@@ -33,6 +33,7 @@
 #include "HRTFDatabaseLoader.h"
 
 #include "HRTFDatabase.h"
+#include <wtf/HashMap.h>
 #include <wtf/MainThread.h>
 #include <wtf/NeverDestroyed.h>
 
index 868b9ca..d0be8e7 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "HRTFDatabase.h"
 #include <memory>
-#include <wtf/HashMap.h>
 #include <wtf/Lock.h>
 #include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
index 4ef7c10..2a95904 100644 (file)
@@ -32,9 +32,7 @@
 #include "HRTFKernel.h"
 #include <memory>
 #include <wtf/Noncopyable.h>
-#include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
-#include <wtf/text/CString.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
index 1f8d8a5..6afa514 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "SincResampler.h"
 #include <memory>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index 7b506d3..8e335ad 100644 (file)
@@ -26,7 +26,6 @@
 #ifndef PlatformMediaSession_h
 #define PlatformMediaSession_h
 
-#include "MediaProducer.h"
 #include "Timer.h"
 #include <wtf/Noncopyable.h>
 #include <wtf/text/WTFString.h>
index 0596336..1fccf96 100644 (file)
 #ifndef ReverbConvolver_h
 #define ReverbConvolver_h
 
-#include "AudioArray.h"
-#include "DirectConvolver.h"
-#include "FFTConvolver.h"
 #include "ReverbAccumulationBuffer.h"
 #include "ReverbConvolverStage.h"
 #include "ReverbInputBuffer.h"
 #include <memory>
 #include <wtf/Condition.h>
 #include <wtf/Lock.h>
-#include <wtf/RefCounted.h>
 #include <wtf/Threading.h>
 #include <wtf/Vector.h>
 
index 978044b..10de566 100644 (file)
@@ -32,6 +32,8 @@
 
 #include "ReverbConvolverStage.h"
 
+#include "DirectConvolver.h"
+#include "FFTConvolver.h"
 #include "FFTFrame.h"
 #include "VectorMath.h"
 #include "ReverbAccumulationBuffer.h"
index 2accfad..02fe3b0 100644 (file)
@@ -27,7 +27,6 @@
 #define ANGLEWebKitBridge_h
 
 #include <ANGLE/ShaderLang.h>
-#include <wtf/text/CString.h>
 #include <wtf/text/WTFString.h>
 
 #if PLATFORM(IOS)
index 7030173..da04995 100644 (file)
@@ -33,7 +33,6 @@
 #include "ImageOrientation.h"
 #include "ImageSource.h"
 #include "IntSize.h"
-#include "URL.h"
 
 #if USE(CG) || USE(APPKIT)
 #include <wtf/RetainPtr.h>
index 87dda17..ba98ad2 100644 (file)
@@ -29,7 +29,6 @@
 #include "FloatSize.h"
 #include "GeneratedImage.h"
 #include "Image.h"
-#include "ImageObserver.h"
 #include <wtf/RefPtr.h>
 
 namespace WebCore {
index aeaef25..4b84e65 100644 (file)
@@ -33,7 +33,6 @@
 #include "FloatPoint.h"
 #include "FloatRect.h"
 #include "PODIntervalTree.h"
-#include "ValueToString.h"
 #include "WindRule.h"
 #include <memory>
 #include <wtf/Vector.h>
index c5a3966..47c8482 100644 (file)
@@ -27,7 +27,6 @@
 #define FloatSizeHash_h
 
 #include "FloatSize.h"
-#include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
 
 namespace WTF {
index 20c9661..32ea821 100644 (file)
@@ -25,7 +25,6 @@
 #define Font_h
 
 #include "FloatRect.h"
-#include "FontBaseline.h"
 #include "FontMetrics.h"
 #include "FontPlatformData.h"
 #include "GlyphBuffer.h"
@@ -37,7 +36,6 @@
 #endif
 #include <wtf/BitVector.h>
 #include <wtf/Optional.h>
-#include <wtf/TypeCasts.h>
 #include <wtf/text/StringHash.h>
 
 #if PLATFORM(COCOA)
index 090d5ca..e8ddecd 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "FontBaseline.h"
 #include <wtf/MathExtras.h>
-#include <wtf/Optional.h>
 
 namespace WebCore {
 
index d4771a9..fd94649 100644 (file)
@@ -26,9 +26,7 @@
 
 #include "TextFlags.h"
 #include <wtf/Forward.h>
-#include <wtf/RefCounted.h>
 #include <wtf/RetainPtr.h>
-#include <wtf/text/StringImpl.h>
 
 
 #if PLATFORM(WIN)
 
 #if USE(CAIRO)
 #include "RefPtrCairo.h"
-#include <wtf/HashFunctions.h>
 #include <cairo.h>
 #endif
 
 #if USE(FREETYPE)
 #include "FcUniquePtr.h"
 #include "HarfBuzzFace.h"
-#include "OpenTypeVerticalData.h"
 #endif
 
 #if USE(APPKIT)
index 3f72c71..d35ea7c 100644 (file)
@@ -27,7 +27,6 @@
 #define FontRanges_h
 
 #include "Font.h"
-#include <wtf/TypeCasts.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {
index 7553c4f..9d55dd2 100644 (file)
@@ -27,8 +27,8 @@
 #pragma once
 
 #include <array>
+#include <wtf/HashTraits.h>
 #include <wtf/Vector.h>
-#include <wtf/text/AtomicString.h>
 
 namespace WebCore {
 
index d7c684e..8faf009 100644 (file)
@@ -34,7 +34,6 @@
 #include <memory>
 #include <wtf/HashMap.h>
 #include <wtf/ListHashSet.h>
-#include <wtf/Noncopyable.h>
 #include <wtf/RefCounted.h>
 #include <wtf/text/WTFString.h>
 
index 5075582..718baee 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "GLContext.h"
 #include "GraphicsContext3D.h"
-#include "PlatformLayer.h"
 
 namespace WebCore {
 
index d5d5db1..b8e84df 100644 (file)
@@ -25,7 +25,6 @@
 
 #pragma once
 
-#include "IntSize.h"
 #include "TiledBacking.h"
 #include <wtf/Forward.h>
 
index cf528e2..8ed56b0 100644 (file)
@@ -35,6 +35,7 @@
 #include "MIMETypeRegistry.h"
 #include "SharedBuffer.h"
 #include "TextStream.h"
+#include "URL.h"
 #include <math.h>
 #include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
index 19e2f02..212a2cb 100644 (file)
@@ -32,7 +32,6 @@
 #include "ImageTypes.h"
 #include "IntSize.h"
 #include "NativeImage.h"
-#include <wtf/Deque.h>
 
 namespace WebCore {
 
index f687dab..c77b927 100644 (file)
 #pragma once
 
 #include "ImageFrame.h"
-#include "TextStream.h"
 
 #include <wtf/Forward.h>
 #include <wtf/Optional.h>
 #include <wtf/SynchronizedFixedQueue.h>
 #include <wtf/WorkQueue.h>
-#include <wtf/threads/BinarySemaphore.h>
 
 namespace WebCore {
 
index 10e367f..d327b15 100644 (file)
@@ -32,7 +32,6 @@
 #include "IntPoint.h"
 #include "NativeImage.h"
 #include "TextStream.h"
-#include "URL.h"
 #include <wtf/Forward.h>
 #include <wtf/Noncopyable.h>
 #include <wtf/Optional.h>
index 8d6520a..cfc43f8 100644 (file)
@@ -29,7 +29,6 @@
 #include "IntPointHash.h"
 #include "IntRect.h"
 #include "IntSizeHash.h"
-#include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
 
 namespace WTF {
index 2f8f19a..944baab 100644 (file)
@@ -21,8 +21,7 @@
 #define IntSizeHash_h
 
 #include "IntSize.h"
-#include <wtf/HashMap.h>
-#include <wtf/HashSet.h>
+#include <wtf/HashTraits.h>
 
 namespace WTF {
 
index a30421e..fb038f6 100644 (file)
@@ -29,7 +29,6 @@
 #if ENABLE(WIRELESS_PLAYBACK_TARGET)
 
 #include "MediaPlaybackTarget.h"
-#include "MediaProducer.h"
 
 namespace WebCore {
 
index 48386fa..050fb4e 100644 (file)
@@ -32,7 +32,6 @@
 
 #include <wtf/Ref.h>
 #include <wtf/RefCounted.h>
-#include <wtf/RefPtr.h>
 
 #if USE(CG)
 typedef struct CGPattern* CGPatternRef;
index 81de8c5..abe4da0 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <algorithm>
 #include <wtf/MediaTime.h>
-#include <wtf/RefCounted.h>
 #include <wtf/Vector.h>
 
 namespace WTF {
index a80fe7e..2911cba 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "TextFlags.h"
 #include "WritingMode.h"
-#include <wtf/RefCounted.h>
 #include <wtf/text/StringView.h>
 
 namespace WebCore {
index 95f7cb8..08f5311 100644 (file)
@@ -37,7 +37,9 @@ enum TileSizeMode {
 
 class FloatPoint;
 class FloatRect;
+class FloatSize;
 class IntRect;
+class IntSize;
 class PlatformCALayer;
 
 enum ScrollingModeIndication {
index 8518c97..3970301 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "FilterEffect.h"
 #include "FloatPoint.h"
-#include "FloatSize.h"
 #include "Filter.h"
 #include <wtf/Vector.h>
 
index 3920298..5aec0e2 100644 (file)
@@ -31,8 +31,6 @@
 #include "Filter.h"
 #include "FilterEffect.h"
 #include "LightSource.h"
-#include "PointLightSource.h"
-#include "SpotLightSource.h"
 #include <runtime/Uint8ClampedArray.h>
 
 // Common base class for FEDiffuseLighting and FESpecularLighting
index deef324..f6088a2 100644 (file)
@@ -21,7 +21,6 @@
 #define SourceAlpha_h
 
 #include "FilterEffect.h"
-#include "Filter.h"
 
 namespace WebCore {
 
index 953239b..40b20e9 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "GRefPtrGStreamer.h"
 #include "MediaPlayerPrivateGStreamerBase.h"
-#include "Timer.h"
 
 #include <glib.h>
 #include <gst/gst.h>
index 8e34884..1bb9bda 100644 (file)
@@ -31,7 +31,6 @@
 #include "GRefPtrGStreamer.h"
 #include "MainThreadNotifier.h"
 #include <wtf/Lock.h>
-#include <wtf/ThreadingPrimitives.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
index 593c87c..e0f39eb 100644 (file)
@@ -36,7 +36,6 @@
 #include "TextRun.h"
 #include "hb.h"
 #include <memory>
-#include <wtf/HashSet.h>
 #include <wtf/Vector.h>
 #include <wtf/unicode/CharacterNames.h>
 
index c3fe83e..cb93743 100644 (file)
@@ -28,7 +28,6 @@
 #include "Extensions3DOpenGLCommon.h"
 
 #include "GraphicsContext3D.h"
-#include <wtf/HashSet.h>
 #include <wtf/text/StringHash.h>
 
 namespace WebCore {
index 42ed713..a1faa93 100644 (file)
@@ -28,7 +28,6 @@
 #include "TextureMapperLayer.h"
 #include "TextureMapperPlatformLayer.h"
 #include "TextureMapperTiledBackingStore.h"
-#include "Timer.h"
 
 namespace WebCore {
 
index 9146041..f9bc8e7 100644 (file)
@@ -21,7 +21,6 @@
 #define TextureMapperBackingStore_h
 
 #include "FloatRect.h"
-#include "Image.h"
 #include "TextureMapper.h"
 #include "TextureMapperPlatformLayer.h"
 #include <wtf/RefPtr.h>
index b3f3e8a..d079c7e 100644 (file)
@@ -28,6 +28,7 @@
 #include "BitmapTexturePool.h"
 #include "Extensions3D.h"
 #include "FilterOperations.h"
+#include "FloatQuad.h"
 #include "GraphicsContext.h"
 #include "Image.h"
 #include "LengthFunctions.h"
index b1325fd..8f0446c 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "ClipStack.h"
 #include "FilterOperation.h"
-#include "FloatQuad.h"
 #include "GraphicsContext3D.h"
 #include "IntSize.h"
 #include "TextureMapper.h"
index 8c70f8e..60d49be 100644 (file)
@@ -29,9 +29,6 @@
 #if USE(COORDINATED_GRAPHICS_THREADED)
 
 #include "GraphicsTypes3D.h"
-#include "TextureMapper.h"
-#include "TransformationMatrix.h"
-#include <wtf/Condition.h>
 #include <wtf/Function.h>
 #include <wtf/Lock.h>
 #include <wtf/RunLoop.h>
@@ -44,6 +41,7 @@
 
 namespace WebCore {
 
+class IntSize;
 class TextureMapperGL;
 class TextureMapperLayer;
 class TextureMapperPlatformLayerProxy;
index 1629edb..cbf77f1 100644 (file)
@@ -23,7 +23,6 @@
 #include "FloatRect.h"
 #include "Image.h"
 #include "TextureMapper.h"
-#include "TextureMapperPlatformLayer.h"
 #include <wtf/RefPtr.h>
 
 namespace WebCore {
index 0b04d75..7b13f15 100644 (file)
@@ -31,7 +31,6 @@
 #include "IntPoint.h"
 #include "IntPointHash.h"
 #include "IntRect.h"
-#include <wtf/RefCounted.h>
 
 namespace WebCore {
 
index c17f764..8a88db9 100644 (file)
@@ -26,7 +26,6 @@
 #include "IntPoint.h"
 #include "IntRect.h"
 #include "Tile.h"
-#include "Timer.h"
 #include <wtf/Assertions.h>
 #include <wtf/HashMap.h>
 
index cd955ab..ae04c8b 100644 (file)
@@ -29,7 +29,6 @@
 #include "AffineTransform.h"
 #include "FloatPoint.h"
 #include "FloatQuad.h"
-#include "IntSize.h"
 #include "LayoutSize.h"
 #include "TransformationMatrix.h"
 #include <wtf/Optional.h>
index 095ee4a..edfeac3 100644 (file)
@@ -25,7 +25,6 @@
 #ifndef PasteboardHelper_h
 #define PasteboardHelper_h
 
-#include "GRefPtrGtk.h"
 #include <wtf/Function.h>
 #include <wtf/Noncopyable.h>
 #include <wtf/Vector.h>
index 7b134b5..808ae09 100644 (file)
@@ -27,7 +27,6 @@
 #define ScrollbarThemeGtk_h
 
 #include "ScrollbarThemeComposite.h"
-#include <wtf/glib/GRefPtr.h>
 
 namespace WebCore {
 
index 342cdb0..164372e 100644 (file)
@@ -31,7 +31,6 @@
 #include "ImageFrame.h"
 #include "IntRect.h"
 #include "IntSize.h"
-#include "PlatformScreen.h"
 #include "SharedBuffer.h"
 #include <wtf/Assertions.h>
 #include <wtf/Optional.h>
index 932d5ab..3550a76 100644 (file)
@@ -33,9 +33,7 @@
 
 #include "BlobDataFileReference.h"
 #include "ThreadSafeDataBuffer.h"
-#include "URL.h"
 #include <wtf/Forward.h>
-#include <wtf/RefCounted.h>
 #include <wtf/ThreadSafeRefCounted.h>
 #include <wtf/text/WTFString.h>
 
index 6fae977..a53f775 100644 (file)
@@ -26,7 +26,6 @@
 #ifndef BlobDataFileReference_h
 #define BlobDataFileReference_h
 
-#include "FileSystem.h"
 #include <wtf/RefCounted.h>
 #include <wtf/text/WTFString.h>
 
index da59518..9fb9509 100644 (file)
 #pragma once
 
 #include "AuthenticationClient.h"
-#include "HTTPHeaderMap.h"
 #include "ResourceHandleTypes.h"
-#include "ResourceLoadPriority.h"
+#include <wtf/MonotonicTime.h>
 #include <wtf/RefCounted.h>
+#include <wtf/RefPtr.h>
+#include <wtf/text/AtomicString.h>
 
 #if PLATFORM(COCOA) || USE(CFURLCONNECTION)
 #include <wtf/RetainPtr.h>
index d84de90..b38687d 100644 (file)
 
 #pragma once
 
+#include "AuthenticationChallenge.h"
 #include "NetworkingContext.h"
 #include "ResourceHandle.h"
 #include "ResourceHandleClient.h"
 #include "ResourceRequest.h"
-#include "AuthenticationChallenge.h"
 #include "Timer.h"
 
 #if USE(CFURLCONNECTION)
@@ -49,7 +49,6 @@
 #endif
 
 #if USE(SOUP)
-#include "GUniquePtrSoup.h"
 #include "SoupNetworkSession.h"
 #include <libsoup/soup.h>
 #include <wtf/RunLoop.h>
index 04d5d48..ca734d3 100644 (file)
@@ -27,7 +27,6 @@
 #ifndef ResourceRequest_h
 #define ResourceRequest_h
 
-#include "GUniquePtrSoup.h"
 #include "ResourceRequestBase.h"
 #include <libsoup/soup.h>
 
index 54ed100..9378995 100644 (file)
@@ -37,7 +37,6 @@
 #if USE(SOUP)
 
 #include "SessionID.h"
-#include <wtf/RefCounted.h>
 #include <wtf/StreamBuffer.h>
 #include <wtf/glib/GRefPtr.h>
 
index cd810f1..9e0c26f 100644 (file)
@@ -29,7 +29,6 @@
 #include <glib-object.h>
 #include <wtf/Function.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/Vector.h>
 #include <wtf/glib/GRefPtr.h>
 #include <wtf/text/WTFString.h>
 
index 18d942a..6a48200 100644 (file)
@@ -31,7 +31,6 @@
 #ifndef SQLiteFileSystem_h
 #define SQLiteFileSystem_h
 
-#include <wtf/Threading.h>
 #include <wtf/text/WTFString.h>
 
 struct sqlite3;
index 54b1fb3..6e7a870 100644 (file)
@@ -31,7 +31,6 @@
 #ifndef LocaleICU_h
 #define LocaleICU_h
 
-#include "DateComponents.h"
 #include "PlatformLocale.h"
 #include <unicode/udat.h>
 #include <unicode/unum.h>
index 9628092..db59924 100644 (file)
@@ -1,3 +1,12 @@
+2017-06-25  Konstantin Tokarev  <annulen@yandex.ru>
+
+        Remove excessive headers from WebCore/platform
+        https://bugs.webkit.org/show_bug.cgi?id=173822
+
+        Reviewed by Tim Horton.
+
+        * WebProcess/WebCoreSupport/SessionStateConversion.cpp:
+
 2017-06-25  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         Unreviewed, rolling out r215190.
index 3f2fe93..97360ae 100644 (file)
@@ -28,6 +28,7 @@
 #import <WebCore/IntRectHash.h>
 #import <condition_variable>
 #import <wtf/Condition.h>
+#import <wtf/HashMap.h>
 #import <wtf/Lock.h>
 #import <wtf/RetainPtr.h>
 #import <wtf/Vector.h>
index befac18..80241c9 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "SessionState.h"
 #include <WebCore/BlobData.h>
+#include <WebCore/FileSystem.h>
 #include <WebCore/FormData.h>
 #include <WebCore/HistoryItem.h>
 
index 5e09c63..8e4377b 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include <WebCore/CalculationValue.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore {
 class TextStream;