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 UI_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ | 5 #ifndef UI_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ |
6 #define UI_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ | 6 #define UI_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "cc/output/copy_output_request.h" | 10 #include "cc/output/copy_output_request.h" |
(...skipping 12 matching lines...) Expand all Loading... | |
23 class UI_ANDROID_EXPORT WindowAndroidCompositor { | 23 class UI_ANDROID_EXPORT WindowAndroidCompositor { |
24 public: | 24 public: |
25 virtual ~WindowAndroidCompositor() {} | 25 virtual ~WindowAndroidCompositor() {} |
26 | 26 |
27 virtual void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) = 0; | 27 virtual void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) = 0; |
28 virtual void RequestCopyOfOutputOnRootLayer( | 28 virtual void RequestCopyOfOutputOnRootLayer( |
29 std::unique_ptr<cc::CopyOutputRequest> request) = 0; | 29 std::unique_ptr<cc::CopyOutputRequest> request) = 0; |
30 virtual void SetNeedsAnimate() = 0; | 30 virtual void SetNeedsAnimate() = 0; |
31 virtual ResourceManager& GetResourceManager() = 0; | 31 virtual ResourceManager& GetResourceManager() = 0; |
32 virtual cc::FrameSinkId GetFrameSinkId() = 0; | 32 virtual cc::FrameSinkId GetFrameSinkId() = 0; |
33 virtual void AddChildFrameSink(cc::FrameSinkId frame_sink_id) = 0; | |
boliu
2017/01/26 22:39:41
you don't need this here, this is an interface for
Alex Z.
2017/01/27 20:27:02
Done.
| |
33 }; | 34 }; |
34 | 35 |
35 } // namespace ui | 36 } // namespace ui |
36 | 37 |
37 #endif // UI_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ | 38 #endif // UI_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ |
OLD | NEW |