| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "gpu/command_buffer/common/sync_token.h" | 10 #include "gpu/command_buffer/common/sync_token.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 int32_t, /* client_id */ | 45 int32_t, /* client_id */ |
| 46 gpu::SyncToken /* sync_token */) | 46 gpu::SyncToken /* sync_token */) |
| 47 | 47 |
| 48 // Tells the GPU process that the browser has seen a GPU switch. | 48 // Tells the GPU process that the browser has seen a GPU switch. |
| 49 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) | 49 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) |
| 50 | 50 |
| 51 //------------------------------------------------------------------------------ | 51 //------------------------------------------------------------------------------ |
| 52 // GPU Host Messages | 52 // GPU Host Messages |
| 53 // These are messages to the browser. | 53 // These are messages to the browser. |
| 54 | 54 |
| 55 // Response from GPU to a GputMsg_Initialize message. | |
| 56 IPC_MESSAGE_CONTROL3(GpuHostMsg_Initialized, | |
| 57 bool /* result */, | |
| 58 ::gpu::GPUInfo /* gpu_info */, | |
| 59 ::gpu::GpuFeatureInfo /* gpu_feature_info */) | |
| 60 | |
| 61 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message. | 55 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message. |
| 62 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated, | 56 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated, |
| 63 gfx::GpuMemoryBufferHandle /* handle */) | 57 gfx::GpuMemoryBufferHandle /* handle */) |
| 64 | 58 |
| 65 // Sent by the GPU process to indicate that a fields trial has been activated. | 59 // Sent by the GPU process to indicate that a fields trial has been activated. |
| 66 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) | 60 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) |
| OLD | NEW |