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

Side by Side Diff: components/mus/ws/test_server_window_delegate.cc

Issue 1766943002: Refators display related functionality into own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 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
« no previous file with comments | « components/mus/ws/test_server_window_delegate.h ('k') | components/mus/ws/test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "components/mus/ws/test_server_window_delegate.h" 5 #include "components/mus/ws/test_server_window_delegate.h"
6 #include "components/mus/ws/server_window.h" 6 #include "components/mus/ws/server_window.h"
7 7
8 namespace mus { 8 namespace mus {
9 9
10 namespace ws { 10 namespace ws {
11 11
12 TestServerWindowDelegate::TestServerWindowDelegate() : root_window_(nullptr) {} 12 TestServerWindowDelegate::TestServerWindowDelegate() : root_window_(nullptr) {}
13 13
14 TestServerWindowDelegate::~TestServerWindowDelegate() {} 14 TestServerWindowDelegate::~TestServerWindowDelegate() {}
15 15
16 mus::SurfacesState* TestServerWindowDelegate::GetSurfacesState() { 16 mus::SurfacesState* TestServerWindowDelegate::GetSurfacesState() {
17 return nullptr; 17 return nullptr;
18 } 18 }
19 19
20 void TestServerWindowDelegate::OnScheduleWindowPaint( 20 void TestServerWindowDelegate::OnScheduleWindowPaint(ServerWindow* window) {}
21 const ServerWindow* window) {}
22 21
23 const ServerWindow* TestServerWindowDelegate::GetRootWindow( 22 const ServerWindow* TestServerWindowDelegate::GetRootWindow(
24 const ServerWindow* window) const { 23 const ServerWindow* window) const {
25 return root_window_; 24 return root_window_;
26 } 25 }
27 26
28 void TestServerWindowDelegate::ScheduleSurfaceDestruction( 27 void TestServerWindowDelegate::ScheduleSurfaceDestruction(
29 ServerWindow* window) {} 28 ServerWindow* window) {}
30 29
31 ServerWindow* TestServerWindowDelegate::FindWindowForSurface( 30 ServerWindow* TestServerWindowDelegate::FindWindowForSurface(
32 const ServerWindow* ancestor, 31 const ServerWindow* ancestor,
33 mojom::SurfaceType surface_type, 32 mojom::SurfaceType surface_type,
34 const ClientWindowId& client_window_id) { 33 const ClientWindowId& client_window_id) {
35 return nullptr; 34 return nullptr;
36 } 35 }
37 36
38 } // namespace ws 37 } // namespace ws
39 38
40 } // namespace mus 39 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/test_server_window_delegate.h ('k') | components/mus/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698