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

Side by Side Diff: services/ui/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 | « services/ui/ws/test_server_window_delegate.h ('k') | services/ui/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/surfaces/surfaces_state.h" 5 #include "services/ui/surfaces/surfaces_state.h"
6 #include "components/mus/ws/test_server_window_delegate.h" 6 #include "services/ui/ws/server_window.h"
7 #include "components/mus/ws/server_window.h" 7 #include "services/ui/ws/test_server_window_delegate.h"
8 8
9 namespace mus { 9 namespace mus {
10 10
11 namespace ws { 11 namespace ws {
12 12
13 TestServerWindowDelegate::TestServerWindowDelegate() 13 TestServerWindowDelegate::TestServerWindowDelegate()
14 : root_window_(nullptr), surfaces_state_(new SurfacesState()) {} 14 : root_window_(nullptr), surfaces_state_(new SurfacesState()) {}
15 15
16 TestServerWindowDelegate::~TestServerWindowDelegate() {} 16 TestServerWindowDelegate::~TestServerWindowDelegate() {}
17 17
18 mus::SurfacesState* TestServerWindowDelegate::GetSurfacesState() { 18 mus::SurfacesState* TestServerWindowDelegate::GetSurfacesState() {
19 return surfaces_state_.get(); 19 return surfaces_state_.get();
20 } 20 }
21 21
22 void TestServerWindowDelegate::OnScheduleWindowPaint(ServerWindow* window) {} 22 void TestServerWindowDelegate::OnScheduleWindowPaint(ServerWindow* window) {}
23 23
24 const ServerWindow* TestServerWindowDelegate::GetRootWindow( 24 const ServerWindow* TestServerWindowDelegate::GetRootWindow(
25 const ServerWindow* window) const { 25 const ServerWindow* window) const {
26 return root_window_; 26 return root_window_;
27 } 27 }
28 28
29 void TestServerWindowDelegate::ScheduleSurfaceDestruction( 29 void TestServerWindowDelegate::ScheduleSurfaceDestruction(
30 ServerWindow* window) {} 30 ServerWindow* window) {}
31 31
32 } // namespace ws 32 } // namespace ws
33 33
34 } // namespace mus 34 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/test_server_window_delegate.h ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698