diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-29 10:57:33 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-29 10:57:33 +0000 |
commit | efb5f5799f2c3aab8c3ddf3558320b7c3d587c99 (patch) | |
tree | b705fe39bd9649a1153d26b6af1048108055e81f /content/shell/shell_render_view_observer.h | |
parent | 9d806e8602b9330d6a175787ea41b08278827c93 (diff) | |
download | chromium_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.h | 3 |
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); }; |