OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_RENDERER_CONTEXT_PROVIDER_WEB_CONTEXT_H_ | |
6 #define CONTENT_RENDERER_CONTEXT_PROVIDER_WEB_CONTEXT_H_ | |
7 | |
8 #include "cc/output/context_provider.h" | |
9 | |
10 namespace blink { class WebGraphicsContext3D; } | |
11 | |
12 namespace content { | |
13 | |
14 class ContextProviderWebContext : public cc::ContextProvider { | |
15 public: | |
16 virtual blink::WebGraphicsContext3D* WebContext3D() = 0; | |
17 | |
18 protected: | |
19 friend class RefCountedThreadSafe<ContextProviderWebContext>; | |
piman
2014/01/08 01:22:50
nit: why do you need this?
jamesr
2014/01/08 02:20:15
hmm, thought that i did since the d'tor is protect
piman
2014/01/08 02:26:41
One thing that gives it away is that the RefCounte
| |
20 virtual ~ContextProviderWebContext() {} | |
21 }; | |
22 | |
23 } // namespace content | |
24 | |
25 #endif // CONTENT_RENDERER_CONTEXT_PROVIDER_WEB_CONTEXT_H_ | |
OLD | NEW |