| OLD | NEW | 
|   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/output_configurator_animation.h" | 
|  13 #include "chromeos/display/output_configurator.h" |  13 #include "chromeos/display/output_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 internal::RootWindowLayoutManager* ShellTestApi::root_window_layout() { |  21 internal::RootWindowLayoutManager* ShellTestApi::root_window_layout() { | 
|  22   return shell_->GetPrimaryRootWindowController()->root_window_layout(); |  22   return shell_->GetPrimaryRootWindowController()->root_window_layout(); | 
|  23 } |  23 } | 
|  24  |  24  | 
|  25 views::corewm::InputMethodEventFilter* |  25 wm::InputMethodEventFilter* | 
|  26 ShellTestApi::input_method_event_filter() { |  26 ShellTestApi::input_method_event_filter() { | 
|  27   return shell_->input_method_filter_.get(); |  27   return shell_->input_method_filter_.get(); | 
|  28 } |  28 } | 
|  29  |  29  | 
|  30 internal::SystemGestureEventFilter* |  30 internal::SystemGestureEventFilter* | 
|  31 ShellTestApi::system_gesture_event_filter() { |  31 ShellTestApi::system_gesture_event_filter() { | 
|  32   return shell_->system_gesture_filter_.get(); |  32   return shell_->system_gesture_filter_.get(); | 
|  33 } |  33 } | 
|  34  |  34  | 
|  35 internal::WorkspaceController* ShellTestApi::workspace_controller() { |  35 internal::WorkspaceController* ShellTestApi::workspace_controller() { | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  71   } |  71   } | 
|  72 #endif  // defined(OS_CHROMEOS) |  72 #endif  // defined(OS_CHROMEOS) | 
|  73 } |  73 } | 
|  74  |  74  | 
|  75 void ShellTestApi::SetShelfDelegate(ShelfDelegate* delegate) { |  75 void ShellTestApi::SetShelfDelegate(ShelfDelegate* delegate) { | 
|  76   shell_->shelf_delegate_.reset(delegate); |  76   shell_->shelf_delegate_.reset(delegate); | 
|  77 } |  77 } | 
|  78  |  78  | 
|  79 }  // namespace test |  79 }  // namespace test | 
|  80 }  // namespace ash |  80 }  // namespace ash | 
| OLD | NEW |