OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include "base/memory/shared_memory_handle.h" | 7 #include "base/memory/shared_memory_handle.h" |
8 #include "cc/output/begin_frame_args.h" | 8 #include "cc/output/begin_frame_args.h" |
9 #include "cc/output/compositor_frame.h" | 9 #include "cc/output/compositor_frame.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // design doc https://goo.gl/Tn81FW and crbug.com/526842 for details. | 117 // design doc https://goo.gl/Tn81FW and crbug.com/526842 for details. |
118 | 118 |
119 IPC_SYNC_MESSAGE_CONTROL1_1( | 119 IPC_SYNC_MESSAGE_CONTROL1_1( |
120 SyncCompositorMsg_SynchronizeRendererState, | 120 SyncCompositorMsg_SynchronizeRendererState, |
121 std::vector<int> /* routing ids*/, | 121 std::vector<int> /* routing ids*/, |
122 std::vector<content::SyncCompositorCommonRendererParams>) | 122 std::vector<content::SyncCompositorCommonRendererParams>) |
123 | 123 |
124 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_ComputeScroll, | 124 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_ComputeScroll, |
125 base::TimeTicks); | 125 base::TimeTicks); |
126 | 126 |
| 127 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_DemandDrawHwAsync, |
| 128 content::SyncCompositorDemandDrawHwParams) |
| 129 |
127 IPC_SYNC_MESSAGE_ROUTED1_3(SyncCompositorMsg_DemandDrawHw, | 130 IPC_SYNC_MESSAGE_ROUTED1_3(SyncCompositorMsg_DemandDrawHw, |
128 content::SyncCompositorDemandDrawHwParams, | 131 content::SyncCompositorDemandDrawHwParams, |
129 content::SyncCompositorCommonRendererParams, | 132 content::SyncCompositorCommonRendererParams, |
130 uint32_t /* output_surface_id */, | 133 uint32_t /* output_surface_id */, |
131 cc::CompositorFrame) | 134 cc::CompositorFrame) |
132 | 135 |
133 IPC_SYNC_MESSAGE_ROUTED1_2(SyncCompositorMsg_SetSharedMemory, | 136 IPC_SYNC_MESSAGE_ROUTED1_2(SyncCompositorMsg_SetSharedMemory, |
134 content::SyncCompositorSetSharedMemoryParams, | 137 content::SyncCompositorSetSharedMemoryParams, |
135 bool /* success */, | 138 bool /* success */, |
136 content::SyncCompositorCommonRendererParams); | 139 content::SyncCompositorCommonRendererParams); |
(...skipping 20 matching lines...) Expand all Loading... |
157 | 160 |
158 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetScroll, gfx::ScrollOffset); | 161 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetScroll, gfx::ScrollOffset); |
159 | 162 |
160 // ----------------------------------------------------------------------------- | 163 // ----------------------------------------------------------------------------- |
161 // Messages sent from the renderer to the browser. | 164 // Messages sent from the renderer to the browser. |
162 | 165 |
163 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_OutputSurfaceCreated); | 166 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_OutputSurfaceCreated); |
164 | 167 |
165 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, | 168 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, |
166 content::SyncCompositorCommonRendererParams) | 169 content::SyncCompositorCommonRendererParams) |
| 170 |
| 171 IPC_MESSAGE_ROUTED2(SyncCompositorHostMsg_ReturnFrame, |
| 172 uint32_t /* output_surface_id */, |
| 173 cc::CompositorFrame); |
OLD | NEW |