OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_ | 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_ |
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_ | 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 | 12 |
13 namespace blink { | |
14 class WebWidget; | |
15 } | |
16 | |
17 namespace cc { | 13 namespace cc { |
18 class BeginFrameSource; | |
19 class CopyOutputRequest; | 14 class CopyOutputRequest; |
20 class CompositorFrameSink; | 15 class CompositorFrameSink; |
21 class SwapPromise; | 16 class SwapPromise; |
22 } | 17 } |
23 | 18 |
24 namespace gfx { | 19 namespace gfx { |
25 class Vector2dF; | 20 class Vector2dF; |
26 } | 21 } |
27 | 22 |
28 namespace content { | 23 namespace content { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( | 80 virtual std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( |
86 std::unique_ptr<cc::CopyOutputRequest> request) = 0; | 81 std::unique_ptr<cc::CopyOutputRequest> request) = 0; |
87 | 82 |
88 protected: | 83 protected: |
89 virtual ~RenderWidgetCompositorDelegate() {} | 84 virtual ~RenderWidgetCompositorDelegate() {} |
90 }; | 85 }; |
91 | 86 |
92 } // namespace content | 87 } // namespace content |
93 | 88 |
94 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_ | 89 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_DELEGATE_H_ |
OLD | NEW |