Index: content/browser/gpu/gpu_process_host_ui_shim.cc |
=================================================================== |
--- content/browser/gpu/gpu_process_host_ui_shim.cc (revision 110530) |
+++ content/browser/gpu/gpu_process_host_ui_shim.cc (working copy) |
@@ -147,6 +147,18 @@ |
return OnControlMessageReceived(message); |
} |
+void GpuProcessHostUIShim::SimulateRemoveAllContext() { |
+ Send(new GpuMsg_Clean()); |
+} |
+ |
+void GpuProcessHostUIShim::SimulateCrash() { |
+ Send(new GpuMsg_Crash()); |
+} |
+ |
+void GpuProcessHostUIShim::SimulateHang() { |
+ Send(new GpuMsg_Hang()); |
+} |
+ |
#if defined(OS_MACOSX) || defined(UI_COMPOSITOR_IMAGE_TRANSPORT) |
void GpuProcessHostUIShim::SendToGpuHost(int host_id, IPC::Message* msg) { |