summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_render_view_observer.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-29 10:57:33 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-29 10:57:33 +0000
commitefb5f5799f2c3aab8c3ddf3558320b7c3d587c99 (patch)
treeb705fe39bd9649a1153d26b6af1048108055e81f /content/shell/shell_render_view_observer.h
parent9d806e8602b9330d6a175787ea41b08278827c93 (diff)
downloadchromium_src-efb5f5799f2c3aab8c3ddf3558320b7c3d587c99.zip
chromium_src-efb5f5799f2c3aab8c3ddf3558320b7c3d587c99.tar.gz
chromium_src-efb5f5799f2c3aab8c3ddf3558320b7c3d587c99.tar.bz2
Add option --dump-render-tree to content_shell to dump the render tree as text.
BUG=111316 TEST=run out/Debug/content_shell --dump-render-tree file://$(pwd)/third_party/WebKit/LayoutTests/fast/html/section-element.html > section-element-actual.txt - should be the same as section-element-expected.txt Review URL: http://codereview.chromium.org/9289045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_render_view_observer.h')
-rw-r--r--content/shell/shell_render_view_observer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/shell/shell_render_view_observer.h b/content/shell/shell_render_view_observer.h
index c1d963f..ad5466b 100644
--- a/content/shell/shell_render_view_observer.h
+++ b/content/shell/shell_render_view_observer.h
@@ -21,6 +21,9 @@ class ShellRenderViewObserver : public RenderViewObserver {
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
private:
+ // Message handlers.
+ void OnCaptureTextDump(bool recursive);
+
DISALLOW_COPY_AND_ASSIGN(ShellRenderViewObserver);
};