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

Side by Side Diff: athena/wm/test/window_manager_impl_test_api.cc

Issue 599683003: [Athena, Cleanup] rename WidnowManager::GetInstance -> ::Get (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fixed unittests Created 6 years, 3 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
« no previous file with comments | « athena/wm/public/window_manager.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "athena/wm/test/window_manager_impl_test_api.h" 5 #include "athena/wm/test/window_manager_impl_test_api.h"
6 6
7 #include "athena/wm/window_manager_impl.h" 7 #include "athena/wm/window_manager_impl.h"
8 8
9 namespace athena { 9 namespace athena {
10 namespace test { 10 namespace test {
11 11
12 WindowManagerImplTestApi::WindowManagerImplTestApi() 12 WindowManagerImplTestApi::WindowManagerImplTestApi()
13 : wm_(static_cast<WindowManagerImpl*>(WindowManager::GetInstance())) { 13 : wm_(static_cast<WindowManagerImpl*>(WindowManager::Get())) {
14 } 14 }
15 15
16 WindowManagerImplTestApi::~WindowManagerImplTestApi() { 16 WindowManagerImplTestApi::~WindowManagerImplTestApi() {
17 } 17 }
18 18
19 athena::WindowListProvider* WindowManagerImplTestApi::GetWindowListProvider() { 19 athena::WindowListProvider* WindowManagerImplTestApi::GetWindowListProvider() {
20 return wm_->window_list_provider_.get(); 20 return wm_->window_list_provider_.get();
21 } 21 }
22 22
23 athena::SplitViewController* 23 athena::SplitViewController*
24 WindowManagerImplTestApi::GetSplitViewController() { 24 WindowManagerImplTestApi::GetSplitViewController() {
25 return wm_->split_view_controller_.get(); 25 return wm_->split_view_controller_.get();
26 } 26 }
27 27
28 } // namespace test 28 } // namespace test
29 } // namespace athena 29 } // namespace athena
OLDNEW
« no previous file with comments | « athena/wm/public/window_manager.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698