| 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 #ifndef ASH_SHELL_H_ | 5 #ifndef ASH_SHELL_H_ |
| 6 #define ASH_SHELL_H_ | 6 #define ASH_SHELL_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 WindowCycleController* window_cycle_controller() { | 377 WindowCycleController* window_cycle_controller() { |
| 378 return window_cycle_controller_.get(); | 378 return window_cycle_controller_.get(); |
| 379 } | 379 } |
| 380 WindowSelectorController* window_selector_controller() { | 380 WindowSelectorController* window_selector_controller() { |
| 381 return window_selector_controller_.get(); | 381 return window_selector_controller_.get(); |
| 382 } | 382 } |
| 383 FocusCycler* focus_cycler() { return focus_cycler_.get(); } | 383 FocusCycler* focus_cycler() { return focus_cycler_.get(); } |
| 384 DisplayController* display_controller() { | 384 DisplayController* display_controller() { |
| 385 return display_controller_.get(); | 385 return display_controller_.get(); |
| 386 } | 386 } |
| 387 #if defined(OS_CHROMEOS) && defined(USE_X11) | 387 #if defined(OS_CHROMEOS) |
| 388 TouchTransformerController* touch_transformer_controller() { | 388 TouchTransformerController* touch_transformer_controller() { |
| 389 return touch_transformer_controller_.get(); | 389 return touch_transformer_controller_.get(); |
| 390 } | 390 } |
| 391 #endif // defined(OS_CHROMEOS) && defined(USE_X11) | 391 #endif // defined(OS_CHROMEOS) |
| 392 MouseCursorEventFilter* mouse_cursor_filter() { | 392 MouseCursorEventFilter* mouse_cursor_filter() { |
| 393 return mouse_cursor_filter_.get(); | 393 return mouse_cursor_filter_.get(); |
| 394 } | 394 } |
| 395 EventTransformationHandler* event_transformation_handler() { | 395 EventTransformationHandler* event_transformation_handler() { |
| 396 return event_transformation_handler_.get(); | 396 return event_transformation_handler_.get(); |
| 397 } | 397 } |
| 398 ::wm::CursorManager* cursor_manager() { return &cursor_manager_; } | 398 ::wm::CursorManager* cursor_manager() { return &cursor_manager_; } |
| 399 | 399 |
| 400 ShellDelegate* delegate() { return delegate_.get(); } | 400 ShellDelegate* delegate() { return delegate_.get(); } |
| 401 | 401 |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 scoped_ptr<VirtualKeyboardController> virtual_keyboard_controller_; | 722 scoped_ptr<VirtualKeyboardController> virtual_keyboard_controller_; |
| 723 // Controls video output device state. | 723 // Controls video output device state. |
| 724 scoped_ptr<ui::DisplayConfigurator> display_configurator_; | 724 scoped_ptr<ui::DisplayConfigurator> display_configurator_; |
| 725 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; | 725 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; |
| 726 scoped_ptr<DisplayErrorObserver> display_error_observer_; | 726 scoped_ptr<DisplayErrorObserver> display_error_observer_; |
| 727 scoped_ptr<ProjectingObserver> projecting_observer_; | 727 scoped_ptr<ProjectingObserver> projecting_observer_; |
| 728 | 728 |
| 729 // Listens for output changes and updates the display manager. | 729 // Listens for output changes and updates the display manager. |
| 730 scoped_ptr<DisplayChangeObserver> display_change_observer_; | 730 scoped_ptr<DisplayChangeObserver> display_change_observer_; |
| 731 | 731 |
| 732 scoped_ptr<TouchTransformerController> touch_transformer_controller_; |
| 733 |
| 732 #if defined(USE_X11) | 734 #if defined(USE_X11) |
| 733 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; | 735 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; |
| 734 scoped_ptr<ui::EventHandler> speech_feedback_handler_; | 736 scoped_ptr<ui::EventHandler> speech_feedback_handler_; |
| 735 scoped_ptr<TouchTransformerController> touch_transformer_controller_; | |
| 736 #endif // defined(USE_X11) | 737 #endif // defined(USE_X11) |
| 737 #endif // defined(OS_CHROMEOS) | 738 #endif // defined(OS_CHROMEOS) |
| 738 | 739 |
| 739 scoped_ptr<MaximizeModeController> maximize_mode_controller_; | 740 scoped_ptr<MaximizeModeController> maximize_mode_controller_; |
| 740 | 741 |
| 741 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a | 742 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a |
| 742 // pointer to vend to test code. | 743 // pointer to vend to test code. |
| 743 AshNativeCursorManager* native_cursor_manager_; | 744 AshNativeCursorManager* native_cursor_manager_; |
| 744 | 745 |
| 745 // Cursor may be hidden on certain key events in ChromeOS, whereas we never hide | 746 // Cursor may be hidden on certain key events in ChromeOS, whereas we never hide |
| (...skipping 13 matching lines...) Expand all Loading... |
| 759 | 760 |
| 760 // Injected content::GPUDataManager support. | 761 // Injected content::GPUDataManager support. |
| 761 scoped_ptr<GPUSupport> gpu_support_; | 762 scoped_ptr<GPUSupport> gpu_support_; |
| 762 | 763 |
| 763 DISALLOW_COPY_AND_ASSIGN(Shell); | 764 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 764 }; | 765 }; |
| 765 | 766 |
| 766 } // namespace ash | 767 } // namespace ash |
| 767 | 768 |
| 768 #endif // ASH_SHELL_H_ | 769 #endif // ASH_SHELL_H_ |
| OLD | NEW |