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_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ | 5 #ifndef WEBKIT_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ |
6 #define WEBKIT_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ | 6 #define WEBKIT_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
11 #include "cc/context_provider.h" | 11 #include "cc/output/context_provider.h" |
12 #include "webkit/gpu/webkit_gpu_export.h" | 12 #include "webkit/gpu/webkit_gpu_export.h" |
13 | 13 |
14 namespace webkit { | 14 namespace webkit { |
15 namespace gpu { | 15 namespace gpu { |
16 class GrContextForWebGraphicsContext3D; | 16 class GrContextForWebGraphicsContext3D; |
17 | 17 |
18 class WEBKIT_GPU_EXPORT ContextProviderInProcess | 18 class WEBKIT_GPU_EXPORT ContextProviderInProcess |
19 : NON_EXPORTED_BASE(public cc::ContextProvider) { | 19 : NON_EXPORTED_BASE(public cc::ContextProvider) { |
20 public: | 20 public: |
21 enum InProcessType { | 21 enum InProcessType { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 scoped_ptr<LostContextCallbackProxy> lost_context_callback_proxy_; | 60 scoped_ptr<LostContextCallbackProxy> lost_context_callback_proxy_; |
61 | 61 |
62 class MemoryAllocationCallbackProxy; | 62 class MemoryAllocationCallbackProxy; |
63 scoped_ptr<MemoryAllocationCallbackProxy> memory_allocation_callback_proxy_; | 63 scoped_ptr<MemoryAllocationCallbackProxy> memory_allocation_callback_proxy_; |
64 }; | 64 }; |
65 | 65 |
66 } // namespace gpu | 66 } // namespace gpu |
67 } // namespace webkit | 67 } // namespace webkit |
68 | 68 |
69 #endif // WEBKIT_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ | 69 #endif // WEBKIT_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ |
OLD | NEW |