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