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

Unified Diff: content/common/view_messages.h

Issue 7044095: Hooking MHTML generation to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fixes Created 9 years, 6 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 2554b2843cbd94a893d1d673340fa2052001a62d..762b93046644444a972a2b3392a3e15ec8932976 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1195,6 +1195,11 @@ IPC_MESSAGE_ROUTED0(ViewMsg_GetFPS)
// Used to instruct the RenderView to go into "view source" mode.
IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode)
+// Instructs the renderer to save the current page to MHTML.
+IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML,
+ int /* job_id */,
+ IPC::PlatformFileForTransit /* file handle */)
+
// Messages sent from the renderer to the browser.
// Sent by the renderer when it is creating a new window. The browser creates
@@ -1963,3 +1968,7 @@ IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS,
int /* routing id */,
float /* frames per second */)
+// Notifies the browser that the page was or was not saved as MHTML.
+IPC_MESSAGE_ROUTED2(ViewHostMsg_SavedPageAsMHTML,
+ int /* job_id*/,
+ bool /* success */)

Powered by Google App Engine
This is Rietveld 408576698