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 <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 // Tells the frame it is displaying an interstitial page. | 378 // Tells the frame it is displaying an interstitial page. |
379 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) | 379 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) |
380 | 380 |
381 // Provides the renderer with the results of the browser's investigation into | 381 // Provides the renderer with the results of the browser's investigation into |
382 // why a recent main frame load failed (currently, just DNS probe result). | 382 // why a recent main frame load failed (currently, just DNS probe result). |
383 // NetErrorHelper will receive this mesage and replace or update the error | 383 // NetErrorHelper will receive this mesage and replace or update the error |
384 // page with more specific troubleshooting suggestions. | 384 // page with more specific troubleshooting suggestions. |
385 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 385 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
386 int /* DNS probe status */) | 386 int /* DNS probe status */) |
387 | 387 |
388 // Sets the alternate error page URL (Link Doctor) for the renderer process. | 388 // Provides the information needed by the renderer process to contact a |
389 // Handled by the NetErrorHelper. | 389 // navigation correction service. Handled by the NetErrorHelper. |
390 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAltErrorPageURL, GURL) | 390 IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, |
| 391 GURL /* Navigation correction service base URL */, |
| 392 std::string /* language */, |
| 393 std::string /* origin_country */, |
| 394 std::string /* API key to use */, |
| 395 GURL /* Google Search URL to use */) |
391 | 396 |
392 //----------------------------------------------------------------------------- | 397 //----------------------------------------------------------------------------- |
393 // Misc messages | 398 // Misc messages |
394 // These are messages sent from the renderer to the browser process. | 399 // These are messages sent from the renderer to the browser process. |
395 | 400 |
396 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 401 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
397 blink::WebCache::UsageStats /* stats */) | 402 blink::WebCache::UsageStats /* stats */) |
398 | 403 |
399 // Tells the browser that content in the current page was blocked due to the | 404 // Tells the browser that content in the current page was blocked due to the |
400 // user's content settings. | 405 // user's content settings. |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 // WebKit. | 710 // WebKit. |
706 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 711 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
707 base::string16 /* message */, | 712 base::string16 /* message */, |
708 base::string16 /* source */, | 713 base::string16 /* source */, |
709 extensions::StackTrace /* stack trace */, | 714 extensions::StackTrace /* stack trace */, |
710 int32 /* severity level */) | 715 int32 /* severity level */) |
711 | 716 |
712 // Sent by the renderer to check if crash reporting is enabled. | 717 // Sent by the renderer to check if crash reporting is enabled. |
713 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 718 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
714 bool /* enabled */) | 719 bool /* enabled */) |
OLD | NEW |