| 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 // Tells the frame it is displaying an interstitial page. | 418 // Tells the frame it is displaying an interstitial page. |
| 419 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) | 419 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) |
| 420 | 420 |
| 421 // Provides the renderer with the results of the browser's investigation into | 421 // Provides the renderer with the results of the browser's investigation into |
| 422 // why a recent main frame load failed (currently, just DNS probe result). | 422 // why a recent main frame load failed (currently, just DNS probe result). |
| 423 // NetErrorHelper will receive this mesage and replace or update the error | 423 // NetErrorHelper will receive this mesage and replace or update the error |
| 424 // page with more specific troubleshooting suggestions. | 424 // page with more specific troubleshooting suggestions. |
| 425 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 425 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
| 426 int /* DNS probe status */) | 426 int /* DNS probe status */) |
| 427 | 427 |
| 428 // Provides the information needed by the renderer process to contact a | 428 // Sets the alternate error page URL (Link Doctor) for the renderer process. |
| 429 // navigation correction service. Handled by the NetErrorHelper. | 429 // Handled by the NetErrorHelper. |
| 430 IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, | 430 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAltErrorPageURL, GURL) |
| 431 GURL /* Navigation correction service base URL */, | |
| 432 std::string /* language */, | |
| 433 std::string /* origin_country */, | |
| 434 std::string /* API key to use */, | |
| 435 GURL /* Google Search URL to use */) | |
| 436 | 431 |
| 437 //----------------------------------------------------------------------------- | 432 //----------------------------------------------------------------------------- |
| 438 // Misc messages | 433 // Misc messages |
| 439 // These are messages sent from the renderer to the browser process. | 434 // These are messages sent from the renderer to the browser process. |
| 440 | 435 |
| 441 // Notification that the language for the tab has been determined. | 436 // Notification that the language for the tab has been determined. |
| 442 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 437 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
| 443 LanguageDetectionDetails /* details about lang detection */, | 438 LanguageDetectionDetails /* details about lang detection */, |
| 444 bool /* whether the page needs translation */) | 439 bool /* whether the page needs translation */) |
| 445 | 440 |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 bool /* enabled */) | 766 bool /* enabled */) |
| 772 | 767 |
| 773 #if defined(CLD2_DYNAMIC_MODE) | 768 #if defined(CLD2_DYNAMIC_MODE) |
| 774 // Informs the browser process that Compact Language Detector (CLD) data is | 769 // Informs the browser process that Compact Language Detector (CLD) data is |
| 775 // required by the originating renderer. The browser process should respond | 770 // required by the originating renderer. The browser process should respond |
| 776 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it | 771 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it |
| 777 // should go unanswered (the renderer will ask again later). | 772 // should go unanswered (the renderer will ask again later). |
| 778 // See also: ChromeViewMsg_CLDDataAvailable | 773 // See also: ChromeViewMsg_CLDDataAvailable |
| 779 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData) | 774 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData) |
| 780 #endif | 775 #endif |
| OLD | NEW |