Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 8548014: Get rid of last gpu_messages.h dependency in chrome by having chrome ask the GPUProcessHostUIShim... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698