Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Side by Side Diff: services/ui/ws/server_window_compositor_frame_sink_manager.cc

Issue 2527003002: [DONT COMMIT] Revert of Mus: ws/ should not depend on surfaces/ (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « services/ui/ws/platform_display_init_params.cc ('k') | services/ui/ws/test_server_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698