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

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

Issue 2632273003: Move ReferencedSurfaceTracker into GpuCompositorFrameSink. (Closed)
Patch Set: Change ReferencedSurfaceTracker. Created 3 years, 11 months 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/test_server_window_delegate.h" 5 #include "services/ui/ws/test_server_window_delegate.h"
6 6
7 #include "services/ui/ws/server_window.h" 7 #include "services/ui/ws/server_window.h"
8 8
9 namespace ui { 9 namespace ui {
10 namespace ws { 10 namespace ws {
11 11
12 TestServerWindowDelegate::TestServerWindowDelegate() {} 12 TestServerWindowDelegate::TestServerWindowDelegate() {}
13 13
14 TestServerWindowDelegate::~TestServerWindowDelegate() {} 14 TestServerWindowDelegate::~TestServerWindowDelegate() {}
15 15
16 cc::mojom::DisplayCompositor* TestServerWindowDelegate::GetDisplayCompositor() { 16 cc::mojom::DisplayCompositor* TestServerWindowDelegate::GetDisplayCompositor() {
17 return nullptr; 17 return nullptr;
18 } 18 }
19 19
20 const cc::SurfaceId& TestServerWindowDelegate::GetRootSurfaceId() const {
21 return root_surface_id_;
22 }
23
24 ServerWindow* TestServerWindowDelegate::GetRootWindow( 20 ServerWindow* TestServerWindowDelegate::GetRootWindow(
25 const ServerWindow* window) { 21 const ServerWindow* window) {
26 return root_window_; 22 return root_window_;
27 } 23 }
28 24
29 } // namespace ws 25 } // namespace ws
30 } // namespace ui 26 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698