Index: athena/wm/window_manager_impl_test_api.cc |
diff --git a/athena/wm/window_manager_impl_test_api.cc b/athena/wm/window_manager_impl_test_api.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f8c94df21afec60576a0d2e605c1baa07b8abf5a |
--- /dev/null |
+++ b/athena/wm/window_manager_impl_test_api.cc |
@@ -0,0 +1,30 @@ |
+// 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/window_manager_impl_test_api.h" |
+ |
+#include "athena/wm/window_manager_impl.h" |
+ |
+namespace athena { |
+ |
+WindowManagerImplTestApi::WindowManagerImplTestApi() |
+ : wm_(static_cast<WindowManagerImpl*>(WindowManager::GetInstance())) { |
+} |
+ |
+WindowManagerImplTestApi::~WindowManagerImplTestApi() { |
+} |
+ |
+WindowManager* WindowManagerImplTestApi::wm() { |
+ return wm_; |
+} |
+ |
+WindowListProvider* WindowManagerImplTestApi::GetWindowListProvider() { |
+ return wm_->window_list_provider_.get(); |
+} |
+ |
+SplitViewController* WindowManagerImplTestApi::GetSplitViewController() { |
+ return wm_->split_view_controller_.get(); |
+} |
+ |
+} // namespace athena |