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

Unified Diff: chrome/common/render_messages.h

Issue 2972123002: Click to Open PDF: Open PDF once View PDF is clicked. (Closed)
Patch Set: . 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
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/renderer/plugins/pdf_plugin_placeholder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 625a4b3a9f4b84d418571580656469758535661f..ae0ba941732cb45f4303b386d8fe298ea2f10aa3 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -341,3 +341,7 @@ 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 plugins are
Lei Zhang 2017/07/07 21:27:52 OK, so now this says to open a PDF in a new tab, b
amberwon 2017/07/07 21:52:22 Done. Chose to go with opening the PDF instead of
+// disabled and user clicks to view PDF.
+IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_DownloadPDF, GURL /* url */)
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/renderer/plugins/pdf_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698