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

Side by Side Diff: Source/core/html/canvas/WebGLSharedObject.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 29 matching lines...) Expand all
40 virtual ~WebGLSharedObject(); 40 virtual ~WebGLSharedObject();
41 41
42 WebGLContextGroup* contextGroup() const { return m_contextGroup; } 42 WebGLContextGroup* contextGroup() const { return m_contextGroup; }
43 43
44 virtual bool isBuffer() const { return false; } 44 virtual bool isBuffer() const { return false; }
45 virtual bool isProgram() const { return false; } 45 virtual bool isProgram() const { return false; }
46 virtual bool isRenderbuffer() const { return false; } 46 virtual bool isRenderbuffer() const { return false; }
47 virtual bool isShader() const { return false; } 47 virtual bool isShader() const { return false; }
48 virtual bool isTexture() const { return false; } 48 virtual bool isTexture() const { return false; }
49 49
50 virtual bool validate(const WebGLContextGroup* contextGroup, const WebGLRend eringContextBase*) const OVERRIDE FINAL 50 virtual bool validate(const WebGLContextGroup* contextGroup, const WebGLRend eringContextBase*) const override final
51 { 51 {
52 return contextGroup == m_contextGroup; 52 return contextGroup == m_contextGroup;
53 } 53 }
54 54
55 void detachContextGroup(); 55 void detachContextGroup();
56 56
57 protected: 57 protected:
58 explicit WebGLSharedObject(WebGLRenderingContextBase*); 58 explicit WebGLSharedObject(WebGLRenderingContextBase*);
59 59
60 virtual bool hasGroupOrContext() const OVERRIDE FINAL 60 virtual bool hasGroupOrContext() const override final
61 { 61 {
62 return m_contextGroup; 62 return m_contextGroup;
63 } 63 }
64 64
65 virtual blink::WebGraphicsContext3D* getAWebGraphicsContext3D() const OVERRI DE FINAL; 65 virtual blink::WebGraphicsContext3D* getAWebGraphicsContext3D() const overri de final;
66 66
67 private: 67 private:
68 WebGLContextGroup* m_contextGroup; 68 WebGLContextGroup* m_contextGroup;
69 }; 69 };
70 70
71 } // namespace blink 71 } // namespace blink
72 72
73 #endif // WebGLSharedObject_h 73 #endif // WebGLSharedObject_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLShaderPrecisionFormat.h ('k') | Source/core/html/canvas/WebGLSharedWebGraphicsContext3D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698