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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 IPC_STRUCT_END() | 44 IPC_STRUCT_END() |
45 | 45 |
46 #undef IPC_MESSAGE_EXPORT | 46 #undef IPC_MESSAGE_EXPORT |
47 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 47 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
48 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 48 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
49 IPC_STRUCT_MEMBER(int32, surface_id) | 49 IPC_STRUCT_MEMBER(int32, surface_id) |
50 IPC_STRUCT_MEMBER(uint64, surface_handle) | 50 IPC_STRUCT_MEMBER(uint64, surface_handle) |
51 IPC_STRUCT_MEMBER(int32, route_id) | 51 IPC_STRUCT_MEMBER(int32, route_id) |
52 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 52 IPC_STRUCT_MEMBER(std::string, mailbox_name) |
53 IPC_STRUCT_MEMBER(gfx::Size, size) | 53 IPC_STRUCT_MEMBER(gfx::Size, size) |
| 54 IPC_STRUCT_MEMBER(float, scale_factor) |
54 IPC_STRUCT_MEMBER(cc::LatencyInfo, latency_info) | 55 IPC_STRUCT_MEMBER(cc::LatencyInfo, latency_info) |
55 IPC_STRUCT_END() | 56 IPC_STRUCT_END() |
56 #undef IPC_MESSAGE_EXPORT | 57 #undef IPC_MESSAGE_EXPORT |
57 #define IPC_MESSAGE_EXPORT | 58 #define IPC_MESSAGE_EXPORT |
58 | 59 |
59 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) | 60 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) |
60 IPC_STRUCT_MEMBER(int32, surface_id) | 61 IPC_STRUCT_MEMBER(int32, surface_id) |
61 IPC_STRUCT_MEMBER(uint64, surface_handle) | 62 IPC_STRUCT_MEMBER(uint64, surface_handle) |
62 IPC_STRUCT_MEMBER(int32, route_id) | 63 IPC_STRUCT_MEMBER(int32, route_id) |
63 IPC_STRUCT_MEMBER(int, x) | 64 IPC_STRUCT_MEMBER(int, x) |
64 IPC_STRUCT_MEMBER(int, y) | 65 IPC_STRUCT_MEMBER(int, y) |
65 IPC_STRUCT_MEMBER(int, width) | 66 IPC_STRUCT_MEMBER(int, width) |
66 IPC_STRUCT_MEMBER(int, height) | 67 IPC_STRUCT_MEMBER(int, height) |
67 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 68 IPC_STRUCT_MEMBER(std::string, mailbox_name) |
68 IPC_STRUCT_MEMBER(gfx::Size, surface_size) | 69 IPC_STRUCT_MEMBER(gfx::Size, surface_size) |
| 70 IPC_STRUCT_MEMBER(float, surface_scale_factor) |
69 IPC_STRUCT_MEMBER(cc::LatencyInfo, latency_info) | 71 IPC_STRUCT_MEMBER(cc::LatencyInfo, latency_info) |
70 IPC_STRUCT_END() | 72 IPC_STRUCT_END() |
71 | 73 |
72 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) | 74 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) |
73 IPC_STRUCT_MEMBER(int32, surface_id) | 75 IPC_STRUCT_MEMBER(int32, surface_id) |
74 IPC_STRUCT_MEMBER(int32, route_id) | 76 IPC_STRUCT_MEMBER(int32, route_id) |
75 IPC_STRUCT_END() | 77 IPC_STRUCT_END() |
76 | 78 |
77 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) | 79 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) |
78 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 80 IPC_STRUCT_MEMBER(std::string, mailbox_name) |
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 | 669 |
668 // Confirm decoder has been flushed. | 670 // Confirm decoder has been flushed. |
669 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 671 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
670 | 672 |
671 // Confirm decoder has been reset. | 673 // Confirm decoder has been reset. |
672 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 674 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
673 | 675 |
674 // Video decoder has encountered an error. | 676 // Video decoder has encountered an error. |
675 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 677 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
676 uint32) /* Error ID */ | 678 uint32) /* Error ID */ |
OLD | NEW |