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

Side by Side Diff: ui/gl/gl_surface_glx.h

Issue 692713002: Add a few missing overrides found by a new clang warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: novirt Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_GL_SURFACE_GLX_H_ 5 #ifndef UI_GL_GL_SURFACE_GLX_H_
6 #define UI_GL_GL_SURFACE_GLX_H_ 6 #define UI_GL_GL_SURFACE_GLX_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 21 matching lines...) Expand all
32 static bool HasGLXExtension(const char* name); 32 static bool HasGLXExtension(const char* name);
33 static bool IsCreateContextSupported(); 33 static bool IsCreateContextSupported();
34 static bool IsCreateContextRobustnessSupported(); 34 static bool IsCreateContextRobustnessSupported();
35 static bool IsTextureFromPixmapSupported(); 35 static bool IsTextureFromPixmapSupported();
36 static bool IsOMLSyncControlSupported(); 36 static bool IsOMLSyncControlSupported();
37 37
38 void* GetDisplay() override; 38 void* GetDisplay() override;
39 39
40 // Get the FB config that the surface was created with or NULL if it is not 40 // Get the FB config that the surface was created with or NULL if it is not
41 // a GLX drawable. 41 // a GLX drawable.
42 virtual void* GetConfig() = 0; 42 void* GetConfig() override = 0;
43 43
44 protected: 44 protected:
45 ~GLSurfaceGLX() override; 45 ~GLSurfaceGLX() override;
46 46
47 private: 47 private:
48 DISALLOW_COPY_AND_ASSIGN(GLSurfaceGLX); 48 DISALLOW_COPY_AND_ASSIGN(GLSurfaceGLX);
49 }; 49 };
50 50
51 // A surface used to render to a view. 51 // A surface used to render to a view.
52 class GL_EXPORT NativeViewGLSurfaceGLX : public GLSurfaceGLX, 52 class GL_EXPORT NativeViewGLSurfaceGLX : public GLSurfaceGLX,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 gfx::Size size_; 113 gfx::Size size_;
114 void* config_; 114 void* config_;
115 XID pbuffer_; 115 XID pbuffer_;
116 116
117 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceGLX); 117 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceGLX);
118 }; 118 };
119 119
120 } // namespace gfx 120 } // namespace gfx
121 121
122 #endif // UI_GL_GL_SURFACE_GLX_H_ 122 #endif // UI_GL_GL_SURFACE_GLX_H_
OLDNEW
« no previous file with comments | « ui/base/ime/remote_input_method_win_unittest.cc ('k') | ui/views/accessibility/native_view_accessibility_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698