OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CONTENT_RENDER_LAYOUT_TEST_DEPENDENCIES_H_ | 5 #ifndef CONTENT_RENDER_LAYOUT_TEST_DEPENDENCIES_H_ |
6 #define CONTENT_RENDER_LAYOUT_TEST_DEPENDENCIES_H_ | 6 #define CONTENT_RENDER_LAYOUT_TEST_DEPENDENCIES_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 class ContextProvider; | 14 class ContextProvider; |
15 class CopyOutputRequest; | 15 class CopyOutputRequest; |
16 class CompositorFrameSink; | 16 class CompositorFrameSink; |
17 class SharedBitmapManager; | |
18 class SwapPromise; | 17 class SwapPromise; |
19 } | 18 } |
20 | 19 |
21 namespace gpu { | 20 namespace gpu { |
22 class GpuChannelHost; | 21 class GpuChannelHost; |
23 class GpuMemoryBufferManager; | 22 class GpuMemoryBufferManager; |
24 } | 23 } |
25 | 24 |
26 namespace content { | 25 namespace content { |
27 class CompositorDependencies; | 26 class CompositorDependencies; |
(...skipping 12 matching lines...) Expand all Loading... |
40 | 39 |
41 // Returns a SwapPromise which should be queued for the next compositor frame. | 40 // Returns a SwapPromise which should be queued for the next compositor frame. |
42 virtual std::unique_ptr<cc::SwapPromise> RequestCopyOfOutput( | 41 virtual std::unique_ptr<cc::SwapPromise> RequestCopyOfOutput( |
43 int32_t routing_id, | 42 int32_t routing_id, |
44 std::unique_ptr<cc::CopyOutputRequest> request) = 0; | 43 std::unique_ptr<cc::CopyOutputRequest> request) = 0; |
45 }; | 44 }; |
46 | 45 |
47 } // namespace content | 46 } // namespace content |
48 | 47 |
49 #endif // CONTENT_RENDER_LAYOUT_TEST_DEPENDENCIES_H_ | 48 #endif // CONTENT_RENDER_LAYOUT_TEST_DEPENDENCIES_H_ |
OLD | NEW |