| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 gpu::kCollectInfoFatalFailure) | 80 gpu::kCollectInfoFatalFailure) |
| 81 IPC_ENUM_TRAITS_MIN_MAX_VALUE(gpu::VideoCodecProfile, | 81 IPC_ENUM_TRAITS_MIN_MAX_VALUE(gpu::VideoCodecProfile, |
| 82 gpu::VIDEO_CODEC_PROFILE_MIN, | 82 gpu::VIDEO_CODEC_PROFILE_MIN, |
| 83 gpu::VIDEO_CODEC_PROFILE_MAX) | 83 gpu::VIDEO_CODEC_PROFILE_MAX) |
| 84 | 84 |
| 85 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 85 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
| 86 IPC_STRUCT_MEMBER(int32_t, share_group_id) | 86 IPC_STRUCT_MEMBER(int32_t, share_group_id) |
| 87 IPC_STRUCT_MEMBER(int32_t, stream_id) | 87 IPC_STRUCT_MEMBER(int32_t, stream_id) |
| 88 IPC_STRUCT_MEMBER(content::GpuStreamPriority, stream_priority) | 88 IPC_STRUCT_MEMBER(content::GpuStreamPriority, stream_priority) |
| 89 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 89 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
| 90 IPC_STRUCT_MEMBER(GURL, active_url) | 90 IPC_STRUCT_MEMBER(std::string, active_url) |
| 91 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 91 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
| 92 IPC_STRUCT_END() | 92 IPC_STRUCT_END() |
| 93 | 93 |
| 94 IPC_STRUCT_BEGIN(GpuMsg_EstablishChannel_Params) | 94 IPC_STRUCT_BEGIN(GpuMsg_EstablishChannel_Params) |
| 95 IPC_STRUCT_MEMBER(int, client_id) | 95 IPC_STRUCT_MEMBER(int, client_id) |
| 96 IPC_STRUCT_MEMBER(uint64_t, client_tracing_id) | 96 IPC_STRUCT_MEMBER(uint64_t, client_tracing_id) |
| 97 IPC_STRUCT_MEMBER(bool, preempts) | 97 IPC_STRUCT_MEMBER(bool, preempts) |
| 98 IPC_STRUCT_MEMBER(bool, allow_view_command_buffers) | 98 IPC_STRUCT_MEMBER(bool, allow_view_command_buffers) |
| 99 IPC_STRUCT_MEMBER(bool, allow_real_time_streams) | 99 IPC_STRUCT_MEMBER(bool, allow_real_time_streams) |
| 100 IPC_STRUCT_END() | 100 IPC_STRUCT_END() |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 462 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
| 463 #endif | 463 #endif |
| 464 | 464 |
| 465 #if defined(OS_WIN) | 465 #if defined(OS_WIN) |
| 466 IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceCreatedChildWindow, | 466 IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceCreatedChildWindow, |
| 467 gfx::PluginWindowHandle /* parent_window */, | 467 gfx::PluginWindowHandle /* parent_window */, |
| 468 gfx::PluginWindowHandle /* child_window */) | 468 gfx::PluginWindowHandle /* child_window */) |
| 469 #endif | 469 #endif |
| 470 | 470 |
| 471 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidCreateOffscreenContext, | 471 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidCreateOffscreenContext, |
| 472 GURL /* url */) | 472 std::string /* url */) |
| 473 | 473 |
| 474 IPC_MESSAGE_CONTROL3(GpuHostMsg_DidLoseContext, | 474 IPC_MESSAGE_CONTROL3(GpuHostMsg_DidLoseContext, |
| 475 bool /* offscreen */, | 475 bool /* offscreen */, |
| 476 gpu::error::ContextLostReason /* reason */, | 476 gpu::error::ContextLostReason /* reason */, |
| 477 GURL /* url */) | 477 std::string /* url */) |
| 478 | 478 |
| 479 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, | 479 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, |
| 480 GURL /* url */) | 480 std::string /* url */) |
| 481 | 481 |
| 482 // Tells the browser about GPU memory usage statistics for UMA logging. | 482 // Tells the browser about GPU memory usage statistics for UMA logging. |
| 483 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, | 483 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, |
| 484 content::GPUMemoryUmaStats /* GPU memory UMA stats */) | 484 content::GPUMemoryUmaStats /* GPU memory UMA stats */) |
| 485 | 485 |
| 486 // Tells the browser that a context has subscribed to a new target and | 486 // Tells the browser that a context has subscribed to a new target and |
| 487 // the browser should start sending the corresponding information | 487 // the browser should start sending the corresponding information |
| 488 IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription, | 488 IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription, |
| 489 int32_t /* client_id */, | 489 int32_t /* client_id */, |
| 490 unsigned int /* target */) | 490 unsigned int /* target */) |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 823 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 824 | 824 |
| 825 //------------------------------------------------------------------------------ | 825 //------------------------------------------------------------------------------ |
| 826 // Accelerated JPEG Decoder Host Messages | 826 // Accelerated JPEG Decoder Host Messages |
| 827 // These messages are sent from the GPU process to Browser process. | 827 // These messages are sent from the GPU process to Browser process. |
| 828 // | 828 // |
| 829 // Report decode status. | 829 // Report decode status. |
| 830 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 830 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 831 int32_t, /* bitstream_buffer_id */ | 831 int32_t, /* bitstream_buffer_id */ |
| 832 media::JpegDecodeAccelerator::Error /* error */) | 832 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |