OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 27 matching lines...) Expand all Loading... |
38 #endif | 38 #endif |
39 | 39 |
40 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes | 40 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes |
41 // more sense with our current design. | 41 // more sense with our current design. |
42 | 42 |
43 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need | 43 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need |
44 // to typedef it to avoid that. | 44 // to typedef it to avoid that. |
45 // Substitution map for l10n messages. | 45 // Substitution map for l10n messages. |
46 typedef std::map<std::string, std::string> SubstitutionMap; | 46 typedef std::map<std::string, std::string> SubstitutionMap; |
47 | 47 |
| 48 class GpuFeatureFlags; |
48 class GPUInfo; | 49 class GPUInfo; |
49 class SerializedScriptValue; | 50 class SerializedScriptValue; |
50 class SkBitmap; | 51 class SkBitmap; |
51 struct ThumbnailScore; | 52 struct ThumbnailScore; |
52 class WebCursor; | 53 class WebCursor; |
53 | 54 |
54 namespace gfx { | 55 namespace gfx { |
55 class Rect; | 56 class Rect; |
56 } | 57 } |
57 | 58 |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 std::string /* The target*/) | 636 std::string /* The target*/) |
636 | 637 |
637 // Sent to the renderer when a popup window should no longer count against | 638 // Sent to the renderer when a popup window should no longer count against |
638 // the current popup count (either because it's not a popup or because it was | 639 // the current popup count (either because it's not a popup or because it was |
639 // a generated by a user action or because a constrained popup got turned | 640 // a generated by a user action or because a constrained popup got turned |
640 // into a full window). | 641 // into a full window). |
641 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) | 642 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) |
642 | 643 |
643 // The browser sends this to a renderer process in response to a | 644 // The browser sends this to a renderer process in response to a |
644 // ViewHostMsg_EstablishGpuChannel message. | 645 // ViewHostMsg_EstablishGpuChannel message. |
645 IPC_MESSAGE_CONTROL2(ViewMsg_GpuChannelEstablished, | 646 IPC_MESSAGE_CONTROL3(ViewMsg_GpuChannelEstablished, |
646 IPC::ChannelHandle /* handle to channel */, | 647 IPC::ChannelHandle /* handle to channel */, |
647 GPUInfo /* stats about GPU process*/) | 648 GPUInfo /* stats about GPU process*/, |
| 649 GpuFeatureFlags /* flags to blacklist gpu features*/) |
648 | 650 |
649 // Notifies the renderer of the appcache that has been selected for a | 651 // Notifies the renderer of the appcache that has been selected for a |
650 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. | 652 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. |
651 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected, | 653 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected, |
652 int /* host_id */, | 654 int /* host_id */, |
653 appcache::AppCacheInfo) | 655 appcache::AppCacheInfo) |
654 | 656 |
655 // Notifies the renderer of an AppCache status change. | 657 // Notifies the renderer of an AppCache status change. |
656 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, | 658 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, |
657 std::vector<int> /* host_ids */, | 659 std::vector<int> /* host_ids */, |
(...skipping 2413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3071 base::PlatformFileInfo, /* info */ | 3073 base::PlatformFileInfo, /* info */ |
3072 base::PlatformFileError /* error_code */) | 3074 base::PlatformFileError /* error_code */) |
3073 | 3075 |
3074 // Get the directory's contents. | 3076 // Get the directory's contents. |
3075 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3077 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
3076 FilePath /* path */, | 3078 FilePath /* path */, |
3077 PepperDirContents, /* contents */ | 3079 PepperDirContents, /* contents */ |
3078 base::PlatformFileError /* error_code */) | 3080 base::PlatformFileError /* error_code */) |
3079 | 3081 |
3080 IPC_END_MESSAGES(ViewHost) | 3082 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |