| 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 SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_H_ | 5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_H_ |
| 6 #define SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_H_ | 6 #define SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <set> | 9 #include <set> |
| 9 | 10 |
| 10 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" |
| 11 #include "cc/ipc/compositor_frame.mojom.h" | 13 #include "cc/ipc/compositor_frame.mojom.h" |
| 12 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" | 14 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" |
| 13 #include "cc/output/context_provider.h" | 15 #include "cc/output/context_provider.h" |
| 14 #include "cc/surfaces/display.h" | 16 #include "cc/surfaces/display.h" |
| 15 #include "cc/surfaces/display_client.h" | 17 #include "cc/surfaces/display_client.h" |
| 16 #include "cc/surfaces/frame_sink_id.h" | 18 #include "cc/surfaces/frame_sink_id.h" |
| 17 #include "cc/surfaces/surface_factory.h" | 19 #include "cc/surfaces/surface_factory.h" |
| 18 #include "cc/surfaces/surface_factory_client.h" | 20 #include "cc/surfaces/surface_factory_client.h" |
| 19 #include "cc/surfaces/surface_id.h" | 21 #include "cc/surfaces/surface_id.h" |
| 20 #include "cc/surfaces/surface_id_allocator.h" | 22 #include "cc/surfaces/surface_id_allocator.h" |
| 21 #include "mojo/public/cpp/bindings/binding.h" | 23 #include "mojo/public/cpp/bindings/binding.h" |
| 22 #include "services/ui/public/interfaces/window_tree.mojom.h" | 24 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 23 #include "services/ui/surfaces/surfaces_context_provider.h" | 25 #include "services/ui/surfaces/surfaces_context_provider.h" |
| 24 #include "services/ui/ws/ids.h" | 26 #include "services/ui/ws/ids.h" |
| 25 | 27 |
| 28 namespace base { |
| 29 class SingleThreadTaskRunner; |
| 30 } |
| 31 |
| 26 namespace gpu { | 32 namespace gpu { |
| 27 class GpuMemoryBufferManager; | 33 class GpuMemoryBufferManager; |
| 28 } | 34 } |
| 29 | 35 |
| 30 namespace ui { | 36 namespace ui { |
| 31 | 37 |
| 32 class DisplayCompositor; | 38 class DisplayCompositor; |
| 33 | 39 |
| 34 namespace ws { | 40 namespace ws { |
| 35 | 41 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 mojo::Binding<MojoCompositorFrameSink> binding_; | 103 mojo::Binding<MojoCompositorFrameSink> binding_; |
| 98 | 104 |
| 99 DISALLOW_COPY_AND_ASSIGN(ServerWindowCompositorFrameSink); | 105 DISALLOW_COPY_AND_ASSIGN(ServerWindowCompositorFrameSink); |
| 100 }; | 106 }; |
| 101 | 107 |
| 102 } // namespace ws | 108 } // namespace ws |
| 103 | 109 |
| 104 } // namespace ui | 110 } // namespace ui |
| 105 | 111 |
| 106 #endif // SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_H_ | 112 #endif // SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_H_ |
| OLD | NEW |