From efb5f5799f2c3aab8c3ddf3558320b7c3d587c99 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Sun, 29 Jan 2012 10:57:33 +0000 Subject: 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 --- content/shell/shell_render_view_observer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'content/shell/shell_render_view_observer.h') 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); }; -- cgit v1.1