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

Unified Diff: chrome/common/render_messages_internal.h

Issue 6410115: Adds navigator.registerProtocolHandler. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Sync'd, disallow non-same origin rph, adds hostname to the infobar. Created 9 years, 10 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: chrome/common/render_messages_internal.h
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index fc449b8a681ace7a02b3559e3cad37303f5ef016..4c7f23a36af97af4eeaeb72030e71959a1ddd6b1 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -2537,3 +2537,9 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
int /* cmd */,
int /* param */)
+
+// Register a new handler for URL requests with the given scheme.
+IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler,
+ std::string /* scheme */,
+ GURL /* url */,
+ string16 /* title */)

Powered by Google App Engine
This is Rietveld 408576698