| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 SERVICES_UI_PUBLIC_CPP_DISPLAY_CLIENT_COMPOSITOR_FRAME_SINK_H_ | 5 #ifndef SERVICES_UI_WS_DISPLAY_CLIENT_COMPOSITOR_FRAME_SINK_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_DISPLAY_CLIENT_COMPOSITOR_FRAME_SINK_H_ | 6 #define SERVICES_UI_WS_DISPLAY_CLIENT_COMPOSITOR_FRAME_SINK_H_ |
| 7 | 7 |
| 8 #include "cc/ipc/display_compositor.mojom.h" | 8 #include "cc/ipc/frame_sink_manager.mojom.h" |
| 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" | 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" |
| 10 #include "cc/output/compositor_frame_sink.h" | 10 #include "cc/output/compositor_frame_sink.h" |
| 11 #include "cc/scheduler/begin_frame_source.h" | 11 #include "cc/scheduler/begin_frame_source.h" |
| 12 #include "cc/surfaces/local_surface_id.h" | 12 #include "cc/surfaces/local_surface_id.h" |
| 13 #include "cc/surfaces/local_surface_id_allocator.h" | 13 #include "cc/surfaces/local_surface_id_allocator.h" |
| 14 #include "mojo/public/cpp/bindings/binding.h" | 14 #include "mojo/public/cpp/bindings/binding.h" |
| 15 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class ThreadChecker; | 18 class ThreadChecker; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 cc::mojom::MojoCompositorFrameSinkAssociatedPtr compositor_frame_sink_; | 61 cc::mojom::MojoCompositorFrameSinkAssociatedPtr compositor_frame_sink_; |
| 62 mojo::Binding<cc::mojom::MojoCompositorFrameSinkClient> client_binding_; | 62 mojo::Binding<cc::mojom::MojoCompositorFrameSinkClient> client_binding_; |
| 63 cc::mojom::DisplayPrivateAssociatedPtr display_private_; | 63 cc::mojom::DisplayPrivateAssociatedPtr display_private_; |
| 64 std::unique_ptr<base::ThreadChecker> thread_checker_; | 64 std::unique_ptr<base::ThreadChecker> thread_checker_; |
| 65 std::unique_ptr<cc::ExternalBeginFrameSource> begin_frame_source_; | 65 std::unique_ptr<cc::ExternalBeginFrameSource> begin_frame_source_; |
| 66 const cc::FrameSinkId frame_sink_id_; | 66 const cc::FrameSinkId frame_sink_id_; |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(DisplayClientCompositorFrameSink); | 68 DISALLOW_COPY_AND_ASSIGN(DisplayClientCompositorFrameSink); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namspace ws | 71 } // namespace ws |
| 72 } // namespace ui | 72 } // namespace ui |
| 73 | 73 |
| 74 #endif // SERVICES_UI_PUBLIC_CPP_DISPLAY_CLIENT_COMPOSITOR_FRAME_SINK_H_ | 74 #endif // SERVICES_UI_WS_DISPLAY_CLIENT_COMPOSITOR_FRAME_SINK_H_ |
| OLD | NEW |