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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLContextObject.h

Issue 1935783002: Delete blink::WebGraphicsContext3D and cc_blink::ContextProviderWebContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sharegroup
Patch Set: rmwgc3d: export Created 4 years, 7 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 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef WebGLContextObject_h 26 #ifndef WebGLContextObject_h
27 #define WebGLContextObject_h 27 #define WebGLContextObject_h
28 28
29 #include "modules/webgl/WebGLObject.h" 29 #include "modules/webgl/WebGLObject.h"
30 30
31 namespace blink { 31 namespace blink {
32 class WebGraphicsContext3D;
33 }
34
35 namespace blink {
36 32
37 class WebGLRenderingContextBase; 33 class WebGLRenderingContextBase;
38 34
39 // WebGLContextObject the base class for objects that are owned by a specific 35 // WebGLContextObject the base class for objects that are owned by a specific
40 // WebGLRenderingContextBase. 36 // WebGLRenderingContextBase.
41 class WebGLContextObject : public WebGLObject { 37 class WebGLContextObject : public WebGLObject {
42 public: 38 public:
43 ~WebGLContextObject() override; 39 ~WebGLContextObject() override;
44 40
45 WebGLRenderingContextBase* context() const { return m_context; } 41 WebGLRenderingContextBase* context() const { return m_context; }
(...skipping 17 matching lines...) Expand all
63 59
64 gpu::gles2::GLES2Interface* getAGLInterface() const final; 60 gpu::gles2::GLES2Interface* getAGLInterface() const final;
65 61
66 private: 62 private:
67 Member<WebGLRenderingContextBase> m_context; 63 Member<WebGLRenderingContextBase> m_context;
68 }; 64 };
69 65
70 } // namespace blink 66 } // namespace blink
71 67
72 #endif // WebGLContextObject_h 68 #endif // WebGLContextObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698