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 UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ | 5 #ifndef UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ |
6 #define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ | 6 #define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "cc/output/context_provider.h" | 16 #include "cc/output/context_provider.h" |
17 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 17 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
18 #include "skia/ext/refptr.h" | |
19 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
20 | 19 |
21 namespace gpu { | 20 namespace gpu { |
22 class GLInProcessContext; | 21 class GLInProcessContext; |
23 class GpuMemoryBufferManager; | 22 class GpuMemoryBufferManager; |
24 class ImageFactory; | 23 class ImageFactory; |
25 } | 24 } |
26 | 25 |
27 namespace skia_bindings { | 26 namespace skia_bindings { |
28 class GrContextForGLES2Interface; | 27 class GrContextForGLES2Interface; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 std::string debug_name_; | 82 std::string debug_name_; |
84 | 83 |
85 base::Lock context_lock_; | 84 base::Lock context_lock_; |
86 | 85 |
87 DISALLOW_COPY_AND_ASSIGN(InProcessContextProvider); | 86 DISALLOW_COPY_AND_ASSIGN(InProcessContextProvider); |
88 }; | 87 }; |
89 | 88 |
90 } // namespace ui | 89 } // namespace ui |
91 | 90 |
92 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ | 91 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ |
OLD | NEW |