| 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 #include "services/ui/ws/server_window_compositor_frame_sink_manager.h" | 5 #include "services/ui/ws/server_window_compositor_frame_sink_manager.h" |
| 6 | 6 |
| 7 #include "cc/ipc/display_compositor.mojom.h" |
| 7 #include "mojo/public/cpp/bindings/strong_binding.h" | 8 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 8 #include "services/ui/surfaces/display_compositor.h" | |
| 9 #include "services/ui/surfaces/gpu_compositor_frame_sink.h" | |
| 10 #include "services/ui/ws/ids.h" | 9 #include "services/ui/ws/ids.h" |
| 11 #include "services/ui/ws/server_window.h" | 10 #include "services/ui/ws/server_window.h" |
| 12 #include "services/ui/ws/server_window_delegate.h" | 11 #include "services/ui/ws/server_window_delegate.h" |
| 13 | 12 |
| 14 namespace ui { | 13 namespace ui { |
| 15 namespace ws { | 14 namespace ws { |
| 16 | 15 |
| 17 ServerWindowCompositorFrameSinkManager::ServerWindowCompositorFrameSinkManager( | 16 ServerWindowCompositorFrameSinkManager::ServerWindowCompositorFrameSinkManager( |
| 18 ServerWindow* window) | 17 ServerWindow* window) |
| 19 : window_(window), | 18 : window_(window), |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 153 |
| 155 CompositorFrameSinkData& CompositorFrameSinkData::operator=( | 154 CompositorFrameSinkData& CompositorFrameSinkData::operator=( |
| 156 CompositorFrameSinkData&& other) { | 155 CompositorFrameSinkData&& other) { |
| 157 latest_submitted_surface_id = other.latest_submitted_surface_id; | 156 latest_submitted_surface_id = other.latest_submitted_surface_id; |
| 158 compositor_frame_sink = std::move(other.compositor_frame_sink); | 157 compositor_frame_sink = std::move(other.compositor_frame_sink); |
| 159 return *this; | 158 return *this; |
| 160 } | 159 } |
| 161 | 160 |
| 162 } // namespace ws | 161 } // namespace ws |
| 163 } // namespace ui | 162 } // namespace ui |
| OLD | NEW |