OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_TEST_TEST_CONTEXT_PROVIDER_H_ | 5 #ifndef CC_TEST_TEST_CONTEXT_PROVIDER_H_ |
6 #define CC_TEST_TEST_CONTEXT_PROVIDER_H_ | 6 #define CC_TEST_TEST_CONTEXT_PROVIDER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
11 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
12 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
13 #include "cc/output/context_provider.h" | 17 #include "cc/output/context_provider.h" |
14 #include "cc/test/test_context_support.h" | 18 #include "cc/test/test_context_support.h" |
15 #include "gpu/command_buffer/client/gles2_interface_stub.h" | 19 #include "gpu/command_buffer/client/gles2_interface_stub.h" |
16 #include "skia/ext/refptr.h" | 20 #include "skia/ext/refptr.h" |
17 | 21 |
18 namespace cc { | 22 namespace cc { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 82 |
79 base::WeakPtrFactory<TestContextProvider> weak_ptr_factory_; | 83 base::WeakPtrFactory<TestContextProvider> weak_ptr_factory_; |
80 | 84 |
81 DISALLOW_COPY_AND_ASSIGN(TestContextProvider); | 85 DISALLOW_COPY_AND_ASSIGN(TestContextProvider); |
82 }; | 86 }; |
83 | 87 |
84 } // namespace cc | 88 } // namespace cc |
85 | 89 |
86 #endif // CC_TEST_TEST_CONTEXT_PROVIDER_H_ | 90 #endif // CC_TEST_TEST_CONTEXT_PROVIDER_H_ |
87 | 91 |
OLD | NEW |