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