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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLContextGroup.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 14 matching lines...) Expand all
25 25
26 #ifndef WebGLContextGroup_h 26 #ifndef WebGLContextGroup_h
27 #define WebGLContextGroup_h 27 #define WebGLContextGroup_h
28 28
29 #include "modules/webgl/WebGLRenderingContextBase.h" 29 #include "modules/webgl/WebGLRenderingContextBase.h"
30 #include "wtf/HashSet.h" 30 #include "wtf/HashSet.h"
31 #include "wtf/PassRefPtr.h" 31 #include "wtf/PassRefPtr.h"
32 #include "wtf/RefCounted.h" 32 #include "wtf/RefCounted.h"
33 33
34 namespace blink { 34 namespace blink {
35 class WebGraphicsContext3D;
36 }
37
38 namespace blink {
39 35
40 class WebGLSharedObject; 36 class WebGLSharedObject;
41 class WebGLRenderingContextBase; 37 class WebGLRenderingContextBase;
42 38
43 typedef int ExceptionCode; 39 typedef int ExceptionCode;
44 40
45 class WebGLContextGroup final : public RefCounted<WebGLContextGroup> { 41 class WebGLContextGroup final : public RefCounted<WebGLContextGroup> {
46 public: 42 public:
47 static PassRefPtr<WebGLContextGroup> create(); 43 static PassRefPtr<WebGLContextGroup> create();
48 ~WebGLContextGroup(); 44 ~WebGLContextGroup();
(...skipping 21 matching lines...) Expand all
70 // registration with WebGLContextGroup, and vice versa, the 66 // registration with WebGLContextGroup, and vice versa, the
71 // WebGLContextGroup takes care of detaching the group objects if 67 // WebGLContextGroup takes care of detaching the group objects if
72 // the set of WebGLRenderingContextBase contexts becomes empty. 68 // the set of WebGLRenderingContextBase contexts becomes empty.
73 HashSet<UntracedMember<WebGLRenderingContextBase>> m_contexts; 69 HashSet<UntracedMember<WebGLRenderingContextBase>> m_contexts;
74 HashSet<UntracedMember<WebGLSharedObject>> m_groupObjects; 70 HashSet<UntracedMember<WebGLSharedObject>> m_groupObjects;
75 }; 71 };
76 72
77 } // namespace blink 73 } // namespace blink
78 74
79 #endif // WebGLContextGroup_h 75 #endif // WebGLContextGroup_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698