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

Unified Diff: athena/wm/window_manager_impl_test_api.h

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.h
diff --git a/athena/wm/window_manager_impl_test_api.h b/athena/wm/window_manager_impl_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..5003761d2e6354b25670ad24e78599e18c31b561
--- /dev/null
+++ b/athena/wm/window_manager_impl_test_api.h
@@ -0,0 +1,34 @@
+// 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.
+
+#ifndef ATHENA_WM_WINDOW_MANAGER_IMPL_TEST_API_H_
+#define ATHENA_WM_WINDOW_MANAGER_IMPL_TEST_API_H_
+
+#include "base/macros.h"
+
+namespace athena {
+
+class SplitViewController;
+class WindowListProvider;
+class WindowManager;
+class WindowManagerImpl;
+
oshima 2014/08/21 19:24:03 can you put this in test namespace?
+class WindowManagerImplTestApi {
+ public:
+ WindowManagerImplTestApi();
+ ~WindowManagerImplTestApi();
+
+ WindowManager* wm();
oshima 2014/08/21 19:24:03 There is a WindowManager::Get() so no need to expo
+ WindowListProvider* GetWindowListProvider();
+ SplitViewController* GetSplitViewController();
+
+ private:
+ WindowManagerImpl* wm_;
+
+ DISALLOW_COPY_AND_ASSIGN(WindowManagerImplTestApi);
+};
+
+} // namespace athena
+
+#endif // ATHENA_WM_WINDOW_MANAGER_IMPL_TEST_API_H_

Powered by Google App Engine
This is Rietveld 408576698