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

Side by Side Diff: content/common/gpu/client/context_provider_web_context.h

Issue 126093010: Use ContextProvider subclass to provide WGC3D pointers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698