| OLD | NEW |
| 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_CONTEXT_H_ | 5 #ifndef UI_GL_GL_CONTEXT_H_ |
| 6 #define UI_GL_GL_CONTEXT_H_ | 6 #define UI_GL_GL_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 DISALLOW_COPY_AND_ASSIGN(GLContext); | 181 DISALLOW_COPY_AND_ASSIGN(GLContext); |
| 182 }; | 182 }; |
| 183 | 183 |
| 184 class GL_EXPORT GLContextReal : public GLContext { | 184 class GL_EXPORT GLContextReal : public GLContext { |
| 185 public: | 185 public: |
| 186 explicit GLContextReal(GLShareGroup* share_group); | 186 explicit GLContextReal(GLShareGroup* share_group); |
| 187 | 187 |
| 188 protected: | 188 protected: |
| 189 virtual ~GLContextReal(); | 189 virtual ~GLContextReal(); |
| 190 | 190 |
| 191 virtual void SetCurrent(GLSurface* surface) OVERRIDE; | 191 virtual void SetCurrent(GLSurface* surface) override; |
| 192 | 192 |
| 193 private: | 193 private: |
| 194 DISALLOW_COPY_AND_ASSIGN(GLContextReal); | 194 DISALLOW_COPY_AND_ASSIGN(GLContextReal); |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 } // namespace gfx | 197 } // namespace gfx |
| 198 | 198 |
| 199 #endif // UI_GL_GL_CONTEXT_H_ | 199 #endif // UI_GL_GL_CONTEXT_H_ |
| OLD | NEW |