OLD | NEW |
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 mojo::AssociatedGroup* | |
21 TestServerWindowDelegate::GetDisplayCompositorAssociatedGroup() { | |
22 return nullptr; | |
23 } | |
24 | |
25 ServerWindow* TestServerWindowDelegate::GetRootWindow( | 20 ServerWindow* TestServerWindowDelegate::GetRootWindow( |
26 const ServerWindow* window) { | 21 const ServerWindow* window) { |
27 return root_window_; | 22 return root_window_; |
28 } | 23 } |
29 | 24 |
30 } // namespace ws | 25 } // namespace ws |
31 } // namespace ui | 26 } // namespace ui |
OLD | NEW |