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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 // why a recent main frame load failed (currently, just DNS probe result). | 380 // why a recent main frame load failed (currently, just DNS probe result). |
381 // NetErrorHelper will receive this mesage and replace or update the error | 381 // NetErrorHelper will receive this mesage and replace or update the error |
382 // page with more specific troubleshooting suggestions. | 382 // page with more specific troubleshooting suggestions. |
383 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 383 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
384 int /* DNS probe result */) | 384 int /* DNS probe result */) |
385 | 385 |
386 //----------------------------------------------------------------------------- | 386 //----------------------------------------------------------------------------- |
387 // Misc messages | 387 // Misc messages |
388 // These are messages sent from the renderer to the browser process. | 388 // These are messages sent from the renderer to the browser process. |
389 | 389 |
390 // Provides the contents for the given page that was loaded recently. | |
391 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageContents, | |
392 GURL /* URL of the page */, | |
393 int32 /* page id */, | |
394 string16 /* page contents */) | |
395 | |
396 // Notification that the language for the tab has been determined. | 390 // Notification that the language for the tab has been determined. |
397 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 391 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
398 LanguageDetectionDetails /* details about lang detection */, | 392 LanguageDetectionDetails /* details about lang detection */, |
399 bool /* whether the page needs translation */) | 393 bool /* whether the page needs translation */) |
400 | 394 |
401 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 395 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
402 WebKit::WebCache::UsageStats /* stats */) | 396 WebKit::WebCache::UsageStats /* stats */) |
403 | 397 |
404 // Tells the browser that content in the current page was blocked due to the | 398 // Tells the browser that content in the current page was blocked due to the |
405 // user's content settings. | 399 // user's content settings. |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 | 659 |
666 // Tells InstantExtended to undo one most visited item deletion. | 660 // Tells InstantExtended to undo one most visited item deletion. |
667 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, | 661 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, |
668 int /* page_id */, | 662 int /* page_id */, |
669 GURL /* url */) | 663 GURL /* url */) |
670 | 664 |
671 // Tells InstantExtended whether the page supports voice search. | 665 // Tells InstantExtended whether the page supports voice search. |
672 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported, | 666 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported, |
673 int /* page_id */, | 667 int /* page_id */, |
674 bool /* supported */) | 668 bool /* supported */) |
OLD | NEW |