Index: content/common/gpu/client/context_provider_web_context.h |
diff --git a/content/common/gpu/client/context_provider_web_context.h b/content/common/gpu/client/context_provider_web_context.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ee1ddf31db194dfa7bb7ba2e88c3a9f1c4281b27 |
--- /dev/null |
+++ b/content/common/gpu/client/context_provider_web_context.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_RENDERER_CONTEXT_PROVIDER_WEB_CONTEXT_H_ |
+#define CONTENT_RENDERER_CONTEXT_PROVIDER_WEB_CONTEXT_H_ |
+ |
+#include "cc/output/context_provider.h" |
+ |
+namespace blink { class WebGraphicsContext3D; } |
+ |
+namespace content { |
+ |
+class ContextProviderWebContext : public cc::ContextProvider { |
+ public: |
+ virtual blink::WebGraphicsContext3D* WebContext3D() = 0; |
+ |
+ protected: |
+ 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
|
+ virtual ~ContextProviderWebContext() {} |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_RENDERER_CONTEXT_PROVIDER_WEB_CONTEXT_H_ |