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

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

Issue 7136001: GPU compositing surface handle is no longer sent to renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months 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
===================================================================
--- content/browser/renderer_host/gpu_message_filter.h (revision 90090)
+++ content/browser/renderer_host/gpu_message_filter.h (working copy)
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_
#pragma once
+#include "base/memory/ref_counted.h"
#include "content/browser/browser_message_filter.h"
#include "content/common/gpu/gpu_process_launch_causes.h"
#include "ui/gfx/native_widget_types.h"
@@ -14,6 +15,7 @@
class GpuProcessHostUIShim;
struct GPUCreateCommandBufferConfig;
struct GPUInfo;
+class RenderWidgetHelper;
namespace IPC {
struct ChannelHandle;
@@ -25,7 +27,8 @@
class GpuMessageFilter : public BrowserMessageFilter,
public base::SupportsWeakPtr<GpuMessageFilter> {
public:
- explicit GpuMessageFilter(int render_process_id);
+ GpuMessageFilter(int render_process_id,
+ RenderWidgetHelper* render_widget_helper);
// BrowserMessageFilter methods:
virtual bool OnMessageReceived(const IPC::Message& message,
@@ -41,7 +44,6 @@
void OnEstablishGpuChannel(content::CauseForGpuLaunch,
IPC::Message* reply);
void OnCreateViewCommandBuffer(
- gfx::PluginWindowHandle compositing_surface,
int32 render_view_id,
const GPUCreateCommandBufferConfig& init_params,
IPC::Message* reply);
@@ -49,6 +51,8 @@
int gpu_host_id_;
int render_process_id_;
+ scoped_refptr<RenderWidgetHelper> render_widget_helper_;
+
DISALLOW_COPY_AND_ASSIGN(GpuMessageFilter);
};
« no previous file with comments | « content/browser/renderer_host/browser_render_process_host.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