Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: content/shell/shell_messages.h

Issue 9289045: Add option --dump-render-tree to content_shell to dump the render tree as text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/shell_content_browser_client.cc ('k') | content/shell/shell_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_messages.h
diff --git a/content/shell/shell_messages.h b/content/shell/shell_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..5e3c74165b97d7963403a8f60147a7a79b8e8916
--- /dev/null
+++ b/content/shell/shell_messages.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Multiply-included file, no traditional include guard.
+#include <string>
+
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START ShellMsgStart
+
+// Tells the render view to capture a text dump of the page. The render view
+// responds with a ShellViewHostMsg_TextDump.
+IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureTextDump,
+ bool /* recursive */)
+
+// Send a text dump of the tab contents to the render host.
+IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump,
+ std::string /* dump */)
« no previous file with comments | « content/shell/shell_content_browser_client.cc ('k') | content/shell/shell_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698