| 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 // Provides the information needed by the renderer process to contact a | 446 // Sets the alternate error page URL (Link Doctor) for the renderer process. |
| 447 // navigation correction service. Handled by the NetErrorHelper. | 447 // Handled by the NetErrorHelper. |
| 448 IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, | 448 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAltErrorPageURL, GURL) |
| 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 */) | |
| 454 | 449 |
| 455 //----------------------------------------------------------------------------- | 450 //----------------------------------------------------------------------------- |
| 456 // Misc messages | 451 // Misc messages |
| 457 // These are messages sent from the renderer to the browser process. | 452 // These are messages sent from the renderer to the browser process. |
| 458 | 453 |
| 459 // Notification that the language for the tab has been determined. | 454 // Notification that the language for the tab has been determined. |
| 460 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 455 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
| 461 LanguageDetectionDetails /* details about lang detection */, | 456 LanguageDetectionDetails /* details about lang detection */, |
| 462 bool /* whether the page needs translation */) | 457 bool /* whether the page needs translation */) |
| 463 | 458 |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 std::vector<GURL> /* search_urls */, | 764 std::vector<GURL> /* search_urls */, |
| 770 GURL /* new_tab_page_url */) | 765 GURL /* new_tab_page_url */) |
| 771 | 766 |
| 772 // Tells listeners that a detailed message was reported to the console by | 767 // Tells listeners that a detailed message was reported to the console by |
| 773 // WebKit. | 768 // WebKit. |
| 774 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 769 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
| 775 base::string16 /* message */, | 770 base::string16 /* message */, |
| 776 base::string16 /* source */, | 771 base::string16 /* source */, |
| 777 extensions::StackTrace /* stack trace */, | 772 extensions::StackTrace /* stack trace */, |
| 778 int32 /* severity level */) | 773 int32 /* severity level */) |
| OLD | NEW |