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

Unified Diff: ui/gl/gl_wgl_api_implementation.h

Issue 1061733002: Remove windows/mac/ios specific code from //ui (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix default try set Created 5 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 | « ui/gl/gl_surface_win.cc ('k') | ui/gl/gl_wgl_api_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_wgl_api_implementation.h
diff --git a/ui/gl/gl_wgl_api_implementation.h b/ui/gl/gl_wgl_api_implementation.h
deleted file mode 100644
index dbef51ac955b4addac6d346f8b5f81c3dec20fc4..0000000000000000000000000000000000000000
--- a/ui/gl/gl_wgl_api_implementation.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_GL_GL_WGL_API_IMPLEMENTATION_H_
-#define UI_GL_GL_WGL_API_IMPLEMENTATION_H_
-
-#include "base/compiler_specific.h"
-#include "ui/gl/gl_bindings.h"
-#include "ui/gl/gl_export.h"
-
-namespace gfx {
-
-class GLContext;
-struct GLWindowSystemBindingInfo;
-
-void InitializeStaticGLBindingsWGL();
-void InitializeDebugGLBindingsWGL();
-void ClearGLBindingsWGL();
-bool GetGLWindowSystemBindingInfoWGL(GLWindowSystemBindingInfo* info);
-
-class GL_EXPORT WGLApiBase : public WGLApi {
- public:
- // Include the auto-generated part of this class. We split this because
- // it means we can easily edit the non-auto generated parts right here in
- // this file instead of having to edit some template or the code generator.
- #include "gl_bindings_api_autogen_wgl.h"
-
- protected:
- WGLApiBase();
- virtual ~WGLApiBase();
- void InitializeBase(DriverWGL* driver);
-
- DriverWGL* driver_;
-};
-
-class GL_EXPORT RealWGLApi : public WGLApiBase {
- public:
- RealWGLApi();
- virtual ~RealWGLApi();
- void Initialize(DriverWGL* driver);
-};
-
-// Inserts a TRACE for every WGL call.
-class GL_EXPORT TraceWGLApi : public WGLApi {
- public:
- TraceWGLApi(WGLApi* wgl_api) : wgl_api_(wgl_api) { }
- virtual ~TraceWGLApi();
-
- // Include the auto-generated part of this class. We split this because
- // it means we can easily edit the non-auto generated parts right here in
- // this file instead of having to edit some template or the code generator.
- #include "gl_bindings_api_autogen_wgl.h"
-
- private:
- WGLApi* wgl_api_;
-};
-
-} // namespace gfx
-
-#endif // UI_GL_GL_WGL_API_IMPLEMENTATION_H_
-
-
-
« no previous file with comments | « ui/gl/gl_surface_win.cc ('k') | ui/gl/gl_wgl_api_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698