| 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 // why a recent main frame load failed (currently, just DNS probe result). | 392 // why a recent main frame load failed (currently, just DNS probe result). |
| 393 // NetErrorHelper will receive this mesage and replace or update the error | 393 // NetErrorHelper will receive this mesage and replace or update the error |
| 394 // page with more specific troubleshooting suggestions. | 394 // page with more specific troubleshooting suggestions. |
| 395 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 395 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
| 396 int /* DNS probe status */) | 396 int /* DNS probe status */) |
| 397 | 397 |
| 398 //----------------------------------------------------------------------------- | 398 //----------------------------------------------------------------------------- |
| 399 // Misc messages | 399 // Misc messages |
| 400 // These are messages sent from the renderer to the browser process. | 400 // These are messages sent from the renderer to the browser process. |
| 401 | 401 |
| 402 // Provides the contents for the given page that was loaded recently. | |
| 403 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageContents, | |
| 404 GURL /* URL of the page */, | |
| 405 int32 /* page id */, | |
| 406 string16 /* page contents */) | |
| 407 | |
| 408 // Notification that the language for the tab has been determined. | 402 // Notification that the language for the tab has been determined. |
| 409 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 403 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
| 410 LanguageDetectionDetails /* details about lang detection */, | 404 LanguageDetectionDetails /* details about lang detection */, |
| 411 bool /* whether the page needs translation */) | 405 bool /* whether the page needs translation */) |
| 412 | 406 |
| 413 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 407 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
| 414 WebKit::WebCache::UsageStats /* stats */) | 408 WebKit::WebCache::UsageStats /* stats */) |
| 415 | 409 |
| 416 // Tells the browser that content in the current page was blocked due to the | 410 // Tells the browser that content in the current page was blocked due to the |
| 417 // user's content settings. | 411 // user's content settings. |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 | 680 |
| 687 // Tells InstantExtended to undo one most visited item deletion. | 681 // Tells InstantExtended to undo one most visited item deletion. |
| 688 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, | 682 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, |
| 689 int /* page_id */, | 683 int /* page_id */, |
| 690 GURL /* url */) | 684 GURL /* url */) |
| 691 | 685 |
| 692 // Tells InstantExtended whether the page supports voice search. | 686 // Tells InstantExtended whether the page supports voice search. |
| 693 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported, | 687 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported, |
| 694 int /* page_id */, | 688 int /* page_id */, |
| 695 bool /* supported */) | 689 bool /* supported */) |
| OLD | NEW |