| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/string_piece.h" | |
| 6 #include "base/sys_string_conversions.h" | |
| 7 #include "chrome/common/gpu_create_command_buffer_config.h" | |
| 8 #include "chrome/common/gpu_info.h" | |
| 9 #include "chrome/common/dx_diag_node.h" | |
| 10 #include "ipc/ipc_channel_handle.h" | |
| 11 #include "ui/gfx/rect.h" | |
| 12 #include "ui/gfx/size.h" | |
| 13 | |
| 14 #define IPC_MESSAGE_IMPL | |
| 15 #include "chrome/common/gpu_messages.h" | 5 #include "chrome/common/gpu_messages.h" |
| 16 | 6 |
| 17 #if defined(OS_MACOSX) | 7 #if defined(OS_MACOSX) |
| 18 | 8 |
| 19 // Parameters for the GpuHostMsg_AcceleratedSurfaceSetIOSurface | 9 // Parameters for the GpuHostMsg_AcceleratedSurfaceSetIOSurface |
| 20 // message, which has too many parameters to be sent with the | 10 // message, which has too many parameters to be sent with the |
| 21 // predefined IPC macros. | 11 // predefined IPC macros. |
| 22 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params:: | 12 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params:: |
| 23 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params() | 13 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params() |
| 24 : renderer_id(0), | 14 : renderer_id(0), |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 } | 230 } |
| 241 return true; | 231 return true; |
| 242 } | 232 } |
| 243 | 233 |
| 244 void ParamTraits<GPUCreateCommandBufferConfig> ::Log( | 234 void ParamTraits<GPUCreateCommandBufferConfig> ::Log( |
| 245 const param_type& p, std::string* l) { | 235 const param_type& p, std::string* l) { |
| 246 l->append("<GPUCreateCommandBufferConfig>"); | 236 l->append("<GPUCreateCommandBufferConfig>"); |
| 247 } | 237 } |
| 248 | 238 |
| 249 } // namespace IPC | 239 } // namespace IPC |
| OLD | NEW |