Chromium Code Reviews| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 77 IPC_STRUCT_MEMBER(int32, surface_id) | 77 IPC_STRUCT_MEMBER(int32, surface_id) |
| 78 IPC_STRUCT_MEMBER(int32, route_id) | 78 IPC_STRUCT_MEMBER(int32, route_id) |
| 79 IPC_STRUCT_END() | 79 IPC_STRUCT_END() |
| 80 | 80 |
| 81 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) | 81 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) |
| 82 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 82 IPC_STRUCT_MEMBER(std::string, mailbox_name) |
| 83 IPC_STRUCT_MEMBER(uint32, sync_point) | 83 IPC_STRUCT_MEMBER(uint32, sync_point) |
| 84 #if defined(OS_MACOSX) | 84 #if defined(OS_MACOSX) |
| 85 IPC_STRUCT_MEMBER(int32, renderer_id) | 85 IPC_STRUCT_MEMBER(int32, renderer_id) |
| 86 #endif | 86 #endif |
| 87 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) | |
|
piman
2013/09/14 02:29:08
nit: put inside a #if defined(OS_WIN), since it's
| |
| 88 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) | |
| 87 IPC_STRUCT_END() | 89 IPC_STRUCT_END() |
| 88 | 90 |
| 89 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) | 91 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) |
| 90 IPC_STRUCT_MEMBER(int32, id) | 92 IPC_STRUCT_MEMBER(int32, id) |
| 91 IPC_STRUCT_MEMBER(std::string, message) | 93 IPC_STRUCT_MEMBER(std::string, message) |
| 92 IPC_STRUCT_END() | 94 IPC_STRUCT_END() |
| 93 | 95 |
| 94 #if defined(OS_ANDROID) | 96 #if defined(OS_ANDROID) |
| 95 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params) | 97 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params) |
| 96 IPC_STRUCT_MEMBER(float, m00) | 98 IPC_STRUCT_MEMBER(float, m00) |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 801 gfx::Size /* buffer_size */, | 803 gfx::Size /* buffer_size */, |
| 802 gfx::Rect /* visible_rect */) | 804 gfx::Rect /* visible_rect */) |
| 803 | 805 |
| 804 // Report successful copy of a capture of a surface. | 806 // Report successful copy of a capture of a surface. |
| 805 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, | 807 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, |
| 806 int32 /* frame_id */) | 808 int32 /* frame_id */) |
| 807 | 809 |
| 808 // Report error. | 810 // Report error. |
| 809 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, | 811 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, |
| 810 content::SurfaceCapturer::Error /* error */) | 812 content::SurfaceCapturer::Error /* error */) |
| OLD | NEW |