| 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 "content/common/establish_channel_params.h" | 10 #include "content/common/establish_channel_params.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // Tells the GPU process to create a new gpu memory buffer. | 92 // Tells the GPU process to create a new gpu memory buffer. |
| 93 IPC_MESSAGE_CONTROL1(GpuMsg_CreateGpuMemoryBuffer, | 93 IPC_MESSAGE_CONTROL1(GpuMsg_CreateGpuMemoryBuffer, |
| 94 GpuMsg_CreateGpuMemoryBuffer_Params) | 94 GpuMsg_CreateGpuMemoryBuffer_Params) |
| 95 | 95 |
| 96 // Tells the GPU process to destroy buffer. | 96 // Tells the GPU process to destroy buffer. |
| 97 IPC_MESSAGE_CONTROL3(GpuMsg_DestroyGpuMemoryBuffer, | 97 IPC_MESSAGE_CONTROL3(GpuMsg_DestroyGpuMemoryBuffer, |
| 98 gfx::GpuMemoryBufferId, /* id */ | 98 gfx::GpuMemoryBufferId, /* id */ |
| 99 int32_t, /* client_id */ | 99 int32_t, /* client_id */ |
| 100 gpu::SyncToken /* sync_token */) | 100 gpu::SyncToken /* sync_token */) |
| 101 | 101 |
| 102 // Tells the GPU process to create a context for collecting graphics card | |
| 103 // information. | |
| 104 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) | |
| 105 | |
| 106 // Tells the GPU process that the browser has seen a GPU switch. | 102 // Tells the GPU process that the browser has seen a GPU switch. |
| 107 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) | 103 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) |
| 108 | 104 |
| 109 //------------------------------------------------------------------------------ | 105 //------------------------------------------------------------------------------ |
| 110 // GPU Host Messages | 106 // GPU Host Messages |
| 111 // These are messages to the browser. | 107 // These are messages to the browser. |
| 112 | 108 |
| 113 // Response from GPU to a GputMsg_Initialize message. | 109 // Response from GPU to a GputMsg_Initialize message. |
| 114 IPC_MESSAGE_CONTROL3(GpuHostMsg_Initialized, | 110 IPC_MESSAGE_CONTROL3(GpuHostMsg_Initialized, |
| 115 bool /* result */, | 111 bool /* result */, |
| 116 ::gpu::GPUInfo /* gpu_info */, | 112 ::gpu::GPUInfo /* gpu_info */, |
| 117 ::gpu::GpuFeatureInfo /* gpu_feature_info */) | 113 ::gpu::GpuFeatureInfo /* gpu_feature_info */) |
| 118 | 114 |
| 119 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message. | 115 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message. |
| 120 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated, | 116 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated, |
| 121 gfx::GpuMemoryBufferHandle /* handle */) | 117 gfx::GpuMemoryBufferHandle /* handle */) |
| 122 | 118 |
| 123 // Response from GPU to a GpuMsg_CollectGraphicsInfo. | |
| 124 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, | |
| 125 gpu::GPUInfo /* GPU logging stats */) | |
| 126 | |
| 127 // Message from GPU to add a GPU log message to the about:gpu page. | 119 // Message from GPU to add a GPU log message to the about:gpu page. |
| 128 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 120 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
| 129 int /*severity*/, | 121 int /*severity*/, |
| 130 std::string /* header */, | 122 std::string /* header */, |
| 131 std::string /* message */) | 123 std::string /* message */) |
| 132 | 124 |
| 133 // Sent by the GPU process to indicate that a fields trial has been activated. | 125 // Sent by the GPU process to indicate that a fields trial has been activated. |
| 134 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) | 126 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) |
| OLD | NEW |