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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 // why a recent main frame load failed (currently, just DNS probe result). | 454 // why a recent main frame load failed (currently, just DNS probe result). |
455 // NetErrorHelper will receive this mesage and replace or update the error | 455 // NetErrorHelper will receive this mesage and replace or update the error |
456 // page with more specific troubleshooting suggestions. | 456 // page with more specific troubleshooting suggestions. |
457 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 457 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
458 int /* DNS probe result */) | 458 int /* DNS probe result */) |
459 | 459 |
460 //----------------------------------------------------------------------------- | 460 //----------------------------------------------------------------------------- |
461 // Misc messages | 461 // Misc messages |
462 // These are messages sent from the renderer to the browser process. | 462 // These are messages sent from the renderer to the browser process. |
463 | 463 |
464 // Provides the contents for the given page that was loaded recently. | |
465 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageContents, | |
466 GURL /* URL of the page */, | |
467 int32 /* page id */, | |
468 string16 /* page contents */) | |
469 | |
470 // Notification that the language for the tab has been determined. | 464 // Notification that the language for the tab has been determined. |
471 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 465 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
472 LanguageDetectionDetails /* details about lang detection */, | 466 LanguageDetectionDetails /* details about lang detection */, |
473 bool /* whether the page needs translation */) | 467 bool /* whether the page needs translation */) |
474 | 468 |
475 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 469 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
476 WebKit::WebCache::UsageStats /* stats */) | 470 WebKit::WebCache::UsageStats /* stats */) |
477 | 471 |
478 // Tells the browser that content in the current page was blocked due to the | 472 // Tells the browser that content in the current page was blocked due to the |
479 // user's content settings. | 473 // user's content settings. |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 // previous SetCookie message to be processed. | 729 // previous SetCookie message to be processed. |
736 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 730 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
737 GURL /* url */, | 731 GURL /* url */, |
738 GURL /* first_party_for_cookies */, | 732 GURL /* first_party_for_cookies */, |
739 std::string /* cookies */) | 733 std::string /* cookies */) |
740 | 734 |
741 // Provide the browser process with current renderer framerate. | 735 // Provide the browser process with current renderer framerate. |
742 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 736 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
743 int /* routing id */, | 737 int /* routing id */, |
744 float /* frames per second */) | 738 float /* frames per second */) |
OLD | NEW |