| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class Layer; | 51 class Layer; |
| 52 } | 52 } |
| 53 namespace views { | 53 namespace views { |
| 54 class NonClientFrameView; | 54 class NonClientFrameView; |
| 55 class Widget; | 55 class Widget; |
| 56 namespace corewm { | 56 namespace corewm { |
| 57 class CompoundEventFilter; | 57 class CompoundEventFilter; |
| 58 class InputMethodEventFilter; | 58 class InputMethodEventFilter; |
| 59 class ShadowController; | 59 class ShadowController; |
| 60 class VisibilityController; | 60 class VisibilityController; |
| 61 class WindowModalityController; |
| 61 } | 62 } |
| 62 } | 63 } |
| 63 | 64 |
| 64 namespace ash { | 65 namespace ash { |
| 65 | 66 |
| 66 class AcceleratorController; | 67 class AcceleratorController; |
| 67 class CapsLockDelegate; | 68 class CapsLockDelegate; |
| 68 class DesktopBackgroundController; | 69 class DesktopBackgroundController; |
| 69 class DisplayController; | 70 class DisplayController; |
| 70 class HighContrastController; | 71 class HighContrastController; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 class ResizeShadowController; | 104 class ResizeShadowController; |
| 104 class RootWindowController; | 105 class RootWindowController; |
| 105 class RootWindowLayoutManager; | 106 class RootWindowLayoutManager; |
| 106 class ScreenPositionController; | 107 class ScreenPositionController; |
| 107 class SlowAnimationEventFilter; | 108 class SlowAnimationEventFilter; |
| 108 class StatusAreaWidget; | 109 class StatusAreaWidget; |
| 109 class SystemGestureEventFilter; | 110 class SystemGestureEventFilter; |
| 110 class SystemModalContainerEventFilter; | 111 class SystemModalContainerEventFilter; |
| 111 class TooltipController; | 112 class TooltipController; |
| 112 class TouchObserverHUD; | 113 class TouchObserverHUD; |
| 113 class WindowModalityController; | |
| 114 class WorkspaceController; | 114 class WorkspaceController; |
| 115 } | 115 } |
| 116 | 116 |
| 117 // Shell is a singleton object that presents the Shell API and implements the | 117 // Shell is a singleton object that presents the Shell API and implements the |
| 118 // RootWindow's delegate interface. | 118 // RootWindow's delegate interface. |
| 119 // | 119 // |
| 120 // Upon creation, the Shell sets itself as the RootWindow's delegate, which | 120 // Upon creation, the Shell sets itself as the RootWindow's delegate, which |
| 121 // takes ownership of the Shell. | 121 // takes ownership of the Shell. |
| 122 class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate, | 122 class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate, |
| 123 public ui::EventTarget { | 123 public ui::EventTarget { |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 scoped_ptr<SystemTrayDelegate> system_tray_delegate_; | 481 scoped_ptr<SystemTrayDelegate> system_tray_delegate_; |
| 482 scoped_ptr<SystemTrayNotifier> system_tray_notifier_; | 482 scoped_ptr<SystemTrayNotifier> system_tray_notifier_; |
| 483 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 483 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
| 484 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; | 484 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; |
| 485 | 485 |
| 486 scoped_ptr<internal::AppListController> app_list_controller_; | 486 scoped_ptr<internal::AppListController> app_list_controller_; |
| 487 | 487 |
| 488 scoped_ptr<aura::client::StackingClient> stacking_client_; | 488 scoped_ptr<aura::client::StackingClient> stacking_client_; |
| 489 scoped_ptr<internal::ActivationController> activation_controller_; | 489 scoped_ptr<internal::ActivationController> activation_controller_; |
| 490 scoped_ptr<internal::CaptureController> capture_controller_; | 490 scoped_ptr<internal::CaptureController> capture_controller_; |
| 491 scoped_ptr<internal::WindowModalityController> window_modality_controller_; | |
| 492 scoped_ptr<internal::DragDropController> drag_drop_controller_; | 491 scoped_ptr<internal::DragDropController> drag_drop_controller_; |
| 493 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; | 492 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; |
| 494 scoped_ptr<views::corewm::ShadowController> shadow_controller_; | 493 scoped_ptr<views::corewm::ShadowController> shadow_controller_; |
| 495 scoped_ptr<views::corewm::VisibilityController> visibility_controller_; | 494 scoped_ptr<views::corewm::VisibilityController> visibility_controller_; |
| 495 scoped_ptr<views::corewm::WindowModalityController> |
| 496 window_modality_controller_; |
| 496 scoped_ptr<internal::TooltipController> tooltip_controller_; | 497 scoped_ptr<internal::TooltipController> tooltip_controller_; |
| 497 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; | 498 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; |
| 498 scoped_ptr<PowerButtonController> power_button_controller_; | 499 scoped_ptr<PowerButtonController> power_button_controller_; |
| 499 scoped_ptr<SessionStateController> session_state_controller_; | 500 scoped_ptr<SessionStateController> session_state_controller_; |
| 500 scoped_ptr<UserActivityDetector> user_activity_detector_; | 501 scoped_ptr<UserActivityDetector> user_activity_detector_; |
| 501 scoped_ptr<VideoDetector> video_detector_; | 502 scoped_ptr<VideoDetector> video_detector_; |
| 502 scoped_ptr<WindowCycleController> window_cycle_controller_; | 503 scoped_ptr<WindowCycleController> window_cycle_controller_; |
| 503 scoped_ptr<internal::FocusCycler> focus_cycler_; | 504 scoped_ptr<internal::FocusCycler> focus_cycler_; |
| 504 scoped_ptr<DisplayController> display_controller_; | 505 scoped_ptr<DisplayController> display_controller_; |
| 505 scoped_ptr<HighContrastController> high_contrast_controller_; | 506 scoped_ptr<HighContrastController> high_contrast_controller_; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 | 556 |
| 556 // For testing only: simulate that a modal window is open | 557 // For testing only: simulate that a modal window is open |
| 557 bool simulate_modal_window_open_for_testing_; | 558 bool simulate_modal_window_open_for_testing_; |
| 558 | 559 |
| 559 DISALLOW_COPY_AND_ASSIGN(Shell); | 560 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 560 }; | 561 }; |
| 561 | 562 |
| 562 } // namespace ash | 563 } // namespace ash |
| 563 | 564 |
| 564 #endif // ASH_SHELL_H_ | 565 #endif // ASH_SHELL_H_ |
| OLD | NEW |