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

Unified Diff: chrome/common/render_messages.h

Issue 2972123002: Click to Open PDF: Open PDF once View PDF is clicked. (Closed)
Patch Set: Change comment; return if URL is invalid Created 3 years, 5 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.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 625a4b3a9f4b84d418571580656469758535661f..367e901a64b8cc87539314c54263c38cc950bbbb 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -341,3 +341,8 @@ IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs,
IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
bool /* enabled */)
#endif
+
+// Tells the browser to open a PDF file in a new tab. Used when PPAPI PDF Viewer
+// plugin is disabled, no other PDF Viewer is available, and user clicks to view
+// PDF.
+IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_OpenPDF, GURL /* url */)

Powered by Google App Engine
This is Rietveld 408576698