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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 // Tells the frame it is displaying an interstitial page. | 431 // Tells the frame it is displaying an interstitial page. |
432 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) | 432 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) |
433 | 433 |
434 // Provides the renderer with the results of the browser's investigation into | 434 // Provides the renderer with the results of the browser's investigation into |
435 // why a recent main frame load failed (currently, just DNS probe result). | 435 // why a recent main frame load failed (currently, just DNS probe result). |
436 // NetErrorHelper will receive this mesage and replace or update the error | 436 // NetErrorHelper will receive this mesage and replace or update the error |
437 // page with more specific troubleshooting suggestions. | 437 // page with more specific troubleshooting suggestions. |
438 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 438 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
439 int /* DNS probe status */) | 439 int /* DNS probe status */) |
440 | 440 |
441 // Sets the alternate error page URL (Link Doctor) for the renderer process. | 441 // Provides the information needed by the renderer process to contact the Link |
442 // Handled by the NetErrorHelper. | 442 // Doctor FixURL service. Handled by the NetErrorHelper. |
443 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAltErrorPageURL, GURL) | 443 IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetLinkDoctorInfo, |
| 444 GURL /* Link Doctor base URL */, |
| 445 std::string /* language */, |
| 446 std::string /* origin_country */, |
| 447 std::string /* API key to use */, |
| 448 GURL /* Google Search URL to use */) |
444 | 449 |
445 //----------------------------------------------------------------------------- | 450 //----------------------------------------------------------------------------- |
446 // Misc messages | 451 // Misc messages |
447 // These are messages sent from the renderer to the browser process. | 452 // These are messages sent from the renderer to the browser process. |
448 | 453 |
449 // Notification that the language for the tab has been determined. | 454 // Notification that the language for the tab has been determined. |
450 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 455 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
451 LanguageDetectionDetails /* details about lang detection */, | 456 LanguageDetectionDetails /* details about lang detection */, |
452 bool /* whether the page needs translation */) | 457 bool /* whether the page needs translation */) |
453 | 458 |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 std::vector<GURL> /* search_urls */, | 758 std::vector<GURL> /* search_urls */, |
754 GURL /* new_tab_page_url */) | 759 GURL /* new_tab_page_url */) |
755 | 760 |
756 // Tells listeners that a detailed message was reported to the console by | 761 // Tells listeners that a detailed message was reported to the console by |
757 // WebKit. | 762 // WebKit. |
758 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 763 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
759 base::string16 /* message */, | 764 base::string16 /* message */, |
760 base::string16 /* source */, | 765 base::string16 /* source */, |
761 extensions::StackTrace /* stack trace */, | 766 extensions::StackTrace /* stack trace */, |
762 int32 /* severity level */) | 767 int32 /* severity level */) |
OLD | NEW |