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

Side by Side Diff: ash/test/shell_test_api.cc

Issue 250163002: Update naming from OutputConfiguratorAnimation to DisplayConfiguratorAnimation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/test/shell_test_api.h" 5 #include "ash/test/shell_test_api.h"
6 6
7 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/shelf/shelf_delegate.h" 8 #include "ash/shelf/shelf_delegate.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 10
11 #if defined(OS_CHROMEOS) 11 #if defined(OS_CHROMEOS)
12 #include "ash/display/output_configurator_animation.h" 12 #include "ash/display/display_configurator_animation.h"
13 #include "ui/display/chromeos/display_configurator.h" 13 #include "ui/display/chromeos/display_configurator.h"
14 #endif 14 #endif
15 15
16 namespace ash { 16 namespace ash {
17 namespace test { 17 namespace test {
18 18
19 ShellTestApi::ShellTestApi(Shell* shell) : shell_(shell) {} 19 ShellTestApi::ShellTestApi(Shell* shell) : shell_(shell) {}
20 20
21 RootWindowLayoutManager* ShellTestApi::root_window_layout() { 21 RootWindowLayoutManager* ShellTestApi::root_window_layout() {
22 return shell_->GetPrimaryRootWindowController()->root_window_layout(); 22 return shell_->GetPrimaryRootWindowController()->root_window_layout();
(...skipping 29 matching lines...) Expand all
52 } 52 }
53 53
54 AppListController* ShellTestApi::app_list_controller() { 54 AppListController* ShellTestApi::app_list_controller() {
55 return shell_->app_list_controller_.get(); 55 return shell_->app_list_controller_.get();
56 } 56 }
57 57
58 MaximizeModeWindowManager* ShellTestApi::maximize_mode_window_manager() { 58 MaximizeModeWindowManager* ShellTestApi::maximize_mode_window_manager() {
59 return shell_->maximize_mode_window_manager_.get(); 59 return shell_->maximize_mode_window_manager_.get();
60 } 60 }
61 61
62 void ShellTestApi::DisableOutputConfiguratorAnimation() { 62 void ShellTestApi::DisableDisplayConfiguratorAnimation() {
63 #if defined(OS_CHROMEOS) 63 #if defined(OS_CHROMEOS)
64 if (shell_->output_configurator_animation_) { 64 if (shell_->display_configurator_animation_) {
65 shell_->display_configurator_->RemoveObserver( 65 shell_->display_configurator_->RemoveObserver(
66 shell_->output_configurator_animation_.get()); 66 shell_->display_configurator_animation_.get());
67 shell_->output_configurator_animation_.reset(); 67 shell_->display_configurator_animation_.reset();
68 } 68 }
69 #endif // defined(OS_CHROMEOS) 69 #endif // defined(OS_CHROMEOS)
70 } 70 }
71 71
72 void ShellTestApi::SetShelfDelegate(ShelfDelegate* delegate) { 72 void ShellTestApi::SetShelfDelegate(ShelfDelegate* delegate) {
73 shell_->shelf_delegate_.reset(delegate); 73 shell_->shelf_delegate_.reset(delegate);
74 } 74 }
75 75
76 } // namespace test 76 } // namespace test
77 } // namespace ash 77 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/shell_test_api.h ('k') | chrome/browser/ui/webui/options/chromeos/display_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698