diff options
author | Ben Murdoch <benm@google.com> | 2010-05-11 18:35:50 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-05-14 10:23:05 +0100 |
commit | 21939df44de1705786c545cd1bf519d47250322d (patch) | |
tree | ef56c310f5c0cdc379c2abb2e212308a3281ce20 /WebCore/rendering/RenderTreeAsText.h | |
parent | 4ff1d8891d520763f17675827154340c7c740f90 (diff) | |
download | external_webkit-21939df44de1705786c545cd1bf519d47250322d.zip external_webkit-21939df44de1705786c545cd1bf519d47250322d.tar.gz external_webkit-21939df44de1705786c545cd1bf519d47250322d.tar.bz2 |
Merge Webkit at r58956: Initial merge by Git.
Change-Id: I1d9fb60ea2c3f2ddc04c17a871acdb39353be228
Diffstat (limited to 'WebCore/rendering/RenderTreeAsText.h')
-rw-r--r-- | WebCore/rendering/RenderTreeAsText.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/rendering/RenderTreeAsText.h b/WebCore/rendering/RenderTreeAsText.h index 4da0bab..1427342 100644 --- a/WebCore/rendering/RenderTreeAsText.h +++ b/WebCore/rendering/RenderTreeAsText.h @@ -39,10 +39,12 @@ enum RenderAsTextBehaviorFlags { RenderAsTextShowAllLayers = 1 << 0, // Dump all layers, not just those that would paint. RenderAsTextShowLayerNesting = 1 << 1, // Annotate the layer lists. RenderAsTextShowCompositedLayers = 1 << 2, // Show which layers are composited. - RenderAsTextShowAddresses = 1 << 3 // Show layer and renderer addresses. + RenderAsTextShowAddresses = 1 << 3, // Show layer and renderer addresses. + RenderAsTextPrintingMode = 1 << 4 // Dump the tree in printing mode. }; typedef unsigned RenderAsTextBehavior; +// You don't need pageWidthInPixels if you don't specify RenderAsTextInPrintingMode. String externalRepresentation(Frame*, RenderAsTextBehavior = RenderAsTextBehaviorNormal); void write(TextStream&, const RenderObject&, int indent = 0, RenderAsTextBehavior = RenderAsTextBehaviorNormal); |