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

Unified Diff: content/common/frame_messages.h

Issue 1832803002: Make EnableViewSourceMode a FrameMsg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 7ca795269dad87009865a43b8e8faac2bb3184dc..a6e85e806a021c5fbff22fa51f2a28e9b47bb451 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -879,6 +879,10 @@ IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,
std::set<url::Origin> /* origin_whitelist */)
#endif // defined(ENABLE_PLUGINS)
+// Used to instruct the RenderFrame to go into "view source" mode. This should
+// only be sent the main frame.
nasko 2016/03/24 13:55:23 nit: "sent to the main frame".
clamy 2016/03/24 14:01:36 Done.
+IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.

Powered by Google App Engine
This is Rietveld 408576698