| 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_MANAGER_H_ | 5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_MANAGER_H_ |
| 6 #define SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_MANAGER_H_ | 6 #define SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "cc/ipc/compositor_frame.mojom.h" | 11 #include "cc/ipc/compositor_frame.mojom.h" |
| 12 #include "cc/output/context_provider.h" | 12 #include "cc/output/context_provider.h" |
| 13 #include "cc/surfaces/surface_id.h" | 13 #include "cc/surfaces/surface_id.h" |
| 14 #include "mojo/public/cpp/bindings/binding.h" | 14 #include "mojo/public/cpp/bindings/binding.h" |
| 15 #include "services/ui/public/interfaces/window_tree.mojom.h" | 15 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 16 | 16 |
| 17 namespace gpu { | |
| 18 class GpuMemoryBufferManager; | |
| 19 } | |
| 20 | |
| 21 namespace ui { | 17 namespace ui { |
| 22 namespace ws { | 18 namespace ws { |
| 23 | 19 |
| 24 class ServerWindow; | 20 class ServerWindow; |
| 25 class ServerWindowCompositorFrameSink; | 21 class ServerWindowCompositorFrameSink; |
| 26 class ServerWindowCompositorFrameSinkManagerTestApi; | 22 class ServerWindowCompositorFrameSinkManagerTestApi; |
| 27 | 23 |
| 28 struct CompositorFrameSinkData { | 24 struct CompositorFrameSinkData { |
| 29 CompositorFrameSinkData(); | 25 CompositorFrameSinkData(); |
| 30 CompositorFrameSinkData(CompositorFrameSinkData&& other); | 26 CompositorFrameSinkData(CompositorFrameSinkData&& other); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // the underlay is not necessarily as big as the window. | 103 // the underlay is not necessarily as big as the window. |
| 108 bool waiting_for_initial_frames_; | 104 bool waiting_for_initial_frames_; |
| 109 | 105 |
| 110 DISALLOW_COPY_AND_ASSIGN(ServerWindowCompositorFrameSinkManager); | 106 DISALLOW_COPY_AND_ASSIGN(ServerWindowCompositorFrameSinkManager); |
| 111 }; | 107 }; |
| 112 | 108 |
| 113 } // namespace ws | 109 } // namespace ws |
| 114 } // namespace ui | 110 } // namespace ui |
| 115 | 111 |
| 116 #endif // SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_MANAGER_H_ | 112 #endif // SERVICES_UI_WS_SERVER_WINDOW_COMPOSITOR_FRAME_SINK_MANAGER_H_ |
| OLD | NEW |