Chromium Code Reviews| Index: content/common/gpu/gpu_messages.h |
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
| index a9c84a4e5399f25a1269693ad8ea3e5c88575cd0..679bc6e662a140a88668090e8ee167d44c0a908f 100644 |
| --- a/content/common/gpu/gpu_messages.h |
| +++ b/content/common/gpu/gpu_messages.h |
| @@ -678,12 +678,15 @@ IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
| // Accelerated Video Decoder Messages |
| // These messages are sent from Renderer process to GPU process. |
| +// Set a CDM on the decoder to handle encrypted buffers. |
| +IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetCdm, |
| + int32) /* CDM ID */ |
|
dcheng
2015/11/13 19:54:52
Nit: let's use int32_t for this and the IPC messag
xhwang
2015/11/13 20:06:22
Done.
|
| + |
| // Send input buffer for decoding. |
| IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Decode, |
| AcceleratedVideoDecoderMsg_Decode_Params) |
| -// Sent from Renderer process to the GPU process to give the texture IDs for |
| -// the textures the decoder will use for output. |
| +// Give the texture IDs for the textures the decoder will use for output. |
| IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderMsg_AssignPictureBuffers, |
| std::vector<int32>, /* Picture buffer ID */ |
| std::vector<uint32>) /* Texture ID */ |
| @@ -708,6 +711,10 @@ IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy) |
| // Inform AcceleratedVideoDecoderHost that AcceleratedVideoDecoder has been |
| // created. |
| +// Notify the CDM setting result. |
| +IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_CdmAttached, |
| + bool) /* success */ |
| + |
| // Accelerated video decoder has consumed input buffer from transfer buffer. |
| IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, |
| int32) /* Processed buffer ID */ |