https://bugs.webkit.org/show_bug.cgi?id=175211
Reviewed by Myles C. Maxfield.
Source/WebCore:
No new tests. No change in behavior.
* CMakeLists.txt:
* WebCore.xcodeproj/project.pbxproj:
* dom/ComposedTreeIterator.cpp:
* dom/Position.cpp:
* dom/Position.h:
* dom/Range.cpp:
(WebCore::operator<<):
* dom/Range.h:
* dom/ViewportArguments.cpp:
* dom/ViewportArguments.h:
* editing/VisiblePosition.cpp:
* editing/VisiblePosition.h:
* editing/VisibleSelection.cpp:
* editing/VisibleSelection.h:
* html/HTMLVideoElement.cpp:
* html/canvas/CanvasRenderingContext2D.cpp:
* page/FrameView.cpp:
* page/ViewportConfiguration.cpp:
* page/ViewportConfiguration.h:
* page/WheelEventDeltaFilter.cpp:
* page/animation/CSSPropertyAnimation.cpp:
* page/scrolling/AsyncScrollingCoordinator.cpp:
* page/scrolling/ScrollingConstraints.cpp:
* page/scrolling/ScrollingConstraints.h:
* page/scrolling/ScrollingCoordinator.cpp:
* page/scrolling/ScrollingCoordinator.h:
* page/scrolling/ScrollingStateFixedNode.cpp:
* page/scrolling/ScrollingStateFixedNode.h:
* page/scrolling/ScrollingStateFrameScrollingNode.cpp:
* page/scrolling/ScrollingStateFrameScrollingNode.h:
* page/scrolling/ScrollingStateNode.cpp:
* page/scrolling/ScrollingStateNode.h:
* page/scrolling/ScrollingStateOverflowScrollingNode.cpp:
* page/scrolling/ScrollingStateOverflowScrollingNode.h:
* page/scrolling/ScrollingStateScrollingNode.cpp:
* page/scrolling/ScrollingStateScrollingNode.h:
* page/scrolling/ScrollingStateStickyNode.cpp:
* page/scrolling/ScrollingStateStickyNode.h:
* page/scrolling/ScrollingTree.cpp:
* page/scrolling/ScrollingTreeFrameScrollingNode.cpp:
* page/scrolling/ScrollingTreeFrameScrollingNode.h:
* page/scrolling/ScrollingTreeNode.cpp:
* page/scrolling/ScrollingTreeNode.h:
* page/scrolling/ScrollingTreeScrollingNode.cpp:
* page/scrolling/ScrollingTreeScrollingNode.h:
* page/scrolling/mac/ScrollingTreeFixedNode.h:
* page/scrolling/mac/ScrollingTreeFixedNode.mm:
* page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
* page/scrolling/mac/ScrollingTreeStickyNode.h:
* page/scrolling/mac/ScrollingTreeStickyNode.mm:
* platform/CalculationValue.cpp:
* platform/CalculationValue.h:
* platform/LayoutUnit.cpp:
* platform/LayoutUnit.h:
* platform/Length.cpp:
* platform/Length.h:
* platform/LengthBox.cpp:
* platform/LengthBox.h:
* platform/LengthPoint.cpp:
* platform/LengthPoint.h:
* platform/LengthSize.cpp:
* platform/LengthSize.h:
* platform/LogMacros.h:
* platform/ScrollView.cpp:
* platform/ScrollableArea.cpp:
* platform/animation/TimingFunction.cpp:
* platform/animation/TimingFunction.h:
* platform/graphics/BitmapImage.cpp:
* platform/graphics/BitmapImage.h:
* platform/graphics/Color.cpp:
* platform/graphics/Color.h:
* platform/graphics/CrossfadeGeneratedImage.cpp:
* platform/graphics/CrossfadeGeneratedImage.h:
* platform/graphics/FloatPoint.cpp:
* platform/graphics/FloatPoint.h:
* platform/graphics/FloatPoint3D.cpp:
* platform/graphics/FloatPoint3D.h:
* platform/graphics/FloatRect.cpp:
* platform/graphics/FloatRect.h:
* platform/graphics/FloatRoundedRect.cpp:
* platform/graphics/FloatRoundedRect.h:
* platform/graphics/FloatSize.cpp:
* platform/graphics/FloatSize.h:
* platform/graphics/FontTaggedSettings.cpp:
* platform/graphics/FontTaggedSettings.h:
* platform/graphics/GradientImage.cpp:
(WebCore::GradientImage::dump const):
* platform/graphics/GradientImage.h:
* platform/graphics/GraphicsContext.cpp:
* platform/graphics/GraphicsContext.h:
* platform/graphics/GraphicsLayer.cpp:
* platform/graphics/GraphicsLayer.h:
(WebCore::GraphicsLayer::dumpAdditionalProperties const):
* platform/graphics/GraphicsTypes.cpp:
* platform/graphics/GraphicsTypes.h:
* platform/graphics/Image.cpp:
* platform/graphics/Image.h:
* platform/graphics/ImageSource.h:
* platform/graphics/IntPoint.cpp:
* platform/graphics/IntPoint.h:
* platform/graphics/IntRect.cpp:
* platform/graphics/IntRect.h:
* platform/graphics/IntSize.cpp:
* platform/graphics/IntSize.h:
* platform/graphics/LayoutPoint.cpp:
* platform/graphics/LayoutPoint.h:
* platform/graphics/LayoutRect.cpp:
* platform/graphics/LayoutRect.h:
* platform/graphics/LayoutSize.cpp:
* platform/graphics/LayoutSize.h:
* platform/graphics/NamedImageGeneratedImage.cpp:
* platform/graphics/NamedImageGeneratedImage.h:
* platform/graphics/Path.cpp:
* platform/graphics/Path.h:
* platform/graphics/ca/GraphicsLayerCA.cpp:
* platform/graphics/ca/GraphicsLayerCA.h:
* platform/graphics/ca/PlatformCAAnimation.cpp:
* platform/graphics/ca/PlatformCAAnimation.h:
* platform/graphics/ca/PlatformCALayer.cpp:
* platform/graphics/ca/PlatformCALayer.h:
* platform/graphics/ca/TileController.cpp:
* platform/graphics/ca/TileGrid.cpp:
* platform/graphics/cg/GraphicsContextCG.cpp:
* platform/graphics/cg/PDFDocumentImage.cpp:
* platform/graphics/cg/PDFDocumentImage.h:
* platform/graphics/cocoa/IOSurface.h:
* platform/graphics/cocoa/IOSurface.mm:
* platform/graphics/displaylists/DisplayList.cpp:
(WebCore::DisplayList::DisplayList::description const):
* platform/graphics/displaylists/DisplayList.h:
* platform/graphics/displaylists/DisplayListItems.cpp:
* platform/graphics/displaylists/DisplayListItems.h:
* platform/graphics/displaylists/DisplayListRecorder.cpp:
* platform/graphics/displaylists/DisplayListReplayer.cpp:
* platform/graphics/filters/DistantLightSource.cpp:
* platform/graphics/filters/DistantLightSource.h:
* platform/graphics/filters/FEBlend.cpp:
* platform/graphics/filters/FEBlend.h:
* platform/graphics/filters/FEColorMatrix.cpp:
* platform/graphics/filters/FEColorMatrix.h:
* platform/graphics/filters/FEComponentTransfer.cpp:
* platform/graphics/filters/FEComponentTransfer.h:
* platform/graphics/filters/FEComposite.cpp:
* platform/graphics/filters/FEComposite.h:
* platform/graphics/filters/FEConvolveMatrix.cpp:
* platform/graphics/filters/FEConvolveMatrix.h:
* platform/graphics/filters/FEDiffuseLighting.cpp:
* platform/graphics/filters/FEDiffuseLighting.h:
* platform/graphics/filters/FEDisplacementMap.cpp:
* platform/graphics/filters/FEDisplacementMap.h:
* platform/graphics/filters/FEDropShadow.cpp:
* platform/graphics/filters/FEDropShadow.h:
* platform/graphics/filters/FEFlood.cpp:
* platform/graphics/filters/FEFlood.h:
* platform/graphics/filters/FEGaussianBlur.cpp:
* platform/graphics/filters/FEGaussianBlur.h:
* platform/graphics/filters/FEMerge.cpp:
* platform/graphics/filters/FEMerge.h:
* platform/graphics/filters/FEMorphology.cpp:
* platform/graphics/filters/FEMorphology.h:
* platform/graphics/filters/FEOffset.cpp:
* platform/graphics/filters/FEOffset.h:
* platform/graphics/filters/FESpecularLighting.cpp:
* platform/graphics/filters/FESpecularLighting.h:
* platform/graphics/filters/FETile.cpp:
* platform/graphics/filters/FETile.h:
* platform/graphics/filters/FETurbulence.cpp:
* platform/graphics/filters/FETurbulence.h:
* platform/graphics/filters/FilterEffect.cpp:
* platform/graphics/filters/FilterEffect.h:
* platform/graphics/filters/FilterOperation.cpp:
* platform/graphics/filters/FilterOperation.h:
* platform/graphics/filters/FilterOperations.cpp:
* platform/graphics/filters/FilterOperations.h:
* platform/graphics/filters/LightSource.h:
* platform/graphics/filters/PointLightSource.cpp:
* platform/graphics/filters/PointLightSource.h:
* platform/graphics/filters/SourceAlpha.cpp:
* platform/graphics/filters/SourceAlpha.h:
* platform/graphics/filters/SourceGraphic.cpp:
* platform/graphics/filters/SourceGraphic.h:
* platform/graphics/filters/SpotLightSource.cpp:
* platform/graphics/filters/SpotLightSource.h:
* platform/graphics/transforms/AffineTransform.cpp:
* platform/graphics/transforms/AffineTransform.h:
* platform/graphics/transforms/IdentityTransformOperation.h:
* platform/graphics/transforms/Matrix3DTransformOperation.cpp:
* platform/graphics/transforms/Matrix3DTransformOperation.h:
* platform/graphics/transforms/MatrixTransformOperation.cpp:
* platform/graphics/transforms/MatrixTransformOperation.h:
* platform/graphics/transforms/PerspectiveTransformOperation.cpp:
* platform/graphics/transforms/PerspectiveTransformOperation.h:
* platform/graphics/transforms/RotateTransformOperation.cpp:
* platform/graphics/transforms/RotateTransformOperation.h:
* platform/graphics/transforms/ScaleTransformOperation.cpp:
* platform/graphics/transforms/ScaleTransformOperation.h:
* platform/graphics/transforms/SkewTransformOperation.cpp:
* platform/graphics/transforms/SkewTransformOperation.h:
* platform/graphics/transforms/TransformOperation.cpp:
* platform/graphics/transforms/TransformOperation.h:
* platform/graphics/transforms/TransformOperations.cpp:
* platform/graphics/transforms/TransformOperations.h:
* platform/graphics/transforms/TransformationMatrix.cpp:
* platform/graphics/transforms/TransformationMatrix.h:
* platform/graphics/transforms/TranslateTransformOperation.cpp:
* platform/graphics/transforms/TranslateTransformOperation.h:
* platform/ios/SelectionRect.cpp:
(WebCore::operator<<):
* platform/ios/SelectionRect.h:
* platform/mac/ScrollAnimatorMac.mm:
* platform/text/TextAllInOne.cpp:
* rendering/InlineBox.cpp:
* rendering/InlineBox.h:
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::outputLineTreeAndMark const):
* rendering/InlineFlowBox.h:
* rendering/InlineTextBox.cpp:
* rendering/InlineTextBox.h:
* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::outputLineTreeAndMark const):
* rendering/RenderBlockFlow.h:
* rendering/RenderLayer.cpp:
* rendering/RenderLayerCompositor.cpp:
* rendering/RenderObject.cpp:
* rendering/RenderObject.h:
* rendering/RenderTreeAsText.cpp:
* rendering/RenderTreeAsText.h:
* rendering/ScrollAlignment.cpp:
* rendering/ScrollAlignment.h:
* rendering/SimpleLineLayoutCoverage.cpp:
* rendering/SimpleLineLayoutFunctions.cpp:
* rendering/SimpleLineLayoutFunctions.h:
* rendering/style/FillLayer.cpp:
* rendering/style/FillLayer.h:
* rendering/style/NinePieceImage.cpp:
* rendering/style/NinePieceImage.h:
* rendering/style/RenderStyleConstants.cpp:
* rendering/style/RenderStyleConstants.h:
* rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::operator<<):
* rendering/svg/SVGRenderTreeAsText.h:
(WebCore::operator<<):
* svg/SVGLengthValue.cpp:
* svg/SVGLengthValue.h:
* svg/graphics/SVGImage.cpp:
* svg/graphics/SVGImage.h:
* svg/graphics/filters/SVGFEImage.cpp:
* svg/graphics/filters/SVGFEImage.h:
Source/WebKit:
* Shared/Scrolling/RemoteScrollingCoordinatorTransaction.cpp:
* Shared/VisibleContentRectUpdateInfo.cpp:
* Shared/VisibleContentRectUpdateInfo.h:
* Shared/mac/RemoteLayerTreeTransaction.mm:
* UIProcess/API/Cocoa/WKWebView.mm:
* UIProcess/ios/WKContentView.mm:
* UIProcess/ios/WKContentViewInteraction.h:
* UIProcess/ios/WKContentViewInteraction.mm:
(WebKit::operator<<):
* UIProcess/ios/WebPageProxyIOS.mm:
* WebProcess/WebPage/ios/WebPageIOS.mm:
* WebProcess/WebPage/mac/PlatformCAAnimationRemote.h:
* WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm:
Source/WTF:
* WTF.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/text/TextStream.cpp: Renamed from Source/WebCore/platform/text/TextStream.cpp.
(WTF::TextStream::writeIndent):
* wtf/text/TextStream.h: Renamed from Source/WebCore/platform/text/TextStream.h.
(WTF::TextStream::FormatNumberRespectingIntegers::FormatNumberRespectingIntegers):
Tools:
* TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220503
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-08-09 Don Olmstead <don.olmstead@sony.com>
+
+ [WTF] Move TextStream into WTF
+ https://bugs.webkit.org/show_bug.cgi?id=175211
+
+ Reviewed by Myles C. Maxfield.
+
+ * WTF.xcodeproj/project.pbxproj:
+ * wtf/CMakeLists.txt:
+ * wtf/text/TextStream.cpp: Renamed from Source/WebCore/platform/text/TextStream.cpp.
+ (WTF::TextStream::writeIndent):
+ * wtf/text/TextStream.h: Renamed from Source/WebCore/platform/text/TextStream.h.
+ (WTF::TextStream::FormatNumberRespectingIntegers::FormatNumberRespectingIntegers):
+
2017-08-09 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r220466, r220477, and r220487.
93F1993E19D7958D00C2390B /* StringView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93F1993D19D7958D00C2390B /* StringView.cpp */; };
9BC70F05176C379D00101DEC /* AtomicStringTable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9BC70F04176C379D00101DEC /* AtomicStringTable.cpp */; };
A3B725EC987446AD93F1A440 /* RandomDevice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8F597CA2A57417FBAB92FD6 /* RandomDevice.cpp */; };
+ A3E4DD931F3A803400DED0B4 /* TextStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A3E4DD911F3A803400DED0B4 /* TextStream.cpp */; };
A5BA15F3182433A900A82E69 /* StringMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = A5BA15F2182433A900A82E69 /* StringMac.mm */; };
A5BA15F51824348000A82E69 /* StringImplMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = A5BA15F41824348000A82E69 /* StringImplMac.mm */; };
A5BA15FA182435A600A82E69 /* AtomicStringImplCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5BA15F7182435A600A82E69 /* AtomicStringImplCF.cpp */; };
9C67C542589348E285B49699 /* IndexedContainerIterator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IndexedContainerIterator.h; sourceTree = "<group>"; };
A30D412C1F0DE0BA00B71954 /* SoftLinking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SoftLinking.h; sourceTree = "<group>"; };
A30D412D1F0DE13F00B71954 /* SoftLinking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SoftLinking.h; sourceTree = "<group>"; };
+ A3E4DD911F3A803400DED0B4 /* TextStream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TextStream.cpp; sourceTree = "<group>"; };
+ A3E4DD921F3A803400DED0B4 /* TextStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextStream.h; sourceTree = "<group>"; };
A5098AFF1C169E0700087797 /* SandboxSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SandboxSPI.h; sourceTree = "<group>"; };
A5098B011C16A4F900087797 /* SecuritySPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SecuritySPI.h; sourceTree = "<group>"; };
A561F30F1DF2642100FF675D /* DeprecatedOptional.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeprecatedOptional.h; sourceTree = "<group>"; };
1C181C7E1D3078DA00F5FA16 /* TextBreakIterator.h */,
1C181C821D3079AC00F5FA16 /* TextBreakIteratorInternalICU.h */,
A8A4732C151A825B004123FF /* TextPosition.h */,
+ A3E4DD911F3A803400DED0B4 /* TextStream.cpp */,
+ A3E4DD921F3A803400DED0B4 /* TextStream.h */,
70ECA60C1B02426800449739 /* UniquedStringImpl.h */,
A8A4732D151A825B004123FF /* WTFString.cpp */,
A8A4732E151A825B004123FF /* WTFString.h */,
A8A473AA151A825B004123FF /* bignum.cc in Sources */,
A8A47451151A825B004123FF /* BinarySemaphore.cpp in Sources */,
A8A4738B151A825B004123FF /* BitVector.cpp in Sources */,
+ A3E4DD931F3A803400DED0B4 /* TextStream.cpp in Sources */,
DCEE22011CEA7551000C2396 /* BlockObjCExceptions.mm in Sources */,
A8A473AC151A825B004123FF /* cached-powers.cc in Sources */,
0F66B28A1DC97BAB004A1D3F /* ClockType.cpp in Sources */,
text/SymbolRegistry.h
text/TextBreakIterator.h
text/TextBreakIteratorInternalICU.h
+ text/TextStream.h
text/UniquedStringImpl.h
text/WTFString.h
text/SymbolImpl.cpp
text/SymbolRegistry.cpp
text/TextBreakIterator.cpp
+ text/TextStream.cpp
text/WTFString.cpp
text/icu/UTextProvider.cpp
#include <wtf/StringExtras.h>
#include <wtf/text/WTFString.h>
-namespace WebCore {
+namespace WTF {
static const size_t printBufferSize = 100; // large enough for any integer or floating point value in string format, including trailing null character
void TextStream::writeIndent()
{
if (m_multiLineMode)
- WebCore::writeIndent(*this, m_indent);
+ WTF::writeIndent(*this, m_indent);
}
void writeIndent(TextStream& ts, int indent)
#include <wtf/Forward.h>
#include <wtf/text/StringBuilder.h>
-namespace WebCore {
+namespace WTF {
class TextStream {
public:
struct FormatNumberRespectingIntegers {
- FormatNumberRespectingIntegers(double number) : value(number) { }
+ FormatNumberRespectingIntegers(double number)
+ : value(number) { }
+
double value;
};
{
}
- WEBCORE_EXPORT TextStream& operator<<(bool);
- WEBCORE_EXPORT TextStream& operator<<(int);
- WEBCORE_EXPORT TextStream& operator<<(unsigned);
- WEBCORE_EXPORT TextStream& operator<<(long);
- WEBCORE_EXPORT TextStream& operator<<(unsigned long);
- WEBCORE_EXPORT TextStream& operator<<(long long);
-
- WEBCORE_EXPORT TextStream& operator<<(unsigned long long);
- WEBCORE_EXPORT TextStream& operator<<(float);
- WEBCORE_EXPORT TextStream& operator<<(double);
- WEBCORE_EXPORT TextStream& operator<<(const char*);
- WEBCORE_EXPORT TextStream& operator<<(const void*);
- WEBCORE_EXPORT TextStream& operator<<(const String&);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(bool);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(int);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(unsigned);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(long);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(unsigned long);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(long long);
+
+ WTF_EXPORT_PRIVATE TextStream& operator<<(unsigned long long);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(float);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(double);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(const char*);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(const void*);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(const String&);
// Deprecated. Use the NumberRespectingIntegers FormattingFlag instead.
- WEBCORE_EXPORT TextStream& operator<<(const FormatNumberRespectingIntegers&);
+ WTF_EXPORT_PRIVATE TextStream& operator<<(const FormatNumberRespectingIntegers&);
FormattingFlags formattingFlags() const { return m_formattingFlags; }
void setFormattingFlags(FormattingFlags flags) { m_formattingFlags = flags; }
ts.endGroup();
}
- WEBCORE_EXPORT String release();
+ WTF_EXPORT_PRIVATE String release();
- WEBCORE_EXPORT void startGroup();
- WEBCORE_EXPORT void endGroup();
- WEBCORE_EXPORT void nextLine(); // Output newline and indent.
+ WTF_EXPORT_PRIVATE void startGroup();
+ WTF_EXPORT_PRIVATE void endGroup();
+ WTF_EXPORT_PRIVATE void nextLine(); // Output newline and indent.
void increaseIndent(int amount = 1) { m_indent += amount; }
void decreaseIndent(int amount = 1) { m_indent -= amount; ASSERT(m_indent >= 0); }
- WEBCORE_EXPORT void writeIndent();
+ WTF_EXPORT_PRIVATE void writeIndent();
class GroupScope {
public:
return ts << "]";
}
-void writeIndent(TextStream&, int indent);
+WTF_EXPORT_PRIVATE void writeIndent(TextStream&, int indent);
+
+} // namespace WTF
-} // namespace WebCore
+using WTF::TextStream;
platform/text/TextEncoding.cpp
platform/text/TextEncodingDetectorICU.cpp
platform/text/TextEncodingRegistry.cpp
- platform/text/TextStream.cpp
plugins/DOMMimeType.cpp
plugins/DOMMimeTypeArray.cpp
+2017-08-09 Don Olmstead <don.olmstead@sony.com>
+
+ [WTF] Move TextStream into WTF
+ https://bugs.webkit.org/show_bug.cgi?id=175211
+
+ Reviewed by Myles C. Maxfield.
+
+ No new tests. No change in behavior.
+
+ * CMakeLists.txt:
+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/ComposedTreeIterator.cpp:
+ * dom/Position.cpp:
+ * dom/Position.h:
+ * dom/Range.cpp:
+ (WebCore::operator<<):
+ * dom/Range.h:
+ * dom/ViewportArguments.cpp:
+ * dom/ViewportArguments.h:
+ * editing/VisiblePosition.cpp:
+ * editing/VisiblePosition.h:
+ * editing/VisibleSelection.cpp:
+ * editing/VisibleSelection.h:
+ * html/HTMLVideoElement.cpp:
+ * html/canvas/CanvasRenderingContext2D.cpp:
+ * page/FrameView.cpp:
+ * page/ViewportConfiguration.cpp:
+ * page/ViewportConfiguration.h:
+ * page/WheelEventDeltaFilter.cpp:
+ * page/animation/CSSPropertyAnimation.cpp:
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ * page/scrolling/ScrollingConstraints.cpp:
+ * page/scrolling/ScrollingConstraints.h:
+ * page/scrolling/ScrollingCoordinator.cpp:
+ * page/scrolling/ScrollingCoordinator.h:
+ * page/scrolling/ScrollingStateFixedNode.cpp:
+ * page/scrolling/ScrollingStateFixedNode.h:
+ * page/scrolling/ScrollingStateFrameScrollingNode.cpp:
+ * page/scrolling/ScrollingStateFrameScrollingNode.h:
+ * page/scrolling/ScrollingStateNode.cpp:
+ * page/scrolling/ScrollingStateNode.h:
+ * page/scrolling/ScrollingStateOverflowScrollingNode.cpp:
+ * page/scrolling/ScrollingStateOverflowScrollingNode.h:
+ * page/scrolling/ScrollingStateScrollingNode.cpp:
+ * page/scrolling/ScrollingStateScrollingNode.h:
+ * page/scrolling/ScrollingStateStickyNode.cpp:
+ * page/scrolling/ScrollingStateStickyNode.h:
+ * page/scrolling/ScrollingTree.cpp:
+ * page/scrolling/ScrollingTreeFrameScrollingNode.cpp:
+ * page/scrolling/ScrollingTreeFrameScrollingNode.h:
+ * page/scrolling/ScrollingTreeNode.cpp:
+ * page/scrolling/ScrollingTreeNode.h:
+ * page/scrolling/ScrollingTreeScrollingNode.cpp:
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ * page/scrolling/mac/ScrollingTreeFixedNode.h:
+ * page/scrolling/mac/ScrollingTreeFixedNode.mm:
+ * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
+ * page/scrolling/mac/ScrollingTreeStickyNode.h:
+ * page/scrolling/mac/ScrollingTreeStickyNode.mm:
+ * platform/CalculationValue.cpp:
+ * platform/CalculationValue.h:
+ * platform/LayoutUnit.cpp:
+ * platform/LayoutUnit.h:
+ * platform/Length.cpp:
+ * platform/Length.h:
+ * platform/LengthBox.cpp:
+ * platform/LengthBox.h:
+ * platform/LengthPoint.cpp:
+ * platform/LengthPoint.h:
+ * platform/LengthSize.cpp:
+ * platform/LengthSize.h:
+ * platform/LogMacros.h:
+ * platform/ScrollView.cpp:
+ * platform/ScrollableArea.cpp:
+ * platform/animation/TimingFunction.cpp:
+ * platform/animation/TimingFunction.h:
+ * platform/graphics/BitmapImage.cpp:
+ * platform/graphics/BitmapImage.h:
+ * platform/graphics/Color.cpp:
+ * platform/graphics/Color.h:
+ * platform/graphics/CrossfadeGeneratedImage.cpp:
+ * platform/graphics/CrossfadeGeneratedImage.h:
+ * platform/graphics/FloatPoint.cpp:
+ * platform/graphics/FloatPoint.h:
+ * platform/graphics/FloatPoint3D.cpp:
+ * platform/graphics/FloatPoint3D.h:
+ * platform/graphics/FloatRect.cpp:
+ * platform/graphics/FloatRect.h:
+ * platform/graphics/FloatRoundedRect.cpp:
+ * platform/graphics/FloatRoundedRect.h:
+ * platform/graphics/FloatSize.cpp:
+ * platform/graphics/FloatSize.h:
+ * platform/graphics/FontTaggedSettings.cpp:
+ * platform/graphics/FontTaggedSettings.h:
+ * platform/graphics/GradientImage.cpp:
+ (WebCore::GradientImage::dump const):
+ * platform/graphics/GradientImage.h:
+ * platform/graphics/GraphicsContext.cpp:
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/GraphicsLayer.cpp:
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::dumpAdditionalProperties const):
+ * platform/graphics/GraphicsTypes.cpp:
+ * platform/graphics/GraphicsTypes.h:
+ * platform/graphics/Image.cpp:
+ * platform/graphics/Image.h:
+ * platform/graphics/ImageSource.h:
+ * platform/graphics/IntPoint.cpp:
+ * platform/graphics/IntPoint.h:
+ * platform/graphics/IntRect.cpp:
+ * platform/graphics/IntRect.h:
+ * platform/graphics/IntSize.cpp:
+ * platform/graphics/IntSize.h:
+ * platform/graphics/LayoutPoint.cpp:
+ * platform/graphics/LayoutPoint.h:
+ * platform/graphics/LayoutRect.cpp:
+ * platform/graphics/LayoutRect.h:
+ * platform/graphics/LayoutSize.cpp:
+ * platform/graphics/LayoutSize.h:
+ * platform/graphics/NamedImageGeneratedImage.cpp:
+ * platform/graphics/NamedImageGeneratedImage.h:
+ * platform/graphics/Path.cpp:
+ * platform/graphics/Path.h:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/ca/PlatformCAAnimation.cpp:
+ * platform/graphics/ca/PlatformCAAnimation.h:
+ * platform/graphics/ca/PlatformCALayer.cpp:
+ * platform/graphics/ca/PlatformCALayer.h:
+ * platform/graphics/ca/TileController.cpp:
+ * platform/graphics/ca/TileGrid.cpp:
+ * platform/graphics/cg/GraphicsContextCG.cpp:
+ * platform/graphics/cg/PDFDocumentImage.cpp:
+ * platform/graphics/cg/PDFDocumentImage.h:
+ * platform/graphics/cocoa/IOSurface.h:
+ * platform/graphics/cocoa/IOSurface.mm:
+ * platform/graphics/displaylists/DisplayList.cpp:
+ (WebCore::DisplayList::DisplayList::description const):
+ * platform/graphics/displaylists/DisplayList.h:
+ * platform/graphics/displaylists/DisplayListItems.cpp:
+ * platform/graphics/displaylists/DisplayListItems.h:
+ * platform/graphics/displaylists/DisplayListRecorder.cpp:
+ * platform/graphics/displaylists/DisplayListReplayer.cpp:
+ * platform/graphics/filters/DistantLightSource.cpp:
+ * platform/graphics/filters/DistantLightSource.h:
+ * platform/graphics/filters/FEBlend.cpp:
+ * platform/graphics/filters/FEBlend.h:
+ * platform/graphics/filters/FEColorMatrix.cpp:
+ * platform/graphics/filters/FEColorMatrix.h:
+ * platform/graphics/filters/FEComponentTransfer.cpp:
+ * platform/graphics/filters/FEComponentTransfer.h:
+ * platform/graphics/filters/FEComposite.cpp:
+ * platform/graphics/filters/FEComposite.h:
+ * platform/graphics/filters/FEConvolveMatrix.cpp:
+ * platform/graphics/filters/FEConvolveMatrix.h:
+ * platform/graphics/filters/FEDiffuseLighting.cpp:
+ * platform/graphics/filters/FEDiffuseLighting.h:
+ * platform/graphics/filters/FEDisplacementMap.cpp:
+ * platform/graphics/filters/FEDisplacementMap.h:
+ * platform/graphics/filters/FEDropShadow.cpp:
+ * platform/graphics/filters/FEDropShadow.h:
+ * platform/graphics/filters/FEFlood.cpp:
+ * platform/graphics/filters/FEFlood.h:
+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ * platform/graphics/filters/FEGaussianBlur.h:
+ * platform/graphics/filters/FEMerge.cpp:
+ * platform/graphics/filters/FEMerge.h:
+ * platform/graphics/filters/FEMorphology.cpp:
+ * platform/graphics/filters/FEMorphology.h:
+ * platform/graphics/filters/FEOffset.cpp:
+ * platform/graphics/filters/FEOffset.h:
+ * platform/graphics/filters/FESpecularLighting.cpp:
+ * platform/graphics/filters/FESpecularLighting.h:
+ * platform/graphics/filters/FETile.cpp:
+ * platform/graphics/filters/FETile.h:
+ * platform/graphics/filters/FETurbulence.cpp:
+ * platform/graphics/filters/FETurbulence.h:
+ * platform/graphics/filters/FilterEffect.cpp:
+ * platform/graphics/filters/FilterEffect.h:
+ * platform/graphics/filters/FilterOperation.cpp:
+ * platform/graphics/filters/FilterOperation.h:
+ * platform/graphics/filters/FilterOperations.cpp:
+ * platform/graphics/filters/FilterOperations.h:
+ * platform/graphics/filters/LightSource.h:
+ * platform/graphics/filters/PointLightSource.cpp:
+ * platform/graphics/filters/PointLightSource.h:
+ * platform/graphics/filters/SourceAlpha.cpp:
+ * platform/graphics/filters/SourceAlpha.h:
+ * platform/graphics/filters/SourceGraphic.cpp:
+ * platform/graphics/filters/SourceGraphic.h:
+ * platform/graphics/filters/SpotLightSource.cpp:
+ * platform/graphics/filters/SpotLightSource.h:
+ * platform/graphics/transforms/AffineTransform.cpp:
+ * platform/graphics/transforms/AffineTransform.h:
+ * platform/graphics/transforms/IdentityTransformOperation.h:
+ * platform/graphics/transforms/Matrix3DTransformOperation.cpp:
+ * platform/graphics/transforms/Matrix3DTransformOperation.h:
+ * platform/graphics/transforms/MatrixTransformOperation.cpp:
+ * platform/graphics/transforms/MatrixTransformOperation.h:
+ * platform/graphics/transforms/PerspectiveTransformOperation.cpp:
+ * platform/graphics/transforms/PerspectiveTransformOperation.h:
+ * platform/graphics/transforms/RotateTransformOperation.cpp:
+ * platform/graphics/transforms/RotateTransformOperation.h:
+ * platform/graphics/transforms/ScaleTransformOperation.cpp:
+ * platform/graphics/transforms/ScaleTransformOperation.h:
+ * platform/graphics/transforms/SkewTransformOperation.cpp:
+ * platform/graphics/transforms/SkewTransformOperation.h:
+ * platform/graphics/transforms/TransformOperation.cpp:
+ * platform/graphics/transforms/TransformOperation.h:
+ * platform/graphics/transforms/TransformOperations.cpp:
+ * platform/graphics/transforms/TransformOperations.h:
+ * platform/graphics/transforms/TransformationMatrix.cpp:
+ * platform/graphics/transforms/TransformationMatrix.h:
+ * platform/graphics/transforms/TranslateTransformOperation.cpp:
+ * platform/graphics/transforms/TranslateTransformOperation.h:
+ * platform/ios/SelectionRect.cpp:
+ (WebCore::operator<<):
+ * platform/ios/SelectionRect.h:
+ * platform/mac/ScrollAnimatorMac.mm:
+ * platform/text/TextAllInOne.cpp:
+ * rendering/InlineBox.cpp:
+ * rendering/InlineBox.h:
+ * rendering/InlineFlowBox.cpp:
+ (WebCore::InlineFlowBox::outputLineTreeAndMark const):
+ * rendering/InlineFlowBox.h:
+ * rendering/InlineTextBox.cpp:
+ * rendering/InlineTextBox.h:
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::outputLineTreeAndMark const):
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderLayer.cpp:
+ * rendering/RenderLayerCompositor.cpp:
+ * rendering/RenderObject.cpp:
+ * rendering/RenderObject.h:
+ * rendering/RenderTreeAsText.cpp:
+ * rendering/RenderTreeAsText.h:
+ * rendering/ScrollAlignment.cpp:
+ * rendering/ScrollAlignment.h:
+ * rendering/SimpleLineLayoutCoverage.cpp:
+ * rendering/SimpleLineLayoutFunctions.cpp:
+ * rendering/SimpleLineLayoutFunctions.h:
+ * rendering/style/FillLayer.cpp:
+ * rendering/style/FillLayer.h:
+ * rendering/style/NinePieceImage.cpp:
+ * rendering/style/NinePieceImage.h:
+ * rendering/style/RenderStyleConstants.cpp:
+ * rendering/style/RenderStyleConstants.h:
+ * rendering/svg/SVGRenderTreeAsText.cpp:
+ (WebCore::operator<<):
+ * rendering/svg/SVGRenderTreeAsText.h:
+ (WebCore::operator<<):
+ * svg/SVGLengthValue.cpp:
+ * svg/SVGLengthValue.h:
+ * svg/graphics/SVGImage.cpp:
+ * svg/graphics/SVGImage.h:
+ * svg/graphics/filters/SVGFEImage.cpp:
+ * svg/graphics/filters/SVGFEImage.h:
+
2017-08-09 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r220466, r220477, and r220487.
B2C3DA470D006C1D00EF6F26 /* TextEncoding.h in Headers */ = {isa = PBXBuildFile; fileRef = B2C3DA170D006C1D00EF6F26 /* TextEncoding.h */; settings = {ATTRIBUTES = (Private, ); }; };
B2C3DA480D006C1D00EF6F26 /* TextEncodingRegistry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2C3DA180D006C1D00EF6F26 /* TextEncodingRegistry.cpp */; };
B2C3DA490D006C1D00EF6F26 /* TextEncodingRegistry.h in Headers */ = {isa = PBXBuildFile; fileRef = B2C3DA190D006C1D00EF6F26 /* TextEncodingRegistry.h */; settings = {ATTRIBUTES = (Private, ); }; };
- B2C3DA4A0D006C1D00EF6F26 /* TextStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2C3DA1A0D006C1D00EF6F26 /* TextStream.cpp */; };
- B2C3DA4B0D006C1D00EF6F26 /* TextStream.h in Headers */ = {isa = PBXBuildFile; fileRef = B2C3DA1B0D006C1D00EF6F26 /* TextStream.h */; settings = {ATTRIBUTES = (Private, ); }; };
B2C3DA600D006CD600EF6F26 /* FontCascade.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2C3DA4F0D006CD600EF6F26 /* FontCascade.cpp */; };
B2C3DA610D006CD600EF6F26 /* FontCascade.h in Headers */ = {isa = PBXBuildFile; fileRef = B2C3DA500D006CD600EF6F26 /* FontCascade.h */; settings = {ATTRIBUTES = (Private, ); }; };
B2C3DA620D006CD600EF6F26 /* FontCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2C3DA510D006CD600EF6F26 /* FontCache.cpp */; };
B2C3DA170D006C1D00EF6F26 /* TextEncoding.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = TextEncoding.h; sourceTree = "<group>"; };
B2C3DA180D006C1D00EF6F26 /* TextEncodingRegistry.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = TextEncodingRegistry.cpp; sourceTree = "<group>"; };
B2C3DA190D006C1D00EF6F26 /* TextEncodingRegistry.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = TextEncodingRegistry.h; sourceTree = "<group>"; };
- B2C3DA1A0D006C1D00EF6F26 /* TextStream.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = TextStream.cpp; sourceTree = "<group>"; };
- B2C3DA1B0D006C1D00EF6F26 /* TextStream.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = TextStream.h; sourceTree = "<group>"; };
B2C3DA4F0D006CD600EF6F26 /* FontCascade.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = FontCascade.cpp; sourceTree = "<group>"; };
B2C3DA500D006CD600EF6F26 /* FontCascade.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FontCascade.h; sourceTree = "<group>"; };
B2C3DA510D006CD600EF6F26 /* FontCache.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = FontCache.cpp; sourceTree = "<group>"; };
B2C3DA180D006C1D00EF6F26 /* TextEncodingRegistry.cpp */,
B2C3DA190D006C1D00EF6F26 /* TextEncodingRegistry.h */,
B2C3DA150D006C1D00EF6F26 /* TextFlags.h */,
- B2C3DA1A0D006C1D00EF6F26 /* TextStream.cpp */,
- B2C3DA1B0D006C1D00EF6F26 /* TextStream.h */,
A863E2001343412000274926 /* UnicodeBidi.h */,
14476AA715DC4BB100305DB2 /* WritingMode.h */,
);
93F198F608245E59001E9ABC /* TextResourceDecoder.h in Headers */,
A824B4650E2EF2EA0081A7B7 /* TextRun.h in Headers */,
448B1B7A0F3A2F9B0047A9E2 /* TextSizeAdjustment.h in Headers */,
- B2C3DA4B0D006C1D00EF6F26 /* TextStream.h in Headers */,
9759E94014EF1CF80026A2DD /* TextTrack.h in Headers */,
9759E94314EF1CF80026A2DD /* TextTrackCue.h in Headers */,
071A9EC3168FBC55002629F9 /* TextTrackCueGeneric.h in Headers */,
E4C91A101802343900A17F6D /* TextPaintStyle.cpp in Sources */,
93F19A9D08245E59001E9ABC /* TextResourceDecoder.cpp in Sources */,
376DCCE113B4F966002EBEFC /* TextRun.cpp in Sources */,
- B2C3DA4A0D006C1D00EF6F26 /* TextStream.cpp in Sources */,
9759E93F14EF1CF80026A2DD /* TextTrack.cpp in Sources */,
9759E94214EF1CF80026A2DD /* TextTrackCue.cpp in Sources */,
071A9EC2168FBC43002629F9 /* TextTrackCueGeneric.cpp in Sources */,
#include "ComposedTreeIterator.h"
#include "HTMLSlotElement.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "RuntimeEnabledFeatures.h"
#include "Text.h"
#include "TextIterator.h"
-#include "TextStream.h"
#include "VisiblePosition.h"
#include "VisibleUnits.h"
#include <stdio.h>
#include <wtf/text/CString.h>
+#include <wtf/text/TextStream.h>
#include <wtf/unicode/CharacterNames.h>
#if ENABLE(TREE_DEBUGGING)
#include <wtf/Assertions.h>
#include <wtf/RefPtr.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class CSSComputedStyleDeclaration;
class RenderElement;
class RenderObject;
class Text;
-class TextStream;
enum PositionMoveType {
CodePoint, // Move by a single code point.
return offset < currentOffset;
}
-TextStream& operator<<(TextStream&, const Position&);
+WTF::TextStream& operator<<(WTF::TextStream&, const Position&);
} // namespace WebCore
return boundingRect(CoordinateSpace::Absolute, respectClippingForTextRects);
}
-TextStream& operator<<(TextStream& ts, const RangeBoundaryPoint& r)
+WTF::TextStream& operator<<(WTF::TextStream& ts, const RangeBoundaryPoint& r)
{
return ts << r.toPosition();
}
-TextStream& operator<<(TextStream& ts, const Range& r)
+WTF::TextStream& operator<<(WTF::TextStream& ts, const Range& r)
{
return ts << "Range: " << "start: " << r.startPosition() << " end: " << r.endPosition();
}
return Range::compareBoundaryPoints(const_cast<Node*>(a), 0, const_cast<Node*>(b), 0).releaseReturnValue() < 0;
}
-TextStream& operator<<(TextStream&, const RangeBoundaryPoint&);
-TextStream& operator<<(TextStream&, const Range&);
+WTF::TextStream& operator<<(WTF::TextStream&, const RangeBoundaryPoint&);
+WTF::TextStream& operator<<(WTF::TextStream&, const Range&);
} // namespace
#include "IntSize.h"
#include "ScriptableDocumentParser.h"
#include "Settings.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void setViewportFeature(ViewportArguments&, Document&, StringView key, StringView value);
-TextStream& operator<<(TextStream&, const ViewportArguments&);
+WTF::TextStream& operator<<(WTF::TextStream&, const ViewportArguments&);
} // namespace WebCore
#include "RenderBlock.h"
#include "RootInlineBox.h"
#include "Text.h"
-#include "TextStream.h"
#include "VisibleUnits.h"
#include <stdio.h>
#include <wtf/text/CString.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "EditingBoundary.h"
#include "Position.h"
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
// VisiblePosition default affinity is downstream because
class InlineBox;
class Node;
-class TextStream;
class VisiblePosition {
public:
bool isFirstVisiblePositionInNode(const VisiblePosition&, const Node*);
bool isLastVisiblePositionInNode(const VisiblePosition&, const Node*);
-TextStream& operator<<(TextStream&, EAffinity);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const VisiblePosition&);
+WTF::TextStream& operator<<(WTF::TextStream&, EAffinity);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const VisiblePosition&);
} // namespace WebCore
#include "Element.h"
#include "HTMLInputElement.h"
#include "TextIterator.h"
-#include "TextStream.h"
#include "VisibleUnits.h"
#include <stdio.h>
#include <wtf/Assertions.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringBuilder.h>
+#include <wtf/text/TextStream.h>
#include <wtf/unicode/CharacterNames.h>
namespace WebCore {
return !(a == b);
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const VisibleSelection&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const VisibleSelection&);
} // namespace WebCore
#include "RenderVideo.h"
#include "ScriptController.h"
#include "Settings.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#if ENABLE(VIDEO_PRESENTATION_MODE)
#include "VideoFullscreenModel.h"
#include "StyleResolver.h"
#include "TextMetrics.h"
#include "TextRun.h"
-#include "TextStream.h"
#include <wtf/CheckedArithmetic.h>
#include <wtf/MathExtras.h>
#include <wtf/NeverDestroyed.h>
#include <wtf/text/StringBuilder.h>
+#include <wtf/text/TextStream.h>
#if USE(CG) && !PLATFORM(IOS)
#include <ApplicationServices/ApplicationServices.h>
#include "StyleResolver.h"
#include "StyleScope.h"
#include "TextResourceDecoder.h"
-#include "TextStream.h"
#include "TiledBacking.h"
#include "WheelEventTestTrigger.h"
+#include <wtf/text/TextStream.h>
#include <wtf/CurrentTime.h>
#include <wtf/MemoryPressureHandler.h>
#include "config.h"
#include "ViewportConfiguration.h"
-#include "TextStream.h"
#include <wtf/Assertions.h>
#include <wtf/MathExtras.h>
#include <wtf/text/CString.h>
+#include <wtf/text/TextStream.h>
#if PLATFORM(IOS)
#include "PlatformScreen.h"
#include "ViewportArguments.h"
#include <wtf/Noncopyable.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
static const double forceAlwaysUserScalableMaximumScale = 5.0;
static const double forceAlwaysUserScalableMinimumScale = 1.0;
-class TextStream;
-
class ViewportConfiguration {
WTF_MAKE_NONCOPYABLE(ViewportConfiguration); WTF_MAKE_FAST_ALLOCATED;
public:
bool m_forceAlwaysUserScalable;
};
-TextStream& operator<<(TextStream&, const ViewportConfiguration::Parameters&);
+WTF::TextStream& operator<<(WTF::TextStream&, const ViewportConfiguration::Parameters&);
} // namespace WebCore
#include "FloatSize.h"
#include "Logging.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#if PLATFORM(MAC)
#include "WheelEventDeltaFilterMac.h"
#include "StyleGeneratedImage.h"
#include "StylePropertyShorthand.h"
#include "StyleResolver.h"
-#include "TextStream.h"
#include <algorithm>
#include <memory>
#include <wtf/MathExtras.h>
#include <wtf/Noncopyable.h>
#include <wtf/PointerComparison.h>
#include <wtf/RefCounted.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "ScrollingStateStickyNode.h"
#include "ScrollingStateTree.h"
#include "Settings.h"
-#include "TextStream.h"
#include "WheelEventTestTrigger.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "config.h"
#include "ScrollingConstraints.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
FloatPoint m_layerPositionAtLastLayout;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FixedPositionViewportConstraints&);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const StickyPositionViewportConstraints&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FixedPositionViewportConstraints&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const StickyPositionViewportConstraints&);
} // namespace WebCore
#include "RenderView.h"
#include "ScrollAnimator.h"
#include "Settings.h"
-#include "TextStream.h"
#include <wtf/MainThread.h>
#include <wtf/text/StringBuilder.h>
+#include <wtf/text/TextStream.h>
#if USE(COORDINATED_GRAPHICS)
#include "ScrollingCoordinatorCoordinatedGraphics.h"
#include "AxisScrollSnapOffsets.h"
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
typedef unsigned SynchronousScrollingReasons;
class Page;
class Region;
class ScrollableArea;
-class TextStream;
class ViewportConstraints;
#if ENABLE(ASYNC_SCROLLING)
bool m_forceSynchronousScrollLayerPositionUpdates { false };
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, ScrollableAreaParameters);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, ScrollingNodeType);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, ScrollingLayerPositionAction);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, ViewportRectStability);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, ScrollableAreaParameters);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, ScrollingNodeType);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, ScrollingLayerPositionAction);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, ViewportRectStability);
} // namespace WebCore
#include "GraphicsLayer.h"
#include "Logging.h"
#include "ScrollingStateTree.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#if ENABLE(ASYNC_SCROLLING) || USE(COORDINATED_GRAPHICS)
void reconcileLayerPositionForViewportRect(const LayoutRect& viewportRect, ScrollingLayerPositionAction) override;
- void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
FixedPositionViewportConstraints m_constraints;
};
#if ENABLE(ASYNC_SCROLLING) || USE(COORDINATED_GRAPHICS)
#include "ScrollingStateTree.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#endif
void setScrollerImpsFromScrollbars(Scrollbar* verticalScrollbar, Scrollbar* horizontalScrollbar);
- void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
private:
ScrollingStateFrameScrollingNode(ScrollingStateTree&, ScrollingNodeID);
#include "ScrollingStateFixedNode.h"
#include "ScrollingStateTree.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <wtf/text/WTFString.h>
#include <wtf/TypeCasts.h>
#include <wtf/Vector.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class GraphicsLayer;
class ScrollingStateTree;
-class TextStream;
// Used to allow ScrollingStateNodes to refer to layers in various contexts:
// a) Async scrolling, main thread: ScrollingStateNode holds onto a GraphicsLayer, and uses m_layerID
protected:
ScrollingStateNode(const ScrollingStateNode&, ScrollingStateTree&);
- virtual void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const;
+ virtual void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const;
private:
- void dump(TextStream&, ScrollingStateTreeAsTextBehavior) const;
+ void dump(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const;
const ScrollingNodeType m_nodeType;
ScrollingNodeID m_nodeID;
#if ENABLE(ASYNC_SCROLLING) || USE(COORDINATED_GRAPHICS)
#include "ScrollingStateTree.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
virtual ~ScrollingStateOverflowScrollingNode();
- void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
private:
ScrollingStateOverflowScrollingNode(ScrollingStateTree&, ScrollingNodeID);
#if ENABLE(ASYNC_SCROLLING) || USE(COORDINATED_GRAPHICS)
#include "ScrollingStateTree.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
ScrollingStateScrollingNode(ScrollingStateTree&, ScrollingNodeType, ScrollingNodeID);
ScrollingStateScrollingNode(const ScrollingStateScrollingNode&, ScrollingStateTree&);
- void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
private:
FloatSize m_scrollableAreaSize;
#include "GraphicsLayer.h"
#include "Logging.h"
#include "ScrollingStateTree.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void reconcileLayerPositionForViewportRect(const LayoutRect& viewportRect, ScrollingLayerPositionAction) override;
- void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
StickyPositionViewportConstraints m_constraints;
};
#include "ScrollingTreeNode.h"
#include "ScrollingTreeOverflowScrollingNode.h"
#include "ScrollingTreeScrollingNode.h"
-#include "TextStream.h"
#include <wtf/SetForScope.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "Logging.h"
#include "ScrollingStateTree.h"
#include "ScrollingTree.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
ScrollBehaviorForFixedElements scrollBehaviorForFixedElements() const { return m_behaviorForFixed; }
private:
- void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
FloatRect m_layoutViewport;
FloatPoint m_minLayoutViewportOrigin;
#include "ScrollingStateTree.h"
#include "ScrollingTreeFrameScrollingNode.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
WEBCORE_EXPORT ScrollingTreeFrameScrollingNode* enclosingFrameNode() const;
- WEBCORE_EXPORT void dump(TextStream&, ScrollingStateTreeAsTextBehavior) const;
+ WEBCORE_EXPORT void dump(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const;
protected:
ScrollingTreeNode(ScrollingTree&, ScrollingNodeType, ScrollingNodeID);
std::unique_ptr<Vector<RefPtr<ScrollingTreeNode>>> m_children;
- WEBCORE_EXPORT virtual void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const;
+ WEBCORE_EXPORT virtual void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const;
private:
ScrollingTree& m_scrollingTree;
#include "ScrollingStateTree.h"
#include "ScrollingTree.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
bool canHaveScrollbars() const { return m_scrollableAreaParameters.horizontalScrollbarMode != ScrollbarAlwaysOff || m_scrollableAreaParameters.verticalScrollbarMode != ScrollbarAlwaysOff; }
- WEBCORE_EXPORT void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ WEBCORE_EXPORT void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
private:
FloatSize m_scrollableAreaSize;
void commitStateBeforeChildren(const ScrollingStateNode&) override;
void updateLayersAfterAncestorChange(const ScrollingTreeNode& changedNode, const FloatRect& fixedPositionRect, const FloatSize& cumulativeDelta) override;
- void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
FixedPositionViewportConstraints m_constraints;
RetainPtr<CALayer> m_layer;
#include "Logging.h"
#include "ScrollingStateFixedNode.h"
#include "ScrollingTree.h"
-#include "TextStream.h"
#include <QuartzCore/CALayer.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#import "PlatformWheelEvent.h"
#import "ScrollableArea.h"
#import "ScrollingCoordinator.h"
-#import "ScrollingTree.h"
#import "ScrollingStateTree.h"
-#import "TextStream.h"
+#import "ScrollingTree.h"
#import "TileController.h"
#import "WebLayer.h"
+#import <wtf/text/TextStream.h>
#import <QuartzCore/QuartzCore.h>
#import <wtf/CurrentTime.h>
void commitStateBeforeChildren(const ScrollingStateNode&) override;
void updateLayersAfterAncestorChange(const ScrollingTreeNode& changedNode, const FloatRect& fixedPositionRect, const FloatSize& cumulativeDelta) override;
- void dumpProperties(TextStream&, ScrollingStateTreeAsTextBehavior) const override;
+ void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
StickyPositionViewportConstraints m_constraints;
RetainPtr<CALayer> m_layer;
#include "ScrollingTree.h"
#include "ScrollingTreeFrameScrollingNode.h"
#include "ScrollingTreeOverflowScrollingNode.h"
-#include "TextStream.h"
#include <QuartzCore/CALayer.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "config.h"
#include "CalculationValue.h"
-#include "LengthFunctions.h"
-#include "TextStream.h"
+#include "LengthFunctions.h"
#include <limits>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include <wtf/Ref.h>
#include <wtf/RefCounted.h>
-namespace WebCore {
-
+namespace WTF {
class TextStream;
+}
+
+namespace WebCore {
enum CalcOperator {
CalcAdd = '+',
virtual float evaluate(float maxValue) const = 0;
virtual bool operator==(const CalcExpressionNode&) const = 0;
- virtual void dump(TextStream&) const = 0;
+ virtual void dump(WTF::TextStream&) const = 0;
private:
CalcExpressionNodeType m_type;
private:
float evaluate(float) const override;
bool operator==(const CalcExpressionNode&) const override;
- void dump(TextStream&) const override;
+ void dump(WTF::TextStream&) const override;
float m_value;
};
private:
float evaluate(float maxValue) const override;
bool operator==(const CalcExpressionNode&) const override;
- void dump(TextStream&) const override;
+ void dump(WTF::TextStream&) const override;
Length m_length;
};
private:
float evaluate(float maxValue) const override;
bool operator==(const CalcExpressionNode&) const override;
- void dump(TextStream&) const override;
+ void dump(WTF::TextStream&) const override;
std::unique_ptr<CalcExpressionNode> m_leftSide;
std::unique_ptr<CalcExpressionNode> m_rightSide;
private:
float evaluate(float maxValue) const override;
bool operator==(const CalcExpressionNode&) const override;
- void dump(TextStream&) const override;
+ void dump(WTF::TextStream&) const override;
Length m_from;
Length m_to;
return static_cast<const CalcExpressionBlendLength&>(value);
}
-TextStream& operator<<(TextStream&, const CalculationValue&);
-TextStream& operator<<(TextStream&, const CalcExpressionNode&);
-TextStream& operator<<(TextStream&, CalcOperator);
+WTF::TextStream& operator<<(WTF::TextStream&, const CalculationValue&);
+WTF::TextStream& operator<<(WTF::TextStream&, const CalcExpressionNode&);
+WTF::TextStream& operator<<(WTF::TextStream&, CalcOperator);
} // namespace WebCore
#include "config.h"
#include "LayoutUnit.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include <wtf/MathExtras.h>
#include <wtf/SaturatedArithmetic.h>
-namespace WebCore {
-
+namespace WTF {
class TextStream;
+}
+
+namespace WebCore {
#ifdef NDEBUG
return a;
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const LayoutUnit&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const LayoutUnit&);
inline int roundToInt(LayoutUnit value)
{
#include "Length.h"
#include "CalculationValue.h"
-#include "TextStream.h"
#include <wtf/ASCIICType.h>
#include <wtf/HashMap.h>
+#include <wtf/MallocPtr.h>
#include <wtf/NeverDestroyed.h>
#include <wtf/StdLibExtras.h>
#include <wtf/text/StringBuffer.h>
#include <wtf/text/StringView.h>
+#include <wtf/text/TextStream.h>
using namespace WTF;
#include <wtf/FastMalloc.h>
#include <wtf/Forward.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
enum LengthType {
};
class CalculationValue;
-class TextStream;
struct Length {
WTF_MAKE_FAST_ALLOCATED;
Length convertTo100PercentMinusLength(const Length&);
-TextStream& operator<<(TextStream&, Length);
+WTF::TextStream& operator<<(WTF::TextStream&, Length);
} // namespace WebCore
#include "config.h"
#include "LengthBox.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
using LayoutBoxExtent = BoxExtent<LayoutUnit>;
using FloatBoxExtent = BoxExtent<float>;
-TextStream& operator<<(TextStream&, const LengthBox&);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FloatBoxExtent&);
+WTF::TextStream& operator<<(WTF::TextStream&, const LengthBox&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FloatBoxExtent&);
} // namespace WebCore
#include "config.h"
#include "LengthPoint.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
return LengthPoint(blend(from.x(), to.x(), progress), blend(from.y(), to.y(), progress));
}
-TextStream& operator<<(TextStream&, const LengthPoint&);
+WTF::TextStream& operator<<(WTF::TextStream&, const LengthPoint&);
} // namespace WebCore
#include "config.h"
#include "LengthSize.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
return { blend(from.width, to.width, progress), blend(from.height, to.height, progress) };
}
-TextStream& operator<<(TextStream&, const LengthSize&);
+WTF::TextStream& operator<<(WTF::TextStream&, const LengthSize&);
} // namespace WebCore
#else
#define LOG_WITH_STREAM(channel, commands) do { \
- WebCore::TextStream stream(WebCore::TextStream::LineMode::SingleLine); \
+ WTF::TextStream stream(WTF::TextStream::LineMode::SingleLine); \
commands; \
WTFLog(&JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), "%s", stream.release().utf8().data()); \
} while (0)
#include "ScrollAnimator.h"
#include "Scrollbar.h"
#include "ScrollbarTheme.h"
-#include "TextStream.h"
#include <wtf/StdLibExtras.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "config.h"
#include "ScrollableArea.h"
+#include "FloatPoint.h"
#include "GraphicsContext.h"
#include "GraphicsLayer.h"
-#include "FloatPoint.h"
#include "LayoutRect.h"
#include "Logging.h"
#include "PlatformWheelEvent.h"
#include "ScrollAnimator.h"
#include "ScrollAnimatorMock.h"
#include "ScrollbarTheme.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "config.h"
#include "TimingFunction.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include <wtf/Ref.h>
#include <wtf/RefCounted.h>
-namespace WebCore {
-
+namespace WTF {
class TextStream;
+}
+
+namespace WebCore {
class TimingFunction : public RefCounted<TimingFunction> {
public:
double m_initialVelocity;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const TimingFunction&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const TimingFunction&);
} // namespace WebCore
#include "IntRect.h"
#include "Logging.h"
#include "Settings.h"
-#include "TextStream.h"
#include "Timer.h"
#include <wtf/CurrentTime.h>
#include <wtf/Vector.h>
+#include <wtf/text/TextStream.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
bool canDestroyDecodedData();
void setCurrentFrameDecodingStatusIfNecessary(DecodingStatus);
bool isBitmapImage() const override { return true; }
- void dump(TextStream&) const override;
+ void dump(WTF::TextStream&) const override;
// Animated images over a certain size are considered large enough that we'll only hang on to one frame at a time.
static const unsigned LargeAnimationCutoff = 30 * 1014 * 1024;
#include "AnimationUtilities.h"
#include "HashTools.h"
-#include "TextStream.h"
#include <wtf/Assertions.h>
#include <wtf/DecimalNumber.h>
#include <wtf/HexNumber.h>
#include <wtf/MathExtras.h>
#include <wtf/text/StringBuilder.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#endif
#endif
-namespace WebCore {
-
+namespace WTF {
class TextStream;
+}
+
+namespace WebCore {
typedef unsigned RGBA32; // Deprecated: Type for an RGBA quadruplet. Use RGBA class instead.
tagAsValid();
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const Color&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const Color&);
inline bool Color::isBlackColor(const Color& color)
{
#include "FloatRect.h"
#include "GraphicsContext.h"
#include "ImageBuffer.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
private:
bool isCrossfadeGeneratedImage() const override { return true; }
- void dump(TextStream&) const override;
+ void dump(WTF::TextStream&) const override;
void drawCrossfade(GraphicsContext&);
#include "AffineTransform.h"
#include "FloatConversion.h"
#include "IntPoint.h"
-#include "TextStream.h"
#include "TransformationMatrix.h"
#include <limits>
#include <math.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
typedef D2D_POINT_2F D2D1_POINT_2F;
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class AffineTransform;
class TransformationMatrix;
class IntPoint;
class IntSize;
-class TextStream;
class FloatPoint {
public:
return WTF::areEssentiallyEqual(a.x(), b.x()) && WTF::areEssentiallyEqual(a.y(), b.y());
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FloatPoint&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FloatPoint&);
}
#include "config.h"
#include "FloatPoint3D.h"
-#include "TextStream.h"
#include <math.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
return (*this - a).length();
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FloatPoint3D&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FloatPoint3D&);
} // namespace WebCore
#include "FloatConversion.h"
#include "IntRect.h"
-#include "TextStream.h"
#include <algorithm>
#include <math.h>
#include <wtf/MathExtras.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
typedef D2D_RECT_F D2D1_RECT_F;
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class IntRect;
class IntPoint;
-class TextStream;
class FloatRect {
public:
WEBCORE_EXPORT IntRect enclosingIntRect(const FloatRect&);
WEBCORE_EXPORT IntRect roundedIntRect(const FloatRect&);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FloatRect&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FloatRect&);
}
#include "config.h"
#include "FloatRoundedRect.h"
-#include "TextStream.h"
#include <algorithm>
+#include <wtf/text/TextStream.h>
namespace WebCore {
return factor;
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FloatRoundedRect&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FloatRoundedRect&);
} // namespace WebCore
#include "FloatConversion.h"
#include "IntSize.h"
-#include "TextStream.h"
#include <limits>
#include <math.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
typedef D2D_SIZE_F D2D1_SIZE_F;
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class IntSize;
-class TextStream;
class FloatSize {
public:
return IntPoint(clampToInteger(floorf(p.width())), clampToInteger(floorf(p.height())));
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FloatSize&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FloatSize&);
} // namespace WebCore
#include "config.h"
#include "FontTaggedSettings.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <wtf/text/AtomicStringHash.h>
#include <wtf/HashTraits.h>
#include <wtf/Vector.h>
-namespace WebCore {
-
+namespace WTF {
class TextStream;
+}
+
+namespace WebCore {
typedef std::array<char, 4> FontTag;
#if ENABLE(VARIATION_FONTS)
typedef FontTaggedSettings<float> FontVariationSettings;
-TextStream& operator<<(TextStream&, const FontVariationSettings&);
+WTF::TextStream& operator<<(WTF::TextStream&, const FontVariationSettings&);
#else
m_cachedImageBuffer->drawPattern(destContext, destRect, adjustedSrcRect, adjustedPatternCTM, phase, spacing, compositeOp, blendMode);
}
-void GradientImage::dump(TextStream& ts) const
+void GradientImage::dump(WTF::TextStream& ts) const
{
GeneratedImage::dump(ts);
// FIXME: dump the gradient.
ImageDrawResult draw(GraphicsContext&, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator, BlendMode, DecodingMode, ImageOrientationDescription) final;
void drawPattern(GraphicsContext&, const FloatRect& destRect, const FloatRect& srcRect, const AffineTransform& patternTransform, const FloatPoint& phase, const FloatSize& spacing, CompositeOperator, BlendMode) final;
bool isGradientImage() const final { return true; }
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
Ref<Gradient> m_gradient;
std::unique_ptr<ImageBuffer> m_cachedImageBuffer;
#include "IntRect.h"
#include "RoundedRect.h"
#include "TextRun.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void accumulate(const GraphicsContextState&, GraphicsContextState::StateChangeFlags);
void apply(GraphicsContext&) const;
- void dump(TextStream&) const;
+ void dump(WTF::TextStream&) const;
GraphicsContextState m_state;
GraphicsContextState::StateChangeFlags m_changeFlags { GraphicsContextState::NoChange };
};
-TextStream& operator<<(TextStream&, const GraphicsContextStateChange&);
+WTF::TextStream& operator<<(WTF::TextStream&, const GraphicsContextStateChange&);
class GraphicsContext {
#include "GraphicsContext.h"
#include "LayoutRect.h"
#include "RotateTransformOperation.h"
-#include "TextStream.h"
#include <wtf/HashMap.h>
#include <wtf/NeverDestroyed.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringBuilder.h>
+#include <wtf/text/TextStream.h>
#include <wtf/text/WTFString.h>
#ifndef NDEBUG
#include "GraphicsTypes.h"
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class GraphicsContext;
class GraphicsLayerFactory;
class Image;
-class TextStream;
class TiledBacking;
class TimingFunction;
class TransformationMatrix;
virtual void setContentsOrientation(CompositingCoordinatesOrientation orientation) { m_contentsOrientation = orientation; }
CompositingCoordinatesOrientation contentsOrientation() const { return m_contentsOrientation; }
- void dumpLayer(TextStream&, int indent = 0, LayerTreeAsTextBehavior = LayerTreeAsTextBehaviorNormal) const;
+ void dumpLayer(WTF::TextStream&, int indent = 0, LayerTreeAsTextBehavior = LayerTreeAsTextBehaviorNormal) const;
virtual void setShowDebugBorder(bool show) { m_showDebugBorder = show; }
bool isShowingDebugBorder() const { return m_showDebugBorder; }
GraphicsLayer* replicatedLayer() const { return m_replicatedLayer; }
virtual void setReplicatedLayer(GraphicsLayer* layer) { m_replicatedLayer = layer; }
- void dumpProperties(TextStream&, int indent, LayerTreeAsTextBehavior) const;
- virtual void dumpAdditionalProperties(TextStream&, int /*indent*/, LayerTreeAsTextBehavior) const { }
+ void dumpProperties(WTF::TextStream&, int indent, LayerTreeAsTextBehavior) const;
+ virtual void dumpAdditionalProperties(WTF::TextStream&, int /*indent*/, LayerTreeAsTextBehavior) const { }
WEBCORE_EXPORT virtual void getDebugBorderInfo(Color&, float& width) const;
#endif
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const Vector<GraphicsLayer::PlatformLayerID>&);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const GraphicsLayer::CustomAppearance&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const Vector<GraphicsLayer::PlatformLayerID>&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const GraphicsLayer::CustomAppearance&);
} // namespace WebCore
#include "config.h"
#include "GraphicsTypes.h"
-#include "TextStream.h"
#include <wtf/Assertions.h>
+#include <wtf/text/TextStream.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
#include "WindRule.h"
#include <wtf/Forward.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
enum CompositeOperator {
String textBaselineName(TextBaseline);
bool parseTextBaseline(const String&, TextBaseline&);
-class TextStream;
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, BlendMode);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, CompositeOperator);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, WindRule);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, LineCap);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, LineJoin);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, BlendMode);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, CompositeOperator);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, WindRule);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, LineCap);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, LineJoin);
} // namespace WebCore
#include "Length.h"
#include "MIMETypeRegistry.h"
#include "SharedBuffer.h"
-#include "TextStream.h"
#include "URL.h"
#include <math.h>
#include <wtf/MainThread.h>
#include <wtf/StdLibExtras.h>
+#include <wtf/text/TextStream.h>
#if USE(CG)
#include <CoreFoundation/CoreFoundation.h>
virtual bool notSolidColor() { return true; }
#endif
- virtual void dump(TextStream&) const;
+ virtual void dump(WTF::TextStream&) const;
protected:
Image(ImageObserver* = nullptr);
Timer m_animationStartTimer;
};
-TextStream& operator<<(TextStream&, const Image&);
+WTF::TextStream& operator<<(WTF::TextStream&, const Image&);
} // namespace WebCore
#include "ImageOrientation.h"
#include "IntPoint.h"
#include "NativeImage.h"
-#include "TextStream.h"
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
#include <wtf/Optional.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
NativeImagePtr createFrameImageAtIndex(size_t, SubsamplingLevel = SubsamplingLevel::Default);
private:
- void dump(TextStream&);
+ void dump(WTF::TextStream&);
void setDecoderTargetContext(const GraphicsContext*);
#include "IntPoint.h"
#include "FloatPoint.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
typedef D2D_POINT_2F D2D1_POINT_2F;
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class FloatPoint;
-class TextStream;
class IntPoint {
public:
return ((*this) - point).diagonalLengthSquared();
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const IntPoint&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const IntPoint&);
} // namespace WebCore
#include "FloatRect.h"
#include "LayoutRect.h"
-#include "TextStream.h"
#include <algorithm>
+#include <wtf/text/TextStream.h>
namespace WebCore {
typedef struct _cairo_rectangle_int cairo_rectangle_int_t;
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class FloatRect;
class LayoutRect;
-class TextStream;
class IntRect {
WTF_MAKE_FAST_ALLOCATED;
WEBCORE_EXPORT IntRect enclosingIntRect(const NSRect&);
#endif
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const IntRect&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const IntRect&);
} // namespace WebCore
#include "IntSize.h"
#include "FloatSize.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
typedef D2D_SIZE_F D2D1_SIZE_F;
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class FloatSize;
-class TextStream;
class IntSize {
public:
return a.width() != b.width() || a.height() != b.height();
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const IntSize&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const IntSize&);
} // namespace WebCore
#include "config.h"
#include "LayoutPoint.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
return FloatSize(snap(size.width(), location.x()), snap(size.height(), location.y()));
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const LayoutPoint&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const LayoutPoint&);
} // namespace WebCore
#include "config.h"
#include "LayoutRect.h"
-#include "TextStream.h"
#include <algorithm>
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "LengthBox.h"
#include <wtf/Vector.h>
-namespace WebCore {
-
+namespace WTF {
class TextStream;
+}
+
+namespace WebCore {
class LayoutRect {
public:
FloatRect encloseRectToDevicePixels(const LayoutRect&, float pixelSnappingFactor);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const LayoutRect&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const LayoutRect&);
} // namespace WebCore
#include "config.h"
#include "LayoutSize.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include "IntSize.h"
#include "LayoutUnit.h"
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class LayoutPoint;
-class TextStream;
enum AspectRatioFit {
AspectRatioFitShrink,
return FloatSize(floorToDevicePixel(size.width(), pixelSnappingFactor), floorToDevicePixel(size.height(), pixelSnappingFactor));
}
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const LayoutSize&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const LayoutSize&);
} // namespace WebCore
#include "FloatRect.h"
#include "GraphicsContext.h"
#include "ImageBuffer.h"
-#include "TextStream.h"
#include "Theme.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
private:
bool isNamedImageGeneratedImage() const override { return true; }
- void dump(TextStream&) const override;
+ void dump(WTF::TextStream&) const override;
String m_name;
};
#include "FloatRoundedRect.h"
#include "PathTraversalState.h"
#include "RoundedRect.h"
-#include "TextStream.h"
#include <math.h>
#include <wtf/MathExtras.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
typedef PlatformPath* PlatformPathPtr;
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class AffineTransform;
class PathTraversalState;
class RoundedRect;
class StrokeStyleApplier;
- class TextStream;
enum PathElementType {
PathElementMoveToPoint, // The points member will contain 1 value.
#endif
};
-TextStream& operator<<(TextStream&, const Path&);
+WTF::TextStream& operator<<(WTF::TextStream&, const Path&);
}
#include "PlatformScreen.h"
#include "RotateTransformOperation.h"
#include "ScaleTransformOperation.h"
-#include "TextStream.h"
#include "TiledBacking.h"
#include "TransformState.h"
#include "TranslateTransformOperation.h"
#include <wtf/NeverDestroyed.h>
#include <wtf/SetForScope.h>
#include <wtf/SystemTracing.h>
+#include <wtf/text/TextStream.h>
#include <wtf/text/WTFString.h>
#if PLATFORM(IOS)
WEBCORE_EXPORT bool canThrottleLayerFlush() const override;
WEBCORE_EXPORT void getDebugBorderInfo(Color&, float& width) const override;
- WEBCORE_EXPORT void dumpAdditionalProperties(TextStream&, int indent, LayerTreeAsTextBehavior) const override;
+ WEBCORE_EXPORT void dumpAdditionalProperties(WTF::TextStream&, int indent, LayerTreeAsTextBehavior) const override;
void computePixelAlignment(float contentsScale, const FloatPoint& positionRelativeToBase,
FloatPoint& position, FloatPoint3D& anchorPoint, FloatSize& alignmentOffset) const;
#include "config.h"
#include "PlatformCAAnimation.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
AnimationType m_type;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, PlatformCAAnimation::AnimationType);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, PlatformCAAnimation::FillModeType);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, PlatformCAAnimation::ValueFunctionType);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, PlatformCAAnimation::AnimationType);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, PlatformCAAnimation::FillModeType);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, PlatformCAAnimation::ValueFunctionType);
} // namespace WebCore
#if USE(CA)
-#include <CoreFoundation/CoreFoundation.h>
-#include <CoreText/CoreText.h>
#include "GraphicsContextCG.h"
#include "LayerPool.h"
#include "PlatformCALayerClient.h"
-#include "TextStream.h"
+#include <CoreFoundation/CoreFoundation.h>
+#include <CoreText/CoreText.h>
#include <wtf/StringExtras.h>
+#include <wtf/text/TextStream.h>
#if PLATFORM(WIN)
#include "CoreTextSPIWin.h"
PlatformCALayerClient* m_owner;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, PlatformCALayer::LayerType);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, PlatformCALayer::FilterType);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, PlatformCALayer::LayerType);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, PlatformCALayer::FilterType);
} // namespace WebCore
#include "Logging.h"
#include "PlatformCALayer.h"
#include "Region.h"
-#include "TextStream.h"
#include "TileCoverageMap.h"
#include "TileGrid.h"
#include <utility>
#include <wtf/MainThread.h>
+#include <wtf/text/TextStream.h>
#if USE(IOSURFACE)
#include "IOSurface.h"
#include "LayerPool.h"
#include "Logging.h"
#include "PlatformCALayer.h"
-#include "TextStream.h"
#include "TileController.h"
#include <wtf/MainThread.h>
#include <wtf/text/CString.h>
+#include <wtf/text/TextStream.h>
#if PLATFORM(IOS)
#include "TileControllerMemoryHandlerIOS.h"
#include "Pattern.h"
#include "ShadowBlur.h"
#include "SubimageCacheWithTimer.h"
-#include "TextStream.h"
#include "Timer.h"
#include "URL.h"
#include <wtf/CurrentTime.h>
#include <wtf/MathExtras.h>
#include <wtf/RetainPtr.h>
+#include <wtf/text/TextStream.h>
#if PLATFORM(COCOA)
#include "WebCoreSystemInterface.h"
#include "Length.h"
#include "NotImplemented.h"
#include "SharedBuffer.h"
-#include "TextStream.h"
#include <CoreGraphics/CGContext.h>
#include <CoreGraphics/CGPDFDocument.h>
#include <wtf/MathExtras.h>
#include <wtf/RAMSize.h>
#include <wtf/RetainPtr.h>
#include <wtf/StdLibExtras.h>
+#include <wtf/text/TextStream.h>
#if !PLATFORM(COCOA)
#include "ImageSourceCG.h"
// FIXME: Implement this to be less conservative.
bool currentFrameKnownToBeOpaque() const override { return false; }
- void dump(TextStream&) const override;
+ void dump(WTF::TextStream&) const override;
void createPDFDocument();
void computeBoundsForCurrentPage();
#include "GraphicsContext.h"
#include "IntSize.h"
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class MachSendRight;
-class TextStream;
class IOSurface final {
WTF_MAKE_FAST_ALLOCATED;
RetainPtr<IOSurfaceRef> m_surface;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const WebCore::IOSurface&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const WebCore::IOSurface&);
} // namespace WebCore
#import "ImageBufferDataCG.h"
#import "Logging.h"
#import "MachSendRight.h"
-#import "TextStream.h"
#import <wtf/Assertions.h>
#import <wtf/MathExtras.h>
+#import <wtf/text/TextStream.h>
#if PLATFORM(IOS)
// Move this into the SPI header once it's possible to put inside the APPLE_INTERNAL_SDK block.
#include "DisplayListItems.h"
#include "Logging.h"
-#include "TextStream.h"
#include <wtf/StdLibExtras.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
namespace DisplayList {
WTF::CString DisplayList::description() const
{
TextStream ts;
- ts << *this;
+ ts << this;
return ts.release().utf8();
}
#include <wtf/Noncopyable.h>
#include <wtf/text/WTFString.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class FloatRect;
class GraphicsContext;
-class TextStream;
namespace DisplayList {
DisplayList& operator=(DisplayList&&) = default;
- void dump(TextStream&) const;
+ void dump(WTF::TextStream&) const;
const Vector<Ref<Item>>& list() const { return m_list; }
Item& itemAt(size_t index)
} // DisplayList
-TextStream& operator<<(TextStream&, const DisplayList::DisplayList&);
+WTF::TextStream& operator<<(WTF::TextStream&, const DisplayList::DisplayList&);
} // WebCore
#include "DisplayListItems.h"
#include "FontCascade.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
namespace DisplayList {
#include "GraphicsContextPlatformPrivateCG.h"
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
-class TextStream;
struct ImagePaintingOptions;
namespace DisplayList {
static void applyState(GraphicsContext&, const GraphicsContextState&, GraphicsContextState::StateChangeFlags);
- static void dumpStateChanges(TextStream&, const GraphicsContextState&, GraphicsContextState::StateChangeFlags);
+ static void dumpStateChanges(WTF::TextStream&, const GraphicsContextState&, GraphicsContextState::StateChangeFlags);
private:
SetState(const GraphicsContextState& state, GraphicsContextState::StateChangeFlags flags)
: Item(ItemType::SetState)
float m_scaleFactor;
};
-TextStream& operator<<(TextStream&, const Item&);
+WTF::TextStream& operator<<(WTF::TextStream&, const Item&);
} // namespace DisplayList
} // namespace WebCore
#include "DisplayListItems.h"
#include "GraphicsContext.h"
#include "Logging.h"
-#include "TextStream.h"
#include <wtf/MathExtras.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
namespace DisplayList {
#include "DisplayListItems.h"
#include "GraphicsContext.h"
#include "Logging.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
namespace DisplayList {
#include "config.h"
#include "DistantLightSource.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void initPaintingData(PaintingData&) override;
void updatePaintingData(PaintingData&, int x, int y, float z) override;
- TextStream& externalRepresentation(TextStream&) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&) const override;
private:
DistantLightSource(float azimuth, float elevation)
#include "Filter.h"
#include "FloatPoint.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <runtime/Uint8ClampedArray.h>
void platformApplySoftware() override;
void dump() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FEBlend(Filter&, BlendMode);
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
void platformApplySoftware() override;
void dump() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
static inline void calculateSaturateComponents(float* components, float value);
static inline void calculateHueRotateComponents(float* components, float value);
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
void platformApplySoftware() override;
void dump() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FEComponentTransfer(Filter&, const ComponentTransferFunction& redFunc, const ComponentTransferFunction& greenFunc,
#include "FECompositeArithmeticNEON.h"
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <runtime/Uint8ClampedArray.h>
void determineAbsolutePaintRect() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
protected:
bool requiresValidPreMultipliedPixels() override { return m_type != FECOMPOSITE_OPERATOR_ARITHMETIC; }
#include "FEConvolveMatrix.h"
#include "Filter.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <runtime/Uint8ClampedArray.h>
#include <wtf/ParallelJobs.h>
void determineAbsolutePaintRect() override { setAbsolutePaintRect(enclosingIntRect(maxEffectRect())); }
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
#include "FEDiffuseLighting.h"
#include "LightSource.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void dump() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FEDiffuseLighting(Filter&, const Color&, float, float, float, float, Ref<LightSource>&&);
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <runtime/Uint8ClampedArray.h>
void determineAbsolutePaintRect() override { setAbsolutePaintRect(enclosingIntRect(maxEffectRect())); }
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FEDisplacementMap(Filter&, ChannelSelectorType xChannelSelector, ChannelSelectorType yChannelSelector, float);
#include "Filter.h"
#include "GraphicsContext.h"
#include "ShadowBlur.h"
-#include "TextStream.h"
#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
void determineAbsolutePaintRect() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FEDropShadow(Filter&, float, float, float, float, const Color&, float);
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void determineAbsolutePaintRect() override { setAbsolutePaintRect(enclosingIntRect(maxEffectRect())); }
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FEFlood(Filter&, const Color&, float);
#include "FEGaussianBlurNEON.h"
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#if USE(ACCELERATE)
#include <Accelerate/Accelerate.h>
static IntSize calculateKernelSize(const Filter&, const FloatPoint& stdDeviation);
static IntSize calculateUnscaledKernelSize(const FloatPoint& stdDeviation);
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
static const int s_minimalRectDimension = 100 * 100; // Empirical data limit for parallel jobs
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void platformApplySoftware() override;
void dump() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FEMerge(Filter&);
#include "FEMorphology.h"
#include "Filter.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <runtime/Uint8ClampedArray.h>
#include <wtf/ParallelJobs.h>
void determineAbsolutePaintRect() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
struct PaintingData {
Uint8ClampedArray* srcPixelArray;
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void determineAbsolutePaintRect() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FEOffset(Filter&, float dx, float dy);
#include "FESpecularLighting.h"
#include "LightSource.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void dump() override;
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FESpecularLighting(Filter&, const Color&, float, float, float, float, float, Ref<LightSource>&&);
#include "Pattern.h"
#include "RenderTreeAsText.h"
#include "SVGRenderingContext.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
FilterEffectType filterEffectType() const override { return FilterEffectTypeTile; }
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
FETile(Filter&);
#include "FETurbulence.h"
#include "Filter.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
void determineAbsolutePaintRect() override { setAbsolutePaintRect(enclosingIntRect(maxEffectRect())); }
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
static const int s_blockSize = 256;
#include "Filter.h"
#include "ImageBuffer.h"
-#include "TextStream.h"
#include <runtime/JSCInlines.h>
#include <runtime/TypedArrayInlines.h>
#include <runtime/Uint8ClampedArray.h>
+#include <wtf/text/TextStream.h>
#if HAVE(ARM_NEON_INTRINSICS)
#include <arm_neon.h>
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class Filter;
class FilterEffect;
class ImageBuffer;
-class TextStream;
typedef Vector<RefPtr<FilterEffect>> FilterEffectVector;
virtual FilterEffectType filterEffectType() const { return FilterEffectTypeUnknown; }
- virtual TextStream& externalRepresentation(TextStream&, int indention = 0) const;
+ virtual WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention = 0) const;
public:
// The following functions are SVG specific and will move to RenderSVGResourceFilterPrimitive.
#include "CachedSVGDocumentReference.h"
#include "FilterEffect.h"
#include "SVGURIReference.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
Color m_color;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FilterOperation&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FilterOperation&);
} // namespace WebCore
#include "FEGaussianBlur.h"
#include "IntSize.h"
#include "LengthFunctions.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
Vector<RefPtr<FilterOperation>> m_operations;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const FilterOperations&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const FilterOperations&);
} // namespace WebCore
#include "FloatPoint3D.h"
#include <wtf/RefCounted.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
enum LightType {
LS_SPOT
};
-class TextStream;
-
class LightSource : public RefCounted<LightSource> {
public:
virtual ~LightSource() { }
LightType type() const { return m_type; }
- virtual TextStream& externalRepresentation(TextStream&) const = 0;
+ virtual WTF::TextStream& externalRepresentation(WTF::TextStream&) const = 0;
virtual void initPaintingData(PaintingData&) = 0;
// z is a float number, since it is the alpha value scaled by a user
#include "config.h"
#include "PointLightSource.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void initPaintingData(PaintingData&) override;
void updatePaintingData(PaintingData&, int x, int y, float z) override;
- TextStream& externalRepresentation(TextStream&) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&) const override;
private:
PointLightSource(const FloatPoint3D& position)
#include "Color.h"
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
#include <wtf/NeverDestroyed.h>
#include <wtf/StdLibExtras.h>
+#include <wtf/text/TextStream.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
FilterEffectType filterEffectType() const override { return FilterEffectTypeSourceInput; }
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
explicit SourceAlpha(FilterEffect&);
#include "Filter.h"
#include "GraphicsContext.h"
-#include "TextStream.h"
#include <wtf/NeverDestroyed.h>
#include <wtf/StdLibExtras.h>
+#include <wtf/text/TextStream.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
FilterEffectType filterEffectType() const override { return FilterEffectTypeSourceInput; }
- TextStream& externalRepresentation(TextStream&, int indention) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const override;
private:
SourceGraphic(Filter& filter)
#include "config.h"
#include "SpotLightSource.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
void initPaintingData(PaintingData&) override;
void updatePaintingData(PaintingData&, int x, int y, float z) override;
- TextStream& externalRepresentation(TextStream&) const override;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&) const override;
private:
SpotLightSource(const FloatPoint3D& position, const FloatPoint3D& direction,
#include "FloatQuad.h"
#include "FloatRect.h"
#include "IntRect.h"
-#include "TextStream.h"
#include "TransformationMatrix.h"
+#include <wtf/text/TextStream.h>
#include <wtf/MathExtras.h>
typedef D2D_MATRIX_3X2_F D2D1_MATRIX_3X2_F;
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class FloatPoint;
class IntPoint;
class IntSize;
class IntRect;
-class TextStream;
class TransformationMatrix;
class AffineTransform {
WEBCORE_EXPORT AffineTransform makeMapBetweenRects(const FloatRect& source, const FloatRect& dest);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const AffineTransform&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const AffineTransform&);
}
return *this;
}
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
IdentityTransformOperation()
: TransformOperation(IDENTITY)
#include "config.h"
#include "Matrix3DTransformOperation.h"
-#include "TextStream.h"
#include <algorithm>
+#include <wtf/text/TextStream.h>
namespace WebCore {
Ref<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
Matrix3DTransformOperation(const TransformationMatrix& mat)
: TransformOperation(MATRIX_3D)
#include "config.h"
#include "MatrixTransformOperation.h"
-#include "TextStream.h"
#include <algorithm>
+#include <wtf/text/TextStream.h>
namespace WebCore {
Ref<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
MatrixTransformOperation(double a, double b, double c, double d, double e, double f)
: TransformOperation(MATRIX)
#include "PerspectiveTransformOperation.h"
#include "AnimationUtilities.h"
-#include "TextStream.h"
#include <wtf/MathExtras.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
Ref<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
PerspectiveTransformOperation(const Length& p)
: TransformOperation(PERSPECTIVE)
#include "RotateTransformOperation.h"
#include "AnimationUtilities.h"
-#include "TextStream.h"
#include <algorithm>
#include <wtf/MathExtras.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
Ref<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
RotateTransformOperation(double x, double y, double z, double angle, OperationType type)
: TransformOperation(type)
#include "ScaleTransformOperation.h"
#include "AnimationUtilities.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
Ref<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
ScaleTransformOperation(double sx, double sy, double sz, OperationType type)
: TransformOperation(type)
#include "SkewTransformOperation.h"
#include "AnimationUtilities.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
Ref<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
SkewTransformOperation(double angleX, double angleY, OperationType type)
: TransformOperation(type)
#include "TransformOperation.h"
#include "IdentityTransformOperation.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
return type() == TRANSLATE_X || type() == TRANSLATE_Y || type() == TRANSLATE_Z || type() == TRANSLATE || type() == TRANSLATE_3D;
}
- virtual void dump(TextStream&) const = 0;
+ virtual void dump(WTF::TextStream&) const = 0;
private:
OperationType m_type;
};
-TextStream& operator<<(TextStream&, TransformOperation::OperationType);
-TextStream& operator<<(TextStream&, const TransformOperation&);
+WTF::TextStream& operator<<(WTF::TextStream&, TransformOperation::OperationType);
+WTF::TextStream& operator<<(WTF::TextStream&, const TransformOperation&);
} // namespace WebCore
#include "IdentityTransformOperation.h"
#include "Matrix3DTransformOperation.h"
-#include "TextStream.h"
#include <algorithm>
+#include <wtf/text/TextStream.h>
namespace WebCore {
Vector<RefPtr<TransformOperation>> m_operations;
};
-TextStream& operator<<(TextStream&, const TransformOperations&);
+WTF::TextStream& operator<<(WTF::TextStream&, const TransformOperations&);
} // namespace WebCore
#include "TransformationMatrix.h"
#include "AffineTransform.h"
-#include "FloatRect.h"
#include "FloatQuad.h"
+#include "FloatRect.h"
#include "IntRect.h"
#include "LayoutRect.h"
-#include "TextStream.h"
#include <cmath>
#include <wtf/Assertions.h>
#include <wtf/MathExtras.h>
+#include <wtf/text/TextStream.h>
#if CPU(X86_64)
#include <emmintrin.h>
typedef D2D_MATRIX_3X2_F D2D1_MATRIX_3X2_F;
#endif
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class AffineTransform;
class LayoutRect;
class FloatRect;
class FloatQuad;
-class TextStream;
#if CPU(X86_64)
#define TRANSFORMATION_MATRIX_USE_X86_64_SSE2
Matrix4 m_matrix;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const TransformationMatrix&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const TransformationMatrix&);
} // namespace WebCore
#include "TranslateTransformOperation.h"
#include "FloatConversion.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
Ref<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
TranslateTransformOperation(const Length& tx, const Length& ty, const Length& tz, OperationType type)
: TransformOperation(type)
#include "config.h"
#include "SelectionRect.h"
-#include "TextStream.h"
+
+#include <wtf/text/TextStream.h>
namespace WebCore {
if (rect.isHorizontal())
stream.dumpProperty("is horizontal", true);
-
+
if (rect.isInFixedPosition())
stream.dumpProperty("is in fixed position", true);
int m_pageNumber;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, SelectionRect);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, SelectionRect);
} // namespace WebCore
#include "ScrollableArea.h"
#include "ScrollbarTheme.h"
#include "ScrollbarThemeMac.h"
-#include "TextStream.h"
#include "WebCoreSystemInterface.h"
#include <wtf/BlockObjCExceptions.h>
+#include <wtf/text/TextStream.h>
using namespace WebCore;
#include "TextEncoding.cpp"
#include "TextEncodingDetectorICU.cpp"
#include "TextEncodingRegistry.cpp"
-#include "TextStream.cpp"
#include "RenderBlockFlow.h"
#include "RenderLineBreak.h"
#include "RootInlineBox.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#if ENABLE(TREE_DEBUGGING)
#include <stdio.h>
void showNodeTreeForThis() const;
void showLineTreeForThis() const;
- virtual void outputLineTreeAndMark(TextStream&, const InlineBox* markedBox, int depth) const;
- virtual void outputLineBox(TextStream&, bool mark, int depth) const;
+ virtual void outputLineTreeAndMark(WTF::TextStream&, const InlineBox* markedBox, int depth) const;
+ virtual void outputLineBox(WTF::TextStream&, bool mark, int depth) const;
virtual const char* boxName() const;
#endif
return "InlineFlowBox";
}
-void InlineFlowBox::outputLineTreeAndMark(TextStream& stream, const InlineBox* markedBox, int depth) const
+void InlineFlowBox::outputLineTreeAndMark(WTF::TextStream& stream, const InlineBox* markedBox, int depth) const
{
InlineBox::outputLineTreeAndMark(stream, markedBox, depth);
for (const InlineBox* box = firstChild(); box; box = box->nextOnLine())
#endif
#if ENABLE(TREE_DEBUGGING)
- void outputLineTreeAndMark(TextStream&, const InlineBox* markedBox, int depth) const override;
+ void outputLineTreeAndMark(WTF::TextStream&, const InlineBox* markedBox, int depth) const override;
const char* boxName() const override;
#endif
#include "InlineTextBoxStyle.h"
#include "Page.h"
#include "PaintInfo.h"
-#include "RenderedDocumentMarker.h"
#include "RenderBlock.h"
#include "RenderCombineText.h"
#include "RenderLineBreak.h"
#include "RenderRubyText.h"
#include "RenderTheme.h"
#include "RenderView.h"
+#include "RenderedDocumentMarker.h"
#include "Text.h"
#include "TextDecorationPainter.h"
#include "TextPaintStyle.h"
#include "TextPainter.h"
-#include "TextStream.h"
#include <stdio.h>
#include <wtf/text/CString.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
virtual void dirtyOwnLineBoxes() { dirtyLineBoxes(); }
#if ENABLE(TREE_DEBUGGING)
- void outputLineBox(TextStream&, bool mark, int depth) const final;
+ void outputLineBox(WTF::TextStream&, bool mark, int depth) const final;
const char* boxName() const final;
#endif
}
#if ENABLE(TREE_DEBUGGING)
-void RenderBlockFlow::outputLineTreeAndMark(TextStream& stream, const InlineBox* markedBox, int depth) const
+void RenderBlockFlow::outputLineTreeAndMark(WTF::TextStream& stream, const InlineBox* markedBox, int depth) const
{
for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRootBox())
root->outputLineTreeAndMark(stream, markedBox, depth);
void ensureLineBoxes();
#if ENABLE(TREE_DEBUGGING)
- void outputLineTreeAndMark(TextStream&, const InlineBox* markedBox, int depth) const;
+ void outputLineTreeAndMark(WTF::TextStream&, const InlineBox* markedBox, int depth) const;
#endif
// Returns the logicalOffset at the top of the next page. If the offset passed in is already at the top of the current page,
#include "HTMLFrameOwnerElement.h"
#include "HTMLIFrameElement.h"
#include "HTMLNames.h"
-#include "HitTestingTransformState.h"
#include "HitTestRequest.h"
#include "HitTestResult.h"
+#include "HitTestingTransformState.h"
#include "Logging.h"
#include "MainFrame.h"
#include "NoEventDispatchAssertion.h"
#include "SourceGraphic.h"
#include "StyleProperties.h"
#include "StyleResolver.h"
-#include "TextStream.h"
#include "TransformationMatrix.h"
#include "TranslateTransformOperation.h"
#include "WheelEventTestTrigger.h"
#include <stdio.h>
#include <wtf/StdLibExtras.h>
#include <wtf/text/CString.h>
+#include <wtf/text/TextStream.h>
#if ENABLE(CSS_SCROLL_SNAP)
#include "AxisScrollSnapOffsets.h"
#include "RenderLayerCompositor.h"
#include "CSSAnimationController.h"
-#include "CanvasRenderingContext.h"
#include "CSSPropertyNames.h"
+#include "CanvasRenderingContext.h"
#include "Chrome.h"
#include "ChromeClient.h"
#include "FlowThreadController.h"
#include "ScrollingConstraints.h"
#include "ScrollingCoordinator.h"
#include "Settings.h"
-#include "TextStream.h"
#include "TiledBacking.h"
#include "TransformState.h"
#include <wtf/CurrentTime.h>
#include <wtf/SetForScope.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringBuilder.h>
+#include <wtf/text/TextStream.h>
#if PLATFORM(IOS)
#include "LegacyTileCache.h"
#include "RenderLayerBacking.h"
#include "RenderMultiColumnFlowThread.h"
#include "RenderNamedFlowFragment.h"
-#include "RenderNamedFlowThread.h"
+#include "RenderNamedFlowThread.h"
#include "RenderRuby.h"
#include "RenderSVGBlock.h"
#include "RenderSVGInline.h"
#include "RenderWidget.h"
#include "SVGRenderSupport.h"
#include "StyleResolver.h"
-#include "TextStream.h"
#include "TransformState.h"
#include <algorithm>
#include <stdio.h>
#include <wtf/RefCountedLeakCounter.h>
+#include <wtf/text/TextStream.h>
#if PLATFORM(IOS)
#include "SelectionRect.h"
void showRenderTreeForThis() const;
void showLineTreeForThis() const;
- void outputRenderObject(TextStream&, bool mark, int depth) const;
- void outputRenderSubTreeAndMark(TextStream&, const RenderObject* markedObject, int depth) const;
- void outputRegionsInformation(TextStream&) const;
+ void outputRenderObject(WTF::TextStream&, bool mark, int depth) const;
+ void outputRenderSubTreeAndMark(WTF::TextStream&, const RenderObject* markedObject, int depth) const;
+ void outputRegionsInformation(WTF::TextStream&) const;
#endif
bool isPseudoElement() const { return node() && node()->isPseudoElement(); }
#include "ShadowRoot.h"
#include "SimpleLineLayoutResolver.h"
#include "StyleProperties.h"
-#include "TextStream.h"
#include <wtf/HexNumber.h>
#include <wtf/Vector.h>
+#include <wtf/text/TextStream.h>
#include <wtf/unicode/CharacterNames.h>
#if PLATFORM(MAC)
#include <wtf/Forward.h>
+namespace WTF {
+class TextStream;
+}
+
namespace WebCore {
class Element;
class Frame;
class RenderObject;
-class TextStream;
enum RenderAsTextBehaviorFlags {
RenderAsTextBehaviorNormal = 0,
// You don't need pageWidthInPixels if you don't specify RenderAsTextInPrintingMode.
WEBCORE_EXPORT String externalRepresentation(Frame*, RenderAsTextBehavior = RenderAsTextBehaviorNormal);
WEBCORE_EXPORT String externalRepresentation(Element*, RenderAsTextBehavior = RenderAsTextBehaviorNormal);
-void write(TextStream&, const RenderObject&, int indent = 0, RenderAsTextBehavior = RenderAsTextBehaviorNormal);
-void writeDebugInfo(TextStream&, const RenderObject&, RenderAsTextBehavior = RenderAsTextBehaviorNormal);
+void write(WTF::TextStream&, const RenderObject&, int indent = 0, RenderAsTextBehavior = RenderAsTextBehaviorNormal);
+void writeDebugInfo(WTF::TextStream&, const RenderObject&, RenderAsTextBehavior = RenderAsTextBehaviorNormal);
class RenderTreeAsText {
// FIXME: This is a cheesy hack to allow easy access to RenderStyle colors. It won't be needed if we convert
// it to use visitedDependentColor instead. (This just involves rebaselining many results though, so for now it's
// not being done).
public:
- static void writeRenderObject(TextStream&, const RenderObject&, RenderAsTextBehavior);
+ static void writeRenderObject(WTF::TextStream&, const RenderObject&, RenderAsTextBehavior);
};
// Helper function shared with SVGRenderTreeAsText
#include "ScrollAlignment.h"
#include "Logging.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#pragma once
-namespace WebCore {
-
+namespace WTF {
class TextStream;
+}
+
+namespace WebCore {
struct ScrollAlignment {
Behavior m_rectPartial;
};
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, ScrollAlignment::Behavior);
-WEBCORE_EXPORT TextStream& operator<<(TextStream&, const ScrollAlignment&);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, ScrollAlignment::Behavior);
+WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const ScrollAlignment&);
}; // namespace WebCore
#include "RenderView.h"
#include "Settings.h"
#include "SimpleLineLayout.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
namespace SimpleLineLayout {
#include "TextDecorationPainter.h"
#include "TextPaintStyle.h"
#include "TextPainter.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
#if ENABLE(TREE_DEBUGGING)
#include <stdio.h>
const RenderObject& rendererForPosition(const FlowContents&, unsigned);
#if ENABLE(TREE_DEBUGGING)
-void outputLineLayoutForFlow(TextStream&, const RenderBlockFlow&, const Layout&, int depth);
+void outputLineLayoutForFlow(WTF::TextStream&, const RenderBlockFlow&, const Layout&, int depth);
#endif
}
#include "config.h"
#include "FillLayer.h"
-#include "TextStream.h"
#include <wtf/PointerComparison.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
mutable unsigned m_clipMax : 2; // EFillBox, maximum m_clip value from this to bottom layer
};
-TextStream& operator<<(TextStream&, FillSize);
-TextStream& operator<<(TextStream&, const FillLayer&);
+WTF::TextStream& operator<<(WTF::TextStream&, FillSize);
+WTF::TextStream& operator<<(WTF::TextStream&, const FillLayer&);
} // namespace WebCore
#include "GraphicsContext.h"
#include "LengthFunctions.h"
#include "RenderStyle.h"
-#include "TextStream.h"
#include <wtf/NeverDestroyed.h>
#include <wtf/PointerComparison.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
DataRef<Data> m_data;
};
-TextStream& operator<<(TextStream&, const NinePieceImage&);
+WTF::TextStream& operator<<(WTF::TextStream&, const NinePieceImage&);
} // namespace WebCore
#include "config.h"
#include "RenderStyleConstants.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
#include <initializer_list>
-namespace WebCore {
-
+namespace WTF {
class TextStream;
+}
+
+namespace WebCore {
static const size_t PrintColorAdjustBits = 1;
enum PrintColorAdjust {
};
#endif
-TextStream& operator<<(TextStream&, EFillSizeType);
-TextStream& operator<<(TextStream&, EFillAttachment);
-TextStream& operator<<(TextStream&, EFillBox);
-TextStream& operator<<(TextStream&, EFillRepeat);
-TextStream& operator<<(TextStream&, EMaskSourceType);
-TextStream& operator<<(TextStream&, Edge);
+WTF::TextStream& operator<<(WTF::TextStream&, EFillSizeType);
+WTF::TextStream& operator<<(WTF::TextStream&, EFillAttachment);
+WTF::TextStream& operator<<(WTF::TextStream&, EFillBox);
+WTF::TextStream& operator<<(WTF::TextStream&, EFillRepeat);
+WTF::TextStream& operator<<(WTF::TextStream&, EMaskSourceType);
+WTF::TextStream& operator<<(WTF::TextStream&, Edge);
// These are all minimized combinations of paint-order.
enum class PaintOrder {
return ts;
}
+static TextStream& operator<<(TextStream& ts, const DashArray& a)
+{
+ ts << "{";
+ DashArray::const_iterator end = a.end();
+ for (DashArray::const_iterator it = a.begin(); it != end; ++it) {
+ if (it != a.begin())
+ ts << ", ";
+ ts << *it;
+ }
+ ts << "}";
+ return ts;
+}
+
template<typename ValueType>
static void writeNameValuePair(TextStream& ts, const char* name, ValueType value)
{
return ts;
}
-// FIXME: Maybe this should be in KCanvasRenderingStyle.cpp
-static TextStream& operator<<(TextStream& ts, const DashArray& a)
-{
- ts << "{";
- DashArray::const_iterator end = a.end();
- for (DashArray::const_iterator it = a.begin(); it != end; ++it) {
- if (it != a.begin())
- ts << ", ";
- ts << *it;
- }
- ts << "}";
- return ts;
-}
-
static TextStream& operator<<(TextStream& ts, const SVGSpreadMethodType& type)
{
ts << SVGPropertyTraits<SVGSpreadMethodType>::toString(type).convertToASCIIUppercase();
#pragma once
#include "RenderTreeAsText.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
class SVGUnitTypes;
// functions used by the main RenderTreeAsText code
-void write(TextStream&, const RenderSVGShape&, int indent, RenderAsTextBehavior);
-void write(TextStream&, const RenderSVGRoot&, int indent, RenderAsTextBehavior);
-void writeSVGGradientStop(TextStream&, const RenderSVGGradientStop&, int indent, RenderAsTextBehavior);
-void writeSVGResourceContainer(TextStream&, const RenderSVGResourceContainer&, int indent, RenderAsTextBehavior);
-void writeSVGContainer(TextStream&, const RenderSVGContainer&, int indent, RenderAsTextBehavior);
-void writeSVGImage(TextStream&, const RenderSVGImage&, int indent, RenderAsTextBehavior);
-void writeSVGInlineText(TextStream&, const RenderSVGInlineText&, int indent, RenderAsTextBehavior);
-void writeSVGText(TextStream&, const RenderSVGText&, int indent, RenderAsTextBehavior);
-void writeResources(TextStream&, const RenderObject&, int indent, RenderAsTextBehavior);
+void write(WTF::TextStream&, const RenderSVGShape&, int indent, RenderAsTextBehavior);
+void write(WTF::TextStream&, const RenderSVGRoot&, int indent, RenderAsTextBehavior);
+void writeSVGGradientStop(WTF::TextStream&, const RenderSVGGradientStop&, int indent, RenderAsTextBehavior);
+void writeSVGResourceContainer(WTF::TextStream&, const RenderSVGResourceContainer&, int indent, RenderAsTextBehavior);
+void writeSVGContainer(WTF::TextStream&, const RenderSVGContainer&, int indent, RenderAsTextBehavior);
+void writeSVGImage(WTF::TextStream&, const RenderSVGImage&, int indent, RenderAsTextBehavior);
+void writeSVGInlineText(WTF::TextStream&, const RenderSVGInlineText&, int indent, RenderAsTextBehavior);
+void writeSVGText(WTF::TextStream&, const RenderSVGText&, int indent, RenderAsTextBehavior);
+void writeResources(WTF::TextStream&, const RenderObject&, int indent, RenderAsTextBehavior);
// helper operators specific to dumping the render tree. these are used in various classes to dump the render tree
// these could be defined in separate namespace to avoid matching these generic signatures unintentionally.
template<typename Item>
-TextStream& operator<<(TextStream& ts, const Vector<Item*>& v)
+WTF::TextStream& operator<<(WTF::TextStream& ts, const Vector<Item*>& v)
{
ts << "[";
}
template<typename Pointer>
-TextStream& operator<<(TextStream& ts, Pointer* t)
+WTF::TextStream& operator<<(WTF::TextStream& ts, Pointer* t)
{
ts << reinterpret_cast<intptr_t>(t);
return ts;
#include "FloatConversion.h"
#include "SVGNames.h"
#include "SVGParserUtilities.h"
-#include "TextStream.h"
#include <wtf/MathExtras.h>
#include <wtf/NeverDestroyed.h>
#include <wtf/text/StringView.h>
+#include <wtf/text/TextStream.h>
namespace WebCore {
static String toString(const SVGLengthValue& type) { return type.valueAsString(); }
};
-TextStream& operator<<(TextStream&, const SVGLengthValue&);
+WTF::TextStream& operator<<(WTF::TextStream&, const SVGLengthValue&);
} // namespace WebCore
#include "SVGSVGElement.h"
#include "Settings.h"
#include "SocketProvider.h"
-#include "TextStream.h"
#include <runtime/JSCInlines.h>
#include <runtime/JSLock.h>
+#include <wtf/text/TextStream.h>
#if USE(DIRECT2D)
#include "COMPtr.h"
// FIXME: Implement this to be less conservative.
bool currentFrameKnownToBeOpaque() const final { return false; }
- void dump(TextStream&) const final;
+ void dump(WTF::TextStream&) const final;
SVGImage(ImageObserver&, const URL&);
ImageDrawResult draw(GraphicsContext&, const FloatRect& fromRect, const FloatRect& toRect, CompositeOperator, BlendMode, DecodingMode, ImageOrientationDescription) final;
#include "SVGElement.h"
#include "SVGRenderingContext.h"
#include "SVGURIReference.h"
-#include "TextStream.h"
+#include <wtf/text/TextStream.h>
namespace WebCore {
FilterEffectType filterEffectType() const final { return FilterEffectTypeImage; }
- TextStream& externalRepresentation(TextStream&, int indention) const final;
+ WTF::TextStream& externalRepresentation(WTF::TextStream&, int indention) const final;
private:
virtual ~FEImage() { }