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

Side by Side Diff: chrome/common/render_messages.h

Issue 2972123002: Click to Open PDF: Open PDF once View PDF is clicked. (Closed)
Patch Set: comment 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 // process so that they can be assigned to an Instant renderer. 334 // process so that they can be assigned to an Instant renderer.
335 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, 335 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs,
336 std::vector<GURL> /* search_urls */, 336 std::vector<GURL> /* search_urls */,
337 GURL /* new_tab_page_url */) 337 GURL /* new_tab_page_url */)
338 338
339 #if BUILDFLAG(ENABLE_PLUGINS) 339 #if BUILDFLAG(ENABLE_PLUGINS)
340 // Sent by the renderer to check if crash reporting is enabled. 340 // Sent by the renderer to check if crash reporting is enabled.
341 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 341 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
342 bool /* enabled */) 342 bool /* enabled */)
343 #endif 343 #endif
344
345 // Tells the browser to open a PDF file in a new tab. Used when there is no PDF
Lei Zhang 2017/07/17 19:09:33 grammar: "there is no PDF Viewer available" or "no
346 // Viewer is available, and user clicks to view PDF.
347 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_OpenPDF, GURL /* url */)
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/renderer/plugins/pdf_plugin_placeholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698