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 message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 37 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
38 IPC_STRUCT_MEMBER(int32, share_group_id) | 38 IPC_STRUCT_MEMBER(int32, share_group_id) |
39 IPC_STRUCT_MEMBER(std::string, allowed_extensions) | 39 IPC_STRUCT_MEMBER(std::string, allowed_extensions) |
40 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 40 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
41 IPC_STRUCT_MEMBER(GURL, active_url) | 41 IPC_STRUCT_MEMBER(GURL, active_url) |
42 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 42 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
43 IPC_STRUCT_END() | 43 IPC_STRUCT_END() |
44 | 44 |
45 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceNew_Params) | 45 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceNew_Params) |
46 IPC_STRUCT_MEMBER(int32, surface_id) | 46 IPC_STRUCT_MEMBER(int32, surface_id) |
47 IPC_STRUCT_MEMBER(int32, width) | |
48 IPC_STRUCT_MEMBER(int32, height) | |
49 IPC_STRUCT_MEMBER(uint64, surface_handle) | 47 IPC_STRUCT_MEMBER(uint64, surface_handle) |
50 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 48 IPC_STRUCT_MEMBER(std::string, mailbox_name) |
51 IPC_STRUCT_MEMBER(int32, route_id) | 49 IPC_STRUCT_MEMBER(int32, route_id) |
52 #if defined(OS_MACOSX) | |
53 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) | |
54 IPC_STRUCT_MEMBER(bool, create_transport_dib) | |
55 #endif | |
56 IPC_STRUCT_END() | 50 IPC_STRUCT_END() |
57 | 51 |
58 #undef IPC_MESSAGE_EXPORT | 52 #undef IPC_MESSAGE_EXPORT |
59 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 53 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
60 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 54 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
61 IPC_STRUCT_MEMBER(int32, surface_id) | 55 IPC_STRUCT_MEMBER(int32, surface_id) |
62 IPC_STRUCT_MEMBER(uint64, surface_handle) | 56 IPC_STRUCT_MEMBER(uint64, surface_handle) |
63 IPC_STRUCT_MEMBER(int32, route_id) | 57 IPC_STRUCT_MEMBER(int32, route_id) |
64 IPC_STRUCT_MEMBER(gfx::Size, size) | 58 IPC_STRUCT_MEMBER(gfx::Size, size) |
65 #if defined(OS_MACOSX) | 59 #if defined(OS_MACOSX) |
(...skipping 13 matching lines...) Expand all Loading... |
79 IPC_STRUCT_MEMBER(int, height) | 73 IPC_STRUCT_MEMBER(int, height) |
80 IPC_STRUCT_MEMBER(gfx::Size, surface_size) | 74 IPC_STRUCT_MEMBER(gfx::Size, surface_size) |
81 #if defined(OS_MACOSX) | 75 #if defined(OS_MACOSX) |
82 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) | 76 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) |
83 #endif | 77 #endif |
84 IPC_STRUCT_END() | 78 IPC_STRUCT_END() |
85 | 79 |
86 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) | 80 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) |
87 IPC_STRUCT_MEMBER(int32, surface_id) | 81 IPC_STRUCT_MEMBER(int32, surface_id) |
88 IPC_STRUCT_MEMBER(int32, route_id) | 82 IPC_STRUCT_MEMBER(int32, route_id) |
89 #if defined(OS_MACOSX) | |
90 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) | |
91 #endif | |
92 IPC_STRUCT_END() | 83 IPC_STRUCT_END() |
93 | 84 |
94 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) | 85 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) |
95 IPC_STRUCT_MEMBER(int32, id) | 86 IPC_STRUCT_MEMBER(int32, id) |
96 IPC_STRUCT_MEMBER(std::string, message) | 87 IPC_STRUCT_MEMBER(std::string, message) |
97 IPC_STRUCT_END() | 88 IPC_STRUCT_END() |
98 | 89 |
99 #if defined(OS_ANDROID) | 90 #if defined(OS_ANDROID) |
100 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params) | 91 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params) |
101 IPC_STRUCT_MEMBER(float, m00) | 92 IPC_STRUCT_MEMBER(float, m00) |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 | 693 |
703 // Confirm decoder has been flushed. | 694 // Confirm decoder has been flushed. |
704 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 695 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
705 | 696 |
706 // Confirm decoder has been reset. | 697 // Confirm decoder has been reset. |
707 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 698 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
708 | 699 |
709 // Video decoder has encountered an error. | 700 // Video decoder has encountered an error. |
710 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 701 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
711 uint32) /* Error ID */ | 702 uint32) /* Error ID */ |
OLD | NEW |