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 <map> | 6 #include <map> |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 // Tells the frame it is displaying an interstitial page. | 436 // Tells the frame it is displaying an interstitial page. |
437 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) | 437 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) |
438 | 438 |
439 // Provides the renderer with the results of the browser's investigation into | 439 // Provides the renderer with the results of the browser's investigation into |
440 // why a recent main frame load failed (currently, just DNS probe result). | 440 // why a recent main frame load failed (currently, just DNS probe result). |
441 // NetErrorHelper will receive this mesage and replace or update the error | 441 // NetErrorHelper will receive this mesage and replace or update the error |
442 // page with more specific troubleshooting suggestions. | 442 // page with more specific troubleshooting suggestions. |
443 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 443 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
444 int /* DNS probe status */) | 444 int /* DNS probe status */) |
445 | 445 |
446 // Sets the alternate error page URL (Link Doctor) for the renderer process. | 446 // Provides the information needed by the renderer process to contact a |
447 // Handled by the NetErrorHelper. | 447 // navigation correction service. Handled by the NetErrorHelper. |
448 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAltErrorPageURL, GURL) | 448 IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, |
| 449 GURL /* Navigation correction service base URL */, |
| 450 std::string /* language */, |
| 451 std::string /* origin_country */, |
| 452 std::string /* API key to use */, |
| 453 GURL /* Google Search URL to use */) |
449 | 454 |
450 //----------------------------------------------------------------------------- | 455 //----------------------------------------------------------------------------- |
451 // Misc messages | 456 // Misc messages |
452 // These are messages sent from the renderer to the browser process. | 457 // These are messages sent from the renderer to the browser process. |
453 | 458 |
454 // Notification that the language for the tab has been determined. | 459 // Notification that the language for the tab has been determined. |
455 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 460 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
456 LanguageDetectionDetails /* details about lang detection */, | 461 LanguageDetectionDetails /* details about lang detection */, |
457 bool /* whether the page needs translation */) | 462 bool /* whether the page needs translation */) |
458 | 463 |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 std::vector<GURL> /* search_urls */, | 769 std::vector<GURL> /* search_urls */, |
765 GURL /* new_tab_page_url */) | 770 GURL /* new_tab_page_url */) |
766 | 771 |
767 // Tells listeners that a detailed message was reported to the console by | 772 // Tells listeners that a detailed message was reported to the console by |
768 // WebKit. | 773 // WebKit. |
769 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 774 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
770 base::string16 /* message */, | 775 base::string16 /* message */, |
771 base::string16 /* source */, | 776 base::string16 /* source */, |
772 extensions::StackTrace /* stack trace */, | 777 extensions::StackTrace /* stack trace */, |
773 int32 /* severity level */) | 778 int32 /* severity level */) |
OLD | NEW |