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

Unified Diff: ui/gl/gl_surface_egl.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_share_group.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index 21669d74bb7f25fed815618c829620832494d650..a80843e420a543933f4e01cad2ff7b78a5837b8f 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -5,10 +5,6 @@
#ifndef UI_GL_GL_SURFACE_EGL_H_
#define UI_GL_GL_SURFACE_EGL_H_
-#if defined(OS_WIN)
-#include <windows.h>
-#endif
-
#include <string>
#include "base/compiler_specific.h"
@@ -48,11 +44,6 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface {
~GLSurfaceEGL() override;
private:
-#if defined(OS_WIN)
- friend struct DriverEGL;
- static EGLDisplay GetPlatformDisplay(EGLNativeDisplayType native_display);
-#endif
-
DISALLOW_COPY_AND_ASSIGN(GLSurfaceEGL);
};
@@ -96,15 +87,6 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
int swap_interval_;
-#if defined(OS_WIN)
- bool vsync_override_;
-
- unsigned int swap_generation_;
- static unsigned int current_swap_generation_;
- static unsigned int swaps_this_generation_;
- static unsigned int last_multiswap_generation_;
-#endif
-
DISALLOW_COPY_AND_ASSIGN(NativeViewGLSurfaceEGL);
};
« no previous file with comments | « ui/gl/gl_share_group.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698