| 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 278 |
| 279 // Tells the GPU process to crash. | 279 // Tells the GPU process to crash. |
| 280 IPC_MESSAGE_CONTROL0(GpuMsg_Crash) | 280 IPC_MESSAGE_CONTROL0(GpuMsg_Crash) |
| 281 | 281 |
| 282 // Tells the GPU process to hang. | 282 // Tells the GPU process to hang. |
| 283 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) | 283 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) |
| 284 | 284 |
| 285 // Tells the GPU process to disable the watchdog thread. | 285 // Tells the GPU process to disable the watchdog thread. |
| 286 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog) | 286 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog) |
| 287 | 287 |
| 288 // Tells the GPU process that a surface is being deleted. |
| 289 IPC_MESSAGE_CONTROL3(GpuMsg_DestroySurface, |
| 290 int, /* client_id */ |
| 291 int, /* route_id */ |
| 292 int /* surface_id */) |
| 293 |
| 288 //------------------------------------------------------------------------------ | 294 //------------------------------------------------------------------------------ |
| 289 // GPU Host Messages | 295 // GPU Host Messages |
| 290 // These are messages to the browser. | 296 // These are messages to the browser. |
| 291 | 297 |
| 292 // A renderer sends this when it wants to create a connection to the GPU | 298 // A renderer sends this when it wants to create a connection to the GPU |
| 293 // process. The browser will create the GPU process if necessary, and will | 299 // process. The browser will create the GPU process if necessary, and will |
| 294 // return a handle to the channel via a GpuChannelEstablished message. | 300 // return a handle to the channel via a GpuChannelEstablished message. |
| 295 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, | 301 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, |
| 296 content::CauseForGpuLaunch, | 302 content::CauseForGpuLaunch, |
| 297 int /* client id */, | 303 int /* client id */, |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 | 662 |
| 657 // Confirm decoder has been flushed. | 663 // Confirm decoder has been flushed. |
| 658 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 664 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 659 | 665 |
| 660 // Confirm decoder has been reset. | 666 // Confirm decoder has been reset. |
| 661 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 667 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 662 | 668 |
| 663 // Video decoder has encountered an error. | 669 // Video decoder has encountered an error. |
| 664 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 670 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 665 uint32) /* Error ID */ | 671 uint32) /* Error ID */ |
| OLD | NEW |