OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ | 5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ |
6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ | 6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h" | 10 #include "third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 virtual GrContext* grContext() OVERRIDE; | 27 virtual GrContext* grContext() OVERRIDE; |
28 | 28 |
29 private: | 29 private: |
30 scoped_refptr<cc::ContextProvider> provider_; | 30 scoped_refptr<cc::ContextProvider> provider_; |
31 }; | 31 }; |
32 | 32 |
33 } // namespace gpu | 33 } // namespace gpu |
34 } // namespace webkit | 34 } // namespace webkit |
35 | 35 |
36 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ | 36 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ |
OLD | NEW |