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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
118 // design doc https://goo.gl/Tn81FW and crbug.com/526842 for details. | 118 // design doc https://goo.gl/Tn81FW and crbug.com/526842 for details. |
119 | 119 |
120 IPC_SYNC_MESSAGE_CONTROL1_1( | 120 IPC_SYNC_MESSAGE_CONTROL1_1( |
121 SyncCompositorMsg_SynchronizeRendererState, | 121 SyncCompositorMsg_SynchronizeRendererState, |
122 std::vector<int> /* routing ids*/, | 122 std::vector<int> /* routing ids*/, |
123 std::vector<content::SyncCompositorCommonRendererParams>) | 123 std::vector<content::SyncCompositorCommonRendererParams>) |
124 | 124 |
125 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_ComputeScroll, | 125 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_ComputeScroll, |
126 base::TimeTicks); | 126 base::TimeTicks); |
127 | 127 |
128 IPC_MESSAGE_ROUTED1(CompositorMsg_DemandDrawHw, | |
boliu
2016/08/11 19:23:40
Use the same naming pattern, so SyncCompositorMsg_
ojars
2016/08/23 02:15:42
Done.
| |
129 content::SyncCompositorDemandDrawHwParams) | |
130 | |
128 IPC_SYNC_MESSAGE_ROUTED1_3(SyncCompositorMsg_DemandDrawHw, | 131 IPC_SYNC_MESSAGE_ROUTED1_3(SyncCompositorMsg_DemandDrawHw, |
129 content::SyncCompositorDemandDrawHwParams, | 132 content::SyncCompositorDemandDrawHwParams, |
130 content::SyncCompositorCommonRendererParams, | 133 content::SyncCompositorCommonRendererParams, |
131 uint32_t /* output_surface_id */, | 134 uint32_t /* output_surface_id */, |
132 cc::CompositorFrame) | 135 cc::CompositorFrame) |
133 | 136 |
134 IPC_SYNC_MESSAGE_ROUTED1_2(SyncCompositorMsg_SetSharedMemory, | 137 IPC_SYNC_MESSAGE_ROUTED1_2(SyncCompositorMsg_SetSharedMemory, |
135 content::SyncCompositorSetSharedMemoryParams, | 138 content::SyncCompositorSetSharedMemoryParams, |
136 bool /* success */, | 139 bool /* success */, |
137 content::SyncCompositorCommonRendererParams); | 140 content::SyncCompositorCommonRendererParams); |
(...skipping 20 matching lines...) Expand all Loading... | |
158 | 161 |
159 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetScroll, gfx::ScrollOffset); | 162 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetScroll, gfx::ScrollOffset); |
160 | 163 |
161 // ----------------------------------------------------------------------------- | 164 // ----------------------------------------------------------------------------- |
162 // Messages sent from the renderer to the browser. | 165 // Messages sent from the renderer to the browser. |
163 | 166 |
164 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_OutputSurfaceCreated); | 167 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_OutputSurfaceCreated); |
165 | 168 |
166 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, | 169 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, |
167 content::SyncCompositorCommonRendererParams) | 170 content::SyncCompositorCommonRendererParams) |
171 | |
172 IPC_MESSAGE_ROUTED2(CompositorHostMsg_Frame, | |
boliu
2016/08/11 19:23:40
SyncCompositorHostMsg_ReturnFrame?
ojars
2016/08/23 02:15:42
Done.
| |
173 uint32_t /* output_surface_id */, | |
174 cc::CompositorFrame); | |
OLD | NEW |