| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 namespace internal { | 95 namespace internal { |
| 96 class AcceleratorFilter; | 96 class AcceleratorFilter; |
| 97 class ActivationController; | 97 class ActivationController; |
| 98 class AppListController; | 98 class AppListController; |
| 99 class CaptureController; | 99 class CaptureController; |
| 100 class DisplayChangeObserverX11; | 100 class DisplayChangeObserverX11; |
| 101 class DisplayManager; | 101 class DisplayManager; |
| 102 class DragDropController; | 102 class DragDropController; |
| 103 class EventClientImpl; | 103 class EventClientImpl; |
| 104 class EventRewriterEventFilter; | 104 class EventRewriterEventFilter; |
| 105 class EventTransformationHandler; |
| 105 class FocusCycler; | 106 class FocusCycler; |
| 106 class MouseCursorEventFilter; | 107 class MouseCursorEventFilter; |
| 107 class OutputConfiguratorAnimation; | 108 class OutputConfiguratorAnimation; |
| 108 class OverlayEventFilter; | 109 class OverlayEventFilter; |
| 109 class ResizeShadowController; | 110 class ResizeShadowController; |
| 110 class RootWindowController; | 111 class RootWindowController; |
| 111 class RootWindowLayoutManager; | 112 class RootWindowLayoutManager; |
| 112 class ScreenPositionController; | 113 class ScreenPositionController; |
| 113 class SlowAnimationEventFilter; | 114 class SlowAnimationEventFilter; |
| 114 class StatusAreaWidget; | 115 class StatusAreaWidget; |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 } | 311 } |
| 311 internal::FocusCycler* focus_cycler() { | 312 internal::FocusCycler* focus_cycler() { |
| 312 return focus_cycler_.get(); | 313 return focus_cycler_.get(); |
| 313 } | 314 } |
| 314 DisplayController* display_controller() { | 315 DisplayController* display_controller() { |
| 315 return display_controller_.get(); | 316 return display_controller_.get(); |
| 316 } | 317 } |
| 317 internal::MouseCursorEventFilter* mouse_cursor_filter() { | 318 internal::MouseCursorEventFilter* mouse_cursor_filter() { |
| 318 return mouse_cursor_filter_.get(); | 319 return mouse_cursor_filter_.get(); |
| 319 } | 320 } |
| 321 internal::EventTransformationHandler* event_transformation_handler() { |
| 322 return event_transformation_handler_.get(); |
| 323 } |
| 320 CursorManager* cursor_manager() { return &cursor_manager_; } | 324 CursorManager* cursor_manager() { return &cursor_manager_; } |
| 321 | 325 |
| 322 ShellDelegate* delegate() { return delegate_.get(); } | 326 ShellDelegate* delegate() { return delegate_.get(); } |
| 323 | 327 |
| 324 UserWallpaperDelegate* user_wallpaper_delegate() { | 328 UserWallpaperDelegate* user_wallpaper_delegate() { |
| 325 return user_wallpaper_delegate_.get(); | 329 return user_wallpaper_delegate_.get(); |
| 326 } | 330 } |
| 327 | 331 |
| 328 CapsLockDelegate* caps_lock_delegate() { | 332 CapsLockDelegate* caps_lock_delegate() { |
| 329 return caps_lock_delegate_.get(); | 333 return caps_lock_delegate_.get(); |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 scoped_ptr<HighContrastController> high_contrast_controller_; | 532 scoped_ptr<HighContrastController> high_contrast_controller_; |
| 529 scoped_ptr<MagnificationController> magnification_controller_; | 533 scoped_ptr<MagnificationController> magnification_controller_; |
| 530 scoped_ptr<PartialMagnificationController> partial_magnification_controller_; | 534 scoped_ptr<PartialMagnificationController> partial_magnification_controller_; |
| 531 scoped_ptr<aura::client::FocusClient> focus_client_; | 535 scoped_ptr<aura::client::FocusClient> focus_client_; |
| 532 scoped_ptr<aura::client::UserActionClient> user_action_client_; | 536 scoped_ptr<aura::client::UserActionClient> user_action_client_; |
| 533 aura::client::ActivationClient* activation_client_; | 537 aura::client::ActivationClient* activation_client_; |
| 534 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; | 538 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; |
| 535 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; | 539 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; |
| 536 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; | 540 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; |
| 537 scoped_ptr<internal::EventClientImpl> event_client_; | 541 scoped_ptr<internal::EventClientImpl> event_client_; |
| 542 scoped_ptr<internal::EventTransformationHandler> |
| 543 event_transformation_handler_; |
| 538 scoped_ptr<RootWindowHostFactory> root_window_host_factory_; | 544 scoped_ptr<RootWindowHostFactory> root_window_host_factory_; |
| 539 | 545 |
| 540 // An event filter that rewrites or drops an event. | 546 // An event filter that rewrites or drops an event. |
| 541 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; | 547 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; |
| 542 | 548 |
| 543 // An event filter that pre-handles key events while the partial | 549 // An event filter that pre-handles key events while the partial |
| 544 // screenshot UI or the keyboard overlay is active. | 550 // screenshot UI or the keyboard overlay is active. |
| 545 scoped_ptr<internal::OverlayEventFilter> overlay_filter_; | 551 scoped_ptr<internal::OverlayEventFilter> overlay_filter_; |
| 546 | 552 |
| 547 // An event filter which handles system level gestures | 553 // An event filter which handles system level gestures |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 | 586 |
| 581 // For testing only: simulate that a modal window is open | 587 // For testing only: simulate that a modal window is open |
| 582 bool simulate_modal_window_open_for_testing_; | 588 bool simulate_modal_window_open_for_testing_; |
| 583 | 589 |
| 584 DISALLOW_COPY_AND_ASSIGN(Shell); | 590 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 585 }; | 591 }; |
| 586 | 592 |
| 587 } // namespace ash | 593 } // namespace ash |
| 588 | 594 |
| 589 #endif // ASH_SHELL_H_ | 595 #endif // ASH_SHELL_H_ |
| OLD | NEW |