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

Unified Diff: athena/wm/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
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

Powered by Google App Engine
This is Rietveld 408576698