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 22 matching lines...) Expand all Loading... |
33 #include "ui/gl/gpu_preference.h" | 33 #include "ui/gl/gpu_preference.h" |
34 | 34 |
35 #if defined(OS_ANDROID) | 35 #if defined(OS_ANDROID) |
36 #include "content/common/android/surface_texture_peer.h" | 36 #include "content/common/android/surface_texture_peer.h" |
37 #endif | 37 #endif |
38 | 38 |
39 #define IPC_MESSAGE_START GpuMsgStart | 39 #define IPC_MESSAGE_START GpuMsgStart |
40 | 40 |
41 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 41 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
42 IPC_STRUCT_MEMBER(int32, share_group_id) | 42 IPC_STRUCT_MEMBER(int32, share_group_id) |
43 IPC_STRUCT_MEMBER(std::string, allowed_extensions) | |
44 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 43 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
45 IPC_STRUCT_MEMBER(GURL, active_url) | 44 IPC_STRUCT_MEMBER(GURL, active_url) |
46 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 45 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
47 IPC_STRUCT_END() | 46 IPC_STRUCT_END() |
48 | 47 |
49 #undef IPC_MESSAGE_EXPORT | 48 #undef IPC_MESSAGE_EXPORT |
50 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 49 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
51 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 50 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
52 IPC_STRUCT_MEMBER(int32, surface_id) | 51 IPC_STRUCT_MEMBER(int32, surface_id) |
53 IPC_STRUCT_MEMBER(uint64, surface_handle) | 52 IPC_STRUCT_MEMBER(uint64, surface_handle) |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 gfx::Size /* buffer_size */, | 801 gfx::Size /* buffer_size */, |
803 gfx::Rect /* visible_rect */) | 802 gfx::Rect /* visible_rect */) |
804 | 803 |
805 // Report successful copy of a capture of a surface. | 804 // Report successful copy of a capture of a surface. |
806 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, | 805 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, |
807 int32 /* frame_id */) | 806 int32 /* frame_id */) |
808 | 807 |
809 // Report error. | 808 // Report error. |
810 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, | 809 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, |
811 content::SurfaceCapturer::Error /* error */) | 810 content::SurfaceCapturer::Error /* error */) |
OLD | NEW |