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