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

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

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 | « chrome/browser/browser_about_handler.cc ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('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.h
===================================================================
--- content/browser/gpu/gpu_process_host_ui_shim.h (revision 110530)
+++ content/browser/gpu/gpu_process_host_ui_shim.h (working copy)
@@ -63,7 +63,7 @@
// Destroy all remaining GpuProcessHostUIShims.
CONTENT_EXPORT static void DestroyAll();
- static GpuProcessHostUIShim* FromID(int host_id);
+ CONTENT_EXPORT static GpuProcessHostUIShim* FromID(int host_id);
// IPC::Channel::Sender implementation.
virtual bool Send(IPC::Message* msg);
@@ -74,6 +74,10 @@
// actually received on the IO thread.
virtual bool OnMessageReceived(const IPC::Message& message);
+ CONTENT_EXPORT void SimulateRemoveAllContext();
+ CONTENT_EXPORT void SimulateCrash();
+ CONTENT_EXPORT void SimulateHang();
+
#if defined(OS_MACOSX) || defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
// TODO(apatrick): Remove this when mac does not use AcceleratedSurfaces for
// when running the GPU thread in the browser process.
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698