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

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: fix shared 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
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.h ('k') | content/common/gpu/gpu_process_launch_causes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.h ('k') | content/common/gpu/gpu_process_launch_causes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698