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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 // Tells the GPU process that the browser process has finished resizing the | 194 // Tells the GPU process that the browser process has finished resizing the |
195 // view. | 195 // view. |
196 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK) | 196 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK) |
197 | 197 |
198 // Tells the GPU process that it's safe to start rendering to the surface. | 198 // Tells the GPU process that it's safe to start rendering to the surface. |
199 IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_NewACK, | 199 IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_NewACK, |
200 uint64 /* surface_handle */, | 200 uint64 /* surface_handle */, |
201 TransportDIB::Handle /* shared memory buffer */) | 201 TransportDIB::Handle /* shared memory buffer */) |
202 | 202 |
| 203 // Tells the GPU process if it's worth suggesting release of the front surface. |
| 204 IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_SetFrontSurfaceIsProtected, |
| 205 bool /* is_protected */) |
| 206 |
203 // Tells the GPU process that the browser process handled the swap | 207 // Tells the GPU process that the browser process handled the swap |
204 // buffers request. | 208 // buffers request. |
205 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_BuffersSwappedACK) | 209 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_BuffersSwappedACK) |
206 | 210 |
207 // Tells the GPU process that the browser process handled the | 211 // Tells the GPU process that the browser process handled the |
208 // PostSubBuffer command. | 212 // PostSubBuffer command. |
209 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_PostSubBufferACK) | 213 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_PostSubBufferACK) |
210 | 214 |
211 // Tells the GPU process to remove all contexts. | 215 // Tells the GPU process to remove all contexts. |
212 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) | 216 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 | 525 |
522 // Confirm decoder has been flushed. | 526 // Confirm decoder has been flushed. |
523 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 527 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
524 | 528 |
525 // Confirm decoder has been reset. | 529 // Confirm decoder has been reset. |
526 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 530 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
527 | 531 |
528 // Video decoder has encountered an error. | 532 // Video decoder has encountered an error. |
529 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 533 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
530 uint32) /* Error ID */ | 534 uint32) /* Error ID */ |
OLD | NEW |