Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1832)

Unified Diff: athena/wm/test/window_manager_impl_test_api.cc

Issue 488153003: Fix crash when dragging a half width window to split view from overivew mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/wm/test/window_manager_impl_test_api.h ('k') | athena/wm/window_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « athena/wm/test/window_manager_impl_test_api.h ('k') | athena/wm/window_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698