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

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

Issue 2521123004: Mus: ws/ should not depend on surfaces/ (Closed)
Patch Set: Rebased 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"
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
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
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