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 GURL /* Navigation correction service base URL */, | 334 GURL /* Navigation correction service base URL */, |
335 std::string /* language */, | 335 std::string /* language */, |
336 std::string /* origin_country */, | 336 std::string /* origin_country */, |
337 std::string /* API key to use */, | 337 std::string /* API key to use */, |
338 GURL /* Google Search URL to use */) | 338 GURL /* Google Search URL to use */) |
339 | 339 |
340 #if defined(OS_ANDROID) | 340 #if defined(OS_ANDROID) |
341 // Message sent from the renderer to the browser to schedule to download the | 341 // Message sent from the renderer to the browser to schedule to download the |
342 // page at a later time. | 342 // page at a later time. |
343 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DownloadPageLater) | 343 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DownloadPageLater) |
| 344 |
| 345 // Message sent from the renderer to the browser to indicate if download button |
| 346 // is being shown in error page. |
| 347 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SetIsShowingDownloadButtonInErrorPage, |
| 348 bool /* showing download button */) |
344 #endif // defined(OS_ANDROID) | 349 #endif // defined(OS_ANDROID) |
345 | 350 |
346 //----------------------------------------------------------------------------- | 351 //----------------------------------------------------------------------------- |
347 // Misc messages | 352 // Misc messages |
348 // These are messages sent from the renderer to the browser process. | 353 // These are messages sent from the renderer to the browser process. |
349 | 354 |
350 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_UpdatedCacheStats, | 355 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_UpdatedCacheStats, |
351 uint64_t /* capacity */, | 356 uint64_t /* capacity */, |
352 uint64_t /* size */) | 357 uint64_t /* size */) |
353 | 358 |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 // process so that they can be assigned to an Instant renderer. | 588 // process so that they can be assigned to an Instant renderer. |
584 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, | 589 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, |
585 std::vector<GURL> /* search_urls */, | 590 std::vector<GURL> /* search_urls */, |
586 GURL /* new_tab_page_url */) | 591 GURL /* new_tab_page_url */) |
587 | 592 |
588 #if BUILDFLAG(ENABLE_PLUGINS) | 593 #if BUILDFLAG(ENABLE_PLUGINS) |
589 // Sent by the renderer to check if crash reporting is enabled. | 594 // Sent by the renderer to check if crash reporting is enabled. |
590 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 595 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
591 bool /* enabled */) | 596 bool /* enabled */) |
592 #endif | 597 #endif |
OLD | NEW |