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

Unified Diff: chrome/renderer/render_widget.h

Issue 1136006: Calling OpenGL from the renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_widget.h
===================================================================
--- chrome/renderer/render_widget.h (revision 42644)
+++ chrome/renderer/render_widget.h (working copy)
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
#include "base/shared_memory.h"
-#include "chrome/renderer/gpu_channel_host.h"
#include "chrome/renderer/paint_aggregator.h"
#include "chrome/renderer/render_process.h"
#include "gfx/native_widget_types.h"
@@ -18,7 +17,6 @@
#include "gfx/rect.h"
#include "gfx/size.h"
#include "ipc/ipc_channel.h"
-#include "ipc/ipc_channel_handle.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/WebKit/WebKit/chromium/public/WebCompositionCommand.h"
@@ -107,15 +105,6 @@
// Close the underlying WebWidget.
virtual void Close();
- // Asynchronously establish a channel to the GPU plugin if not previously
- // established or if it has been lost (for example if the GPU plugin crashed).
- // Use GetGpuChannel() to determine when the channel is ready for use.
- void EstablishGpuChannel();
-
- // Get the GPU channel. Returns NULL if the channel is not established or
- // has been lost.
- GpuChannelHost* GetGpuChannel();
-
protected:
// Friend RefCounted so that the dtor can be non-public. Using this class
// without ref-counting is an error.
@@ -171,7 +160,6 @@
const string16& ime_string);
void OnMsgRepaint(const gfx::Size& size_to_paint);
void OnSetTextDirection(WebKit::WebTextDirection direction);
- void OnGpuChannelEstablished(const IPC::ChannelHandle& channel_handle);
// Override point to notify derived classes that a paint has happened.
// DidInitiatePaint happens when we've generated a new bitmap and sent it to
@@ -332,9 +320,6 @@
// Indicates if the next sequence of Char events should be suppressed or not.
bool suppress_next_char_events_;
- // The channel from the renderer process to the GPU process.
- scoped_refptr<GpuChannelHost> gpu_channel_;
-
DISALLOW_COPY_AND_ASSIGN(RenderWidget);
};
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698