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

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

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « ui/gl/gl_context_osmesa.h ('k') | ui/gl/gl_context_stub_with_extensions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CONTEXT_STUB_H_ 5 #ifndef UI_GL_GL_CONTEXT_STUB_H_
6 #define UI_GL_GL_CONTEXT_STUB_H_ 6 #define UI_GL_GL_CONTEXT_STUB_H_
7 7
8 #include "ui/gl/gl_context.h" 8 #include "ui/gl/gl_context.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 11
12 // A GLContext that does nothing for unit tests. 12 // A GLContext that does nothing for unit tests.
13 class GL_EXPORT GLContextStub : public GLContextReal { 13 class GL_EXPORT GLContextStub : public GLContextReal {
14 public: 14 public:
15 GLContextStub(); 15 GLContextStub();
16 16
17 // Implement GLContext. 17 // Implement GLContext.
18 virtual bool Initialize(GLSurface* compatible_surface, 18 virtual bool Initialize(GLSurface* compatible_surface,
19 GpuPreference gpu_preference) OVERRIDE; 19 GpuPreference gpu_preference) override;
20 virtual void Destroy() OVERRIDE; 20 virtual void Destroy() override;
21 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE; 21 virtual bool MakeCurrent(GLSurface* surface) override;
22 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE; 22 virtual void ReleaseCurrent(GLSurface* surface) override;
23 virtual bool IsCurrent(GLSurface* surface) OVERRIDE; 23 virtual bool IsCurrent(GLSurface* surface) override;
24 virtual void* GetHandle() OVERRIDE; 24 virtual void* GetHandle() override;
25 virtual void SetSwapInterval(int interval) OVERRIDE; 25 virtual void SetSwapInterval(int interval) override;
26 virtual std::string GetExtensions() OVERRIDE; 26 virtual std::string GetExtensions() override;
27 virtual std::string GetGLRenderer() OVERRIDE; 27 virtual std::string GetGLRenderer() override;
28 28
29 protected: 29 protected:
30 virtual ~GLContextStub(); 30 virtual ~GLContextStub();
31 31
32 private: 32 private:
33 DISALLOW_COPY_AND_ASSIGN(GLContextStub); 33 DISALLOW_COPY_AND_ASSIGN(GLContextStub);
34 }; 34 };
35 35
36 } // namespace gfx 36 } // namespace gfx
37 37
38 #endif // UI_GL_GL_CONTEXT_STUB_H_ 38 #endif // UI_GL_GL_CONTEXT_STUB_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_context_osmesa.h ('k') | ui/gl/gl_context_stub_with_extensions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698