Index: athena/wm/test/window_manager_impl_test_api.cc |
diff --git a/athena/wm/test/window_manager_impl_test_api.cc b/athena/wm/test/window_manager_impl_test_api.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..51296c4b704221a668897b0e73b5a83f216954a8 |
--- /dev/null |
+++ b/athena/wm/test/window_manager_impl_test_api.cc |
@@ -0,0 +1,29 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "athena/wm/test/window_manager_impl_test_api.h" |
+ |
+#include "athena/wm/window_manager_impl.h" |
+ |
+namespace athena { |
+namespace test { |
+ |
+WindowManagerImplTestApi::WindowManagerImplTestApi() |
+ : wm_(static_cast<WindowManagerImpl*>(WindowManager::GetInstance())) { |
+} |
+ |
+WindowManagerImplTestApi::~WindowManagerImplTestApi() { |
+} |
+ |
+athena::WindowListProvider* WindowManagerImplTestApi::GetWindowListProvider() { |
+ return wm_->window_list_provider_.get(); |
+} |
+ |
+athena::SplitViewController* |
+WindowManagerImplTestApi::GetSplitViewController() { |
+ return wm_->split_view_controller_.get(); |
+} |
+ |
+} // namespace test |
+} // namespace athena |