| 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 // why a recent main frame load failed (currently, just DNS probe result). | 431 // why a recent main frame load failed (currently, just DNS probe result). |
| 432 // NetErrorHelper will receive this mesage and replace or update the error | 432 // NetErrorHelper will receive this mesage and replace or update the error |
| 433 // page with more specific troubleshooting suggestions. | 433 // page with more specific troubleshooting suggestions. |
| 434 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 434 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
| 435 int /* DNS probe status */) | 435 int /* DNS probe status */) |
| 436 | 436 |
| 437 //----------------------------------------------------------------------------- | 437 //----------------------------------------------------------------------------- |
| 438 // Misc messages | 438 // Misc messages |
| 439 // These are messages sent from the renderer to the browser process. | 439 // These are messages sent from the renderer to the browser process. |
| 440 | 440 |
| 441 // Provides the contents for the given page that was loaded recently. | |
| 442 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PageContents, | |
| 443 GURL /* URL of the page */, | |
| 444 string16 /* page contents */) | |
| 445 | |
| 446 // Notification that the language for the tab has been determined. | 441 // Notification that the language for the tab has been determined. |
| 447 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 442 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
| 448 LanguageDetectionDetails /* details about lang detection */, | 443 LanguageDetectionDetails /* details about lang detection */, |
| 449 bool /* whether the page needs translation */) | 444 bool /* whether the page needs translation */) |
| 450 | 445 |
| 451 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 446 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
| 452 blink::WebCache::UsageStats /* stats */) | 447 blink::WebCache::UsageStats /* stats */) |
| 453 | 448 |
| 454 // Tells the browser that content in the current page was blocked due to the | 449 // Tells the browser that content in the current page was blocked due to the |
| 455 // user's content settings. | 450 // user's content settings. |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 std::vector<GURL> /* search_urls */, | 773 std::vector<GURL> /* search_urls */, |
| 779 GURL /* new_tab_page_url */) | 774 GURL /* new_tab_page_url */) |
| 780 | 775 |
| 781 // Tells listeners that a detailed message was reported to the console by | 776 // Tells listeners that a detailed message was reported to the console by |
| 782 // WebKit. | 777 // WebKit. |
| 783 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 778 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
| 784 string16 /* message */, | 779 string16 /* message */, |
| 785 string16 /* source */, | 780 string16 /* source */, |
| 786 extensions::StackTrace /* stack trace */, | 781 extensions::StackTrace /* stack trace */, |
| 787 int32 /* severity level */) | 782 int32 /* severity level */) |
| OLD | NEW |