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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "athena/wm/window_manager_impl_test_api.h"
6
7 #include "athena/wm/window_manager_impl.h"
8
9 namespace athena {
10
11 WindowManagerImplTestApi::WindowManagerImplTestApi()
12 : wm_(static_cast<WindowManagerImpl*>(WindowManager::GetInstance())) {
13 }
14
15 WindowManagerImplTestApi::~WindowManagerImplTestApi() {
16 }
17
18 WindowManager* WindowManagerImplTestApi::wm() {
19 return wm_;
20 }
21
22 WindowListProvider* WindowManagerImplTestApi::GetWindowListProvider() {
23 return wm_->window_list_provider_.get();
24 }
25
26 SplitViewController* WindowManagerImplTestApi::GetSplitViewController() {
27 return wm_->split_view_controller_.get();
28 }
29
30 } // namespace athena
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698