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

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

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/mus/surfaces/surfaces_state.h"
6 #include "components/mus/ws/test_server_window_delegate.h"
7 #include "components/mus/ws/server_window.h"
8
9 namespace mus {
10
11 namespace ws {
12
13 TestServerWindowDelegate::TestServerWindowDelegate()
14 : root_window_(nullptr), surfaces_state_(new SurfacesState()) {}
15
16 TestServerWindowDelegate::~TestServerWindowDelegate() {}
17
18 mus::SurfacesState* TestServerWindowDelegate::GetSurfacesState() {
19 return surfaces_state_.get();
20 }
21
22 void TestServerWindowDelegate::OnScheduleWindowPaint(ServerWindow* window) {}
23
24 const ServerWindow* TestServerWindowDelegate::GetRootWindow(
25 const ServerWindow* window) const {
26 return root_window_;
27 }
28
29 void TestServerWindowDelegate::ScheduleSurfaceDestruction(
30 ServerWindow* window) {}
31
32 } // namespace ws
33
34 } // 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