OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/server_window_surface_manager_test_api.h" | 5 #include "services/ui/ws/server_window_surface_manager_test_api.h" |
6 | 6 |
7 #include "components/mus/ws/server_window.h" | 7 #include "services/ui/ws/server_window.h" |
8 | 8 |
9 namespace mus { | 9 namespace mus { |
10 namespace ws { | 10 namespace ws { |
11 | 11 |
12 ServerWindowSurfaceManagerTestApi::ServerWindowSurfaceManagerTestApi( | 12 ServerWindowSurfaceManagerTestApi::ServerWindowSurfaceManagerTestApi( |
13 ServerWindowSurfaceManager* manager) | 13 ServerWindowSurfaceManager* manager) |
14 : manager_(manager) {} | 14 : manager_(manager) {} |
15 | 15 |
16 ServerWindowSurfaceManagerTestApi::~ServerWindowSurfaceManagerTestApi() {} | 16 ServerWindowSurfaceManagerTestApi::~ServerWindowSurfaceManagerTestApi() {} |
17 | 17 |
(...skipping 12 matching lines...) Expand all Loading... |
30 } | 30 } |
31 | 31 |
32 void DisableHitTest(ServerWindow* window) { | 32 void DisableHitTest(ServerWindow* window) { |
33 ServerWindowSurfaceManagerTestApi test_api( | 33 ServerWindowSurfaceManagerTestApi test_api( |
34 window->GetOrCreateSurfaceManager()); | 34 window->GetOrCreateSurfaceManager()); |
35 test_api.DestroyDefaultSurface(); | 35 test_api.DestroyDefaultSurface(); |
36 } | 36 } |
37 | 37 |
38 } // namespace ws | 38 } // namespace ws |
39 } // namespace mus | 39 } // namespace mus |
OLD | NEW |