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

Unified Diff: ui/gfx/gl/gl_surface_linux.cc

Issue 9160012: Change PluginWindowHandle to AcceleratedWidget in ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops mac Created 8 years, 11 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 | « ui/gfx/gl/gl_surface_glx.cc ('k') | ui/gfx/gl/gl_surface_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_surface_linux.cc
diff --git a/ui/gfx/gl/gl_surface_linux.cc b/ui/gfx/gl/gl_surface_linux.cc
index a6771d97fb21df5357ed93ff60b1a0c7f96e1bd5..8273c7a74cb4175a1f4d410f418b51e947961e42 100644
--- a/ui/gfx/gl/gl_surface_linux.cc
+++ b/ui/gfx/gl/gl_surface_linux.cc
@@ -31,7 +31,7 @@ Display* g_osmesa_display;
// view.
class NativeViewGLSurfaceOSMesa : public GLSurfaceOSMesa {
public:
- explicit NativeViewGLSurfaceOSMesa(gfx::PluginWindowHandle window);
+ explicit NativeViewGLSurfaceOSMesa(gfx::AcceleratedWidget window);
virtual ~NativeViewGLSurfaceOSMesa();
static bool InitializeOneOff();
@@ -47,7 +47,7 @@ class NativeViewGLSurfaceOSMesa : public GLSurfaceOSMesa {
private:
GC window_graphics_context_;
- gfx::PluginWindowHandle window_;
+ gfx::AcceleratedWidget window_;
GC pixmap_graphics_context_;
Pixmap pixmap_;
@@ -88,7 +88,7 @@ bool GLSurface::InitializeOneOffInternal() {
#if !defined(USE_WAYLAND)
NativeViewGLSurfaceOSMesa::NativeViewGLSurfaceOSMesa(
- gfx::PluginWindowHandle window)
+ gfx::AcceleratedWidget window)
: GLSurfaceOSMesa(OSMESA_BGRA, gfx::Size(1, 1)),
window_graphics_context_(0),
window_(window),
@@ -276,7 +276,7 @@ bool NativeViewGLSurfaceOSMesa::PostSubBuffer(
scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
bool software,
- gfx::PluginWindowHandle window) {
+ gfx::AcceleratedWidget window) {
if (software)
return NULL;
« no previous file with comments | « ui/gfx/gl/gl_surface_glx.cc ('k') | ui/gfx/gl/gl_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698