Index: webkit/common/gpu/context_provider_web_context.h |
diff --git a/webkit/common/gpu/context_provider_web_context.h b/webkit/common/gpu/context_provider_web_context.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8ee8adb1273eb7823f2c45f0307a1bf80ce0bd35 |
--- /dev/null |
+++ b/webkit/common/gpu/context_provider_web_context.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2014 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 WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ |
+#define WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ |
+ |
+#include "cc/output/context_provider.h" |
+ |
+namespace blink { class WebGraphicsContext3D; } |
+ |
+namespace webkit { |
+namespace gpu { |
+ |
+class ContextProviderWebContext : public cc::ContextProvider { |
+ public: |
+ virtual blink::WebGraphicsContext3D* WebContext3D() = 0; |
+ |
+ protected: |
+ virtual ~ContextProviderWebContext() {} |
+}; |
+ |
+} // namespace gpu |
+} // namespace webkit |
+ |
+#endif // WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ |