summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/public/web/web_frame_content_dumper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/public/web/web_frame_content_dumper.h')
-rw-r--r--chromium/third_party/blink/public/web/web_frame_content_dumper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/third_party/blink/public/web/web_frame_content_dumper.h b/chromium/third_party/blink/public/web/web_frame_content_dumper.h
index acfb0bcd9cf..34d81f6f625 100644
--- a/chromium/third_party/blink/public/web/web_frame_content_dumper.h
+++ b/chromium/third_party/blink/public/web/web_frame_content_dumper.h
@@ -35,6 +35,10 @@ class WebString;
// memory and CPU during a text capture.
class WebFrameContentDumper {
public:
+ // Returns HTML text for the contents of this frame, generated
+ // from the DOM.
+ BLINK_EXPORT static WebString DumpAsMarkup(WebLocalFrame* frame);
+
// Returns the contents of this frame's local subtree as a string. If the
// text is longer than |max_chars|, it will be clipped to that length.
BLINK_EXPORT static WebString DumpFrameTreeAsText(WebLocalFrame* frame,