| OLD | NEW |
| (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 "athena/wm/test/window_manager_impl_test_api.h" | |
| 6 | |
| 7 #include "athena/wm/window_list_provider_impl.h" | |
| 8 #include "athena/wm/window_manager_impl.h" | |
| 9 | |
| 10 namespace athena { | |
| 11 namespace test { | |
| 12 | |
| 13 WindowManagerImplTestApi::WindowManagerImplTestApi() | |
| 14 : wm_(static_cast<WindowManagerImpl*>(WindowManager::Get())) { | |
| 15 } | |
| 16 | |
| 17 WindowManagerImplTestApi::~WindowManagerImplTestApi() { | |
| 18 } | |
| 19 | |
| 20 athena::WindowListProvider* WindowManagerImplTestApi::GetWindowListProvider() { | |
| 21 return wm_->window_list_provider_.get(); | |
| 22 } | |
| 23 | |
| 24 athena::SplitViewController* | |
| 25 WindowManagerImplTestApi::GetSplitViewController() { | |
| 26 return wm_->split_view_controller_.get(); | |
| 27 } | |
| 28 | |
| 29 } // namespace test | |
| 30 } // namespace athena | |
| OLD | NEW |