OLD | NEW |
---|---|
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 Loading... | |
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 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
| |
346 // disabled and user clicks to view PDF. | |
347 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_DownloadPDF, GURL /* url */) | |
OLD | NEW |