| 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 // why a recent main frame load failed (currently, just DNS probe result). | 459 // why a recent main frame load failed (currently, just DNS probe result). |
| 460 // NetErrorHelper will receive this mesage and replace or update the error | 460 // NetErrorHelper will receive this mesage and replace or update the error |
| 461 // page with more specific troubleshooting suggestions. | 461 // page with more specific troubleshooting suggestions. |
| 462 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 462 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
| 463 int /* DNS probe result */) | 463 int /* DNS probe result */) |
| 464 | 464 |
| 465 //----------------------------------------------------------------------------- | 465 //----------------------------------------------------------------------------- |
| 466 // Misc messages | 466 // Misc messages |
| 467 // These are messages sent from the renderer to the browser process. | 467 // These are messages sent from the renderer to the browser process. |
| 468 | 468 |
| 469 // Provides the contents for the given page that was loaded recently. | |
| 470 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageContents, | |
| 471 GURL /* URL of the page */, | |
| 472 int32 /* page id */, | |
| 473 string16 /* page contents */) | |
| 474 | |
| 475 // Notification that the language for the tab has been determined. | 469 // Notification that the language for the tab has been determined. |
| 476 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 470 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
| 477 LanguageDetectionDetails /* details about lang detection */, | 471 LanguageDetectionDetails /* details about lang detection */, |
| 478 bool /* whether the page needs translation */) | 472 bool /* whether the page needs translation */) |
| 479 | 473 |
| 480 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 474 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
| 481 WebKit::WebCache::UsageStats /* stats */) | 475 WebKit::WebCache::UsageStats /* stats */) |
| 482 | 476 |
| 483 // Tells the browser that content in the current page was blocked due to the | 477 // Tells the browser that content in the current page was blocked due to the |
| 484 // user's content settings. | 478 // user's content settings. |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 // previous SetCookie message to be processed. | 770 // previous SetCookie message to be processed. |
| 777 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 771 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 778 GURL /* url */, | 772 GURL /* url */, |
| 779 GURL /* first_party_for_cookies */, | 773 GURL /* first_party_for_cookies */, |
| 780 std::string /* cookies */) | 774 std::string /* cookies */) |
| 781 | 775 |
| 782 // Provide the browser process with current renderer framerate. | 776 // Provide the browser process with current renderer framerate. |
| 783 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 777 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 784 int /* routing id */, | 778 int /* routing id */, |
| 785 float /* frames per second */) | 779 float /* frames per second */) |
| OLD | NEW |