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

Unified Diff: content/browser/renderer_host/gpu_message_filter.h

Issue 8887001: Remove custom Task implementations and re-exorcise old callbacks from gpu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: base::IgnoreResult instead of base::IgnoreReturn Created 9 years 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/renderer_host/gpu_message_filter.h
diff --git a/content/browser/renderer_host/gpu_message_filter.h b/content/browser/renderer_host/gpu_message_filter.h
index ccc7dbb15eae6ecf32ed611dc52eb7c278260818..a1ff2a7aa9b7d636b8b661fa3ce537961727c893 100644
--- a/content/browser/renderer_host/gpu_message_filter.h
+++ b/content/browser/renderer_host/gpu_message_filter.h
@@ -15,6 +15,10 @@ class GpuProcessHost;
struct GPUCreateCommandBufferConfig;
class RenderWidgetHelper;
+namespace content {
+struct GPUInfo;
+} // namespace content
+
// A message filter for messages from the renderer to the GpuProcessHost(UIShim)
// in the browser. Such messages are typically destined for the GPU process,
// but need to be mediated by the browser.
@@ -40,6 +44,12 @@ class GpuMessageFilter : public BrowserMessageFilter,
int32 render_view_id,
const GPUCreateCommandBufferConfig& init_params,
IPC::Message* reply);
+ // Helper callbacks for the message handlers.
+ void EstablishChannelCallback(IPC::Message* reply,
+ const IPC::ChannelHandle& channel,
+ base::ProcessHandle gpu_process_for_browser,
+ const content::GPUInfo& gpu_info);
+ void CreateCommandBufferCallback(IPC::Message* reply, int32 route_id);
int gpu_host_id_;
int render_process_id_;
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/renderer_host/gpu_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698