OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 28 matching lines...) Expand all Loading... |
39 } | 39 } |
40 | 40 |
41 namespace display_compositor { | 41 namespace display_compositor { |
42 class ReadbackYUVInterface; | 42 class ReadbackYUVInterface; |
43 } | 43 } |
44 | 44 |
45 namespace content { | 45 namespace content { |
46 | 46 |
47 class DelegatedFrameHost; | 47 class DelegatedFrameHost; |
48 class RenderWidgetHostViewFrameSubscriber; | 48 class RenderWidgetHostViewFrameSubscriber; |
49 class RenderWidgetHostImpl; | |
50 class ResizeLock; | 49 class ResizeLock; |
51 | 50 |
52 // The DelegatedFrameHostClient is the interface from the DelegatedFrameHost, | 51 // The DelegatedFrameHostClient is the interface from the DelegatedFrameHost, |
53 // which manages delegated frames, and the ui::Compositor being used to | 52 // which manages delegated frames, and the ui::Compositor being used to |
54 // display them. | 53 // display them. |
55 class CONTENT_EXPORT DelegatedFrameHostClient { | 54 class CONTENT_EXPORT DelegatedFrameHostClient { |
56 public: | 55 public: |
57 virtual ui::Layer* DelegatedFrameHostGetLayer() const = 0; | 56 virtual ui::Layer* DelegatedFrameHostGetLayer() const = 0; |
58 virtual bool DelegatedFrameHostIsVisible() const = 0; | 57 virtual bool DelegatedFrameHostIsVisible() const = 0; |
59 | 58 |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 // YUV readback pipeline. | 330 // YUV readback pipeline. |
332 std::unique_ptr<display_compositor::ReadbackYUVInterface> | 331 std::unique_ptr<display_compositor::ReadbackYUVInterface> |
333 yuv_readback_pipeline_; | 332 yuv_readback_pipeline_; |
334 | 333 |
335 std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; | 334 std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; |
336 }; | 335 }; |
337 | 336 |
338 } // namespace content | 337 } // namespace content |
339 | 338 |
340 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ | 339 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_ |
OLD | NEW |