Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 144430ad4ca7bd3ca4dd61a337b5d324ab872433..b55de6e49b60a22c57c32811136d63aa9f9f252f 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -884,6 +884,10 @@ IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, |
gfx::Size /* size */, |
std::vector<unsigned char> /* png */) |
+// Sends an Async IPC request to webview for complete content of a |
jamesr
2014/07/18 06:05:04
nit: the fact that this is an async IPC and that i
sarka
2014/07/19 06:28:36
Done.
|
+// web page as plain text. |
+IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) |
+ |
#if defined(OS_MACOSX) |
IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay) |
@@ -1671,6 +1675,9 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, |
// Instructs the browser to start plugin IME. |
IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
+// Receives content of a web page as plain text. |
+IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); |
+ |
#elif defined(OS_WIN) |
// Request that the given font characters be loaded by the browser so it's |
// cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |