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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 149 |
150 // Tells the GPU process to remove all contexts. | 150 // Tells the GPU process to remove all contexts. |
151 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) | 151 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) |
152 | 152 |
153 // Tells the GPU process to crash. | 153 // Tells the GPU process to crash. |
154 IPC_MESSAGE_CONTROL0(GpuMsg_Crash) | 154 IPC_MESSAGE_CONTROL0(GpuMsg_Crash) |
155 | 155 |
156 // Tells the GPU process to hang. | 156 // Tells the GPU process to hang. |
157 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) | 157 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) |
158 | 158 |
| 159 #if defined(OS_ANDROID) |
| 160 // Tells the GPU process to throw a java exception |
| 161 IPC_MESSAGE_CONTROL0(GpuMsg_JavaCrash) |
| 162 #endif |
| 163 |
159 // Tells the GPU process that the browser has seen a GPU switch. | 164 // Tells the GPU process that the browser has seen a GPU switch. |
160 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) | 165 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) |
161 | 166 |
162 //------------------------------------------------------------------------------ | 167 //------------------------------------------------------------------------------ |
163 // GPU Host Messages | 168 // GPU Host Messages |
164 // These are messages to the browser. | 169 // These are messages to the browser. |
165 | 170 |
166 // Response from GPU to a GputMsg_Initialize message. | 171 // Response from GPU to a GputMsg_Initialize message. |
167 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, | 172 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, |
168 bool /* result */, | 173 bool /* result */, |
(...skipping 25 matching lines...) Expand all Loading... |
194 #endif | 199 #endif |
195 | 200 |
196 // Message from GPU to add a GPU log message to the about:gpu page. | 201 // Message from GPU to add a GPU log message to the about:gpu page. |
197 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 202 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
198 int /*severity*/, | 203 int /*severity*/, |
199 std::string /* header */, | 204 std::string /* header */, |
200 std::string /* message */) | 205 std::string /* message */) |
201 | 206 |
202 // Sent by the GPU process to indicate that a fields trial has been activated. | 207 // Sent by the GPU process to indicate that a fields trial has been activated. |
203 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) | 208 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) |
OLD | NEW |