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

Unified Diff: webkit/common/gpu/webgraphicscontext3d_provider_impl.h

Issue 126093010: Use ContextProvider subclass to provide WGC3D pointers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: webkit/common/gpu/webgraphicscontext3d_provider_impl.h
diff --git a/webkit/common/gpu/webgraphicscontext3d_provider_impl.h b/webkit/common/gpu/webgraphicscontext3d_provider_impl.h
deleted file mode 100644
index 794df1363ef85771a75ae03b79f91a56582899a2..0000000000000000000000000000000000000000
--- a/webkit/common/gpu/webgraphicscontext3d_provider_impl.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// 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 WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
-#define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
-
-#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
-#include "third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h"
-#include "webkit/common/gpu/webkit_gpu_export.h"
-
-namespace cc { class ContextProvider; }
-
-namespace webkit {
-namespace gpu {
-
-class WEBKIT_GPU_EXPORT WebGraphicsContext3DProviderImpl
- : public NON_EXPORTED_BASE(blink::WebGraphicsContext3DProvider) {
- public:
- explicit WebGraphicsContext3DProviderImpl(
- scoped_refptr<cc::ContextProvider> provider);
- virtual ~WebGraphicsContext3DProviderImpl();
-
- // WebGraphicsContext3DProvider implementation.
- virtual blink::WebGraphicsContext3D* context3d() OVERRIDE;
- virtual GrContext* grContext() OVERRIDE;
-
- private:
- scoped_refptr<cc::ContextProvider> provider_;
-};
-
-} // namespace gpu
-} // namespace webkit
-
-#endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
« no previous file with comments | « webkit/common/gpu/context_provider_web_context.h ('k') | webkit/common/gpu/webgraphicscontext3d_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698