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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_provider_impl.h

Issue 16046003: Move webkit/gpu into webkit/common/gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in content/common/gpu/client/gl_helper_* Created 7 years, 7 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 WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 DProvider.h"
11 #include "webkit/gpu/webkit_gpu_export.h"
12
13 namespace cc { class ContextProvider; }
14
15 namespace webkit {
16 namespace gpu {
17
18 class WEBKIT_GPU_EXPORT WebGraphicsContext3DProviderImpl
19 : public NON_EXPORTED_BASE(WebKit::WebGraphicsContext3DProvider) {
20 public:
21 explicit WebGraphicsContext3DProviderImpl(
22 scoped_refptr<cc::ContextProvider> provider);
23 virtual ~WebGraphicsContext3DProviderImpl();
24
25 // WebGraphicsContext3DProvider implementation.
26 virtual WebKit::WebGraphicsContext3D* context3d() OVERRIDE;
27 virtual GrContext* grContext() OVERRIDE;
28
29 private:
30 scoped_refptr<cc::ContextProvider> provider_;
31 };
32
33 } // namespace gpu
34 } // namespace webkit
35
36 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.cc ('k') | webkit/gpu/webgraphicscontext3d_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698