Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: chrome/common/render_messages.h

Issue 228803002: Revert 255617, due to it not tracking use of the link doctor page properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Minor header changes Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/renderer/net/net_error_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/renderer/net/net_error_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698