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

Unified Diff: ui/gfx/gl/gl_surface_win.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_wgl.cc ('k') | ui/gfx/native_widget_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_surface_win.cc
diff --git a/ui/gfx/gl/gl_surface_win.cc b/ui/gfx/gl/gl_surface_win.cc
index 4df75a90ebf77f2854cdb6e65a76ef77ecf455e7..73f074d80685d0d1d2e6f7786c31baf444480770 100644
--- a/ui/gfx/gl/gl_surface_win.cc
+++ b/ui/gfx/gl/gl_surface_win.cc
@@ -20,7 +20,7 @@ namespace gfx {
// view.
class NativeViewGLSurfaceOSMesa : public GLSurfaceOSMesa {
public:
- explicit NativeViewGLSurfaceOSMesa(gfx::PluginWindowHandle window);
+ explicit NativeViewGLSurfaceOSMesa(gfx::AcceleratedWidget window);
virtual ~NativeViewGLSurfaceOSMesa();
// Implement subset of GLSurface.
@@ -32,7 +32,7 @@ class NativeViewGLSurfaceOSMesa : public GLSurfaceOSMesa {
virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE;
private:
- gfx::PluginWindowHandle window_;
+ gfx::AcceleratedWidget window_;
HDC device_context_;
DISALLOW_COPY_AND_ASSIGN(NativeViewGLSurfaceOSMesa);
@@ -59,7 +59,7 @@ bool GLSurface::InitializeOneOffInternal() {
}
NativeViewGLSurfaceOSMesa::NativeViewGLSurfaceOSMesa(
- gfx::PluginWindowHandle window)
+ gfx::AcceleratedWidget window)
: GLSurfaceOSMesa(OSMESA_RGBA, gfx::Size(1, 1)),
window_(window),
device_context_(NULL) {
@@ -173,7 +173,7 @@ bool NativeViewGLSurfaceOSMesa::PostSubBuffer(
scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
bool software,
- gfx::PluginWindowHandle window) {
+ gfx::AcceleratedWidget window) {
switch (GetGLImplementation()) {
case kGLImplementationOSMesaGL: {
scoped_refptr<GLSurface> surface(
« no previous file with comments | « ui/gfx/gl/gl_surface_wgl.cc ('k') | ui/gfx/native_widget_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698