OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "public/web/WebFrameContentDumper.h" | 5 #include "public/web/WebFrameContentDumper.h" |
6 | 6 |
7 #include "core/editing/EphemeralRange.h" | 7 #include "core/editing/EphemeralRange.h" |
8 #include "core/editing/iterators/TextIterator.h" | 8 #include "core/editing/iterators/TextIterator.h" |
9 #include "core/editing/serializers/Serialization.h" | 9 #include "core/editing/serializers/Serialization.h" |
10 #include "core/frame/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 behavior |= kLayoutAsTextShowCompositedLayers | kLayoutAsTextShowAddresses | | 133 behavior |= kLayoutAsTextShowCompositedLayers | kLayoutAsTextShowAddresses | |
134 kLayoutAsTextShowIDAndClass | kLayoutAsTextShowLayerNesting; | 134 kLayoutAsTextShowIDAndClass | kLayoutAsTextShowLayerNesting; |
135 } | 135 } |
136 | 136 |
137 if (to_show & kLayoutAsTextPrinting) | 137 if (to_show & kLayoutAsTextPrinting) |
138 behavior |= kLayoutAsTextPrintingMode; | 138 behavior |= kLayoutAsTextPrintingMode; |
139 | 139 |
140 return ExternalRepresentation(ToWebLocalFrameBase(frame)->GetFrame(), | 140 return ExternalRepresentation(ToWebLocalFrameBase(frame)->GetFrame(), |
141 behavior); | 141 behavior); |
142 } | 142 } |
143 } | 143 } // namespace blink |
OLD | NEW |