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

Side by Side Diff: Source/core/html/canvas/WebGLContextGroup.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 24 matching lines...) Expand all
35 class WebGraphicsContext3D; 35 class WebGraphicsContext3D;
36 } 36 }
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class WebGLSharedObject; 40 class WebGLSharedObject;
41 class WebGLRenderingContextBase; 41 class WebGLRenderingContextBase;
42 42
43 typedef int ExceptionCode; 43 typedef int ExceptionCode;
44 44
45 class WebGLContextGroup FINAL : public RefCounted<WebGLContextGroup> { 45 class WebGLContextGroup final : public RefCounted<WebGLContextGroup> {
46 public: 46 public:
47 static PassRefPtr<WebGLContextGroup> create(); 47 static PassRefPtr<WebGLContextGroup> create();
48 ~WebGLContextGroup(); 48 ~WebGLContextGroup();
49 49
50 void addContext(WebGLRenderingContextBase*); 50 void addContext(WebGLRenderingContextBase*);
51 void removeContext(WebGLRenderingContextBase*); 51 void removeContext(WebGLRenderingContextBase*);
52 52
53 void addObject(WebGLSharedObject*); 53 void addObject(WebGLSharedObject*);
54 void removeObject(WebGLSharedObject*); 54 void removeObject(WebGLSharedObject*);
55 55
(...skipping 14 matching lines...) Expand all
70 // registration with WebGLContextGroup, and vice versa, the 70 // registration with WebGLContextGroup, and vice versa, the
71 // WebGLContextGroup takes care of detaching the group objects if 71 // WebGLContextGroup takes care of detaching the group objects if
72 // the set of WebGLRenderingContextBase contexts becomes empty. 72 // the set of WebGLRenderingContextBase contexts becomes empty.
73 HashSet<WebGLRenderingContextBase*> m_contexts; 73 HashSet<WebGLRenderingContextBase*> m_contexts;
74 HashSet<WebGLSharedObject*> m_groupObjects; 74 HashSet<WebGLSharedObject*> m_groupObjects;
75 }; 75 };
76 76
77 } // namespace blink 77 } // namespace blink
78 78
79 #endif // WebGLContextGroup_h 79 #endif // WebGLContextGroup_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLContextEvent.h ('k') | Source/core/html/canvas/WebGLContextObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698