| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 class VideoDetector; | 96 class VideoDetector; |
| 97 class WebNotificationTray; | 97 class WebNotificationTray; |
| 98 class WindowCycleController; | 98 class WindowCycleController; |
| 99 | 99 |
| 100 namespace internal { | 100 namespace internal { |
| 101 class AcceleratorFilter; | 101 class AcceleratorFilter; |
| 102 class ActivationController; | 102 class ActivationController; |
| 103 class AppListController; | 103 class AppListController; |
| 104 class CaptureController; | 104 class CaptureController; |
| 105 class DisplayChangeObserverX11; | 105 class DisplayChangeObserverX11; |
| 106 class DisplayErrorObserver; |
| 106 class DisplayManager; | 107 class DisplayManager; |
| 107 class DragDropController; | 108 class DragDropController; |
| 108 class EventClientImpl; | 109 class EventClientImpl; |
| 109 class EventRewriterEventFilter; | 110 class EventRewriterEventFilter; |
| 110 class EventTransformationHandler; | 111 class EventTransformationHandler; |
| 111 class FocusCycler; | 112 class FocusCycler; |
| 112 class MouseCursorEventFilter; | 113 class MouseCursorEventFilter; |
| 113 class OutputConfiguratorAnimation; | 114 class OutputConfiguratorAnimation; |
| 114 class OverlayEventFilter; | 115 class OverlayEventFilter; |
| 115 class ResizeShadowController; | 116 class ResizeShadowController; |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 // Starts the animation that occurs on first login. | 428 // Starts the animation that occurs on first login. |
| 428 void DoInitialWorkspaceAnimation(); | 429 void DoInitialWorkspaceAnimation(); |
| 429 | 430 |
| 430 #if defined(OS_CHROMEOS) | 431 #if defined(OS_CHROMEOS) |
| 431 chromeos::OutputConfigurator* output_configurator() { | 432 chromeos::OutputConfigurator* output_configurator() { |
| 432 return output_configurator_.get(); | 433 return output_configurator_.get(); |
| 433 } | 434 } |
| 434 internal::OutputConfiguratorAnimation* output_configurator_animation() { | 435 internal::OutputConfiguratorAnimation* output_configurator_animation() { |
| 435 return output_configurator_animation_.get(); | 436 return output_configurator_animation_.get(); |
| 436 } | 437 } |
| 438 internal::DisplayErrorObserver* display_error_observer() { |
| 439 return display_error_observer_.get(); |
| 440 } |
| 437 #endif // defined(OS_CHROMEOS) | 441 #endif // defined(OS_CHROMEOS) |
| 438 | 442 |
| 439 RootWindowHostFactory* root_window_host_factory() { | 443 RootWindowHostFactory* root_window_host_factory() { |
| 440 return root_window_host_factory_.get(); | 444 return root_window_host_factory_.get(); |
| 441 } | 445 } |
| 442 | 446 |
| 443 // MessageCenter is a global list of currently displayed notifications. | 447 // MessageCenter is a global list of currently displayed notifications. |
| 444 message_center::MessageCenter* message_center(); | 448 message_center::MessageCenter* message_center(); |
| 445 | 449 |
| 446 private: | 450 private: |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 // a heads-up display. This is enabled only if --ash-touch-hud flag is used. | 576 // a heads-up display. This is enabled only if --ash-touch-hud flag is used. |
| 573 scoped_ptr<internal::TouchObserverHUD> touch_observer_hud_; | 577 scoped_ptr<internal::TouchObserverHUD> touch_observer_hud_; |
| 574 | 578 |
| 575 scoped_ptr<internal::DisplayManager> display_manager_; | 579 scoped_ptr<internal::DisplayManager> display_manager_; |
| 576 | 580 |
| 577 #if defined(OS_CHROMEOS) | 581 #if defined(OS_CHROMEOS) |
| 578 // Controls video output device state. | 582 // Controls video output device state. |
| 579 scoped_ptr<chromeos::OutputConfigurator> output_configurator_; | 583 scoped_ptr<chromeos::OutputConfigurator> output_configurator_; |
| 580 scoped_ptr<internal::OutputConfiguratorAnimation> | 584 scoped_ptr<internal::OutputConfiguratorAnimation> |
| 581 output_configurator_animation_; | 585 output_configurator_animation_; |
| 586 scoped_ptr<internal::DisplayErrorObserver> display_error_observer_; |
| 582 | 587 |
| 583 // Receives output change events and udpates the display manager. | 588 // Receives output change events and udpates the display manager. |
| 584 scoped_ptr<internal::DisplayChangeObserverX11> display_change_observer_; | 589 scoped_ptr<internal::DisplayChangeObserverX11> display_change_observer_; |
| 585 #endif // defined(OS_CHROMEOS) | 590 #endif // defined(OS_CHROMEOS) |
| 586 | 591 |
| 587 scoped_ptr<message_center::MessageCenter> message_center_; | 592 scoped_ptr<message_center::MessageCenter> message_center_; |
| 588 | 593 |
| 589 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a | 594 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a |
| 590 // pointer to vend to test code. | 595 // pointer to vend to test code. |
| 591 AshNativeCursorManager* native_cursor_manager_; | 596 AshNativeCursorManager* native_cursor_manager_; |
| 592 views::corewm::CursorManager cursor_manager_; | 597 views::corewm::CursorManager cursor_manager_; |
| 593 | 598 |
| 594 ObserverList<ShellObserver> observers_; | 599 ObserverList<ShellObserver> observers_; |
| 595 | 600 |
| 596 // Used by ash/shell. | 601 // Used by ash/shell. |
| 597 content::BrowserContext* browser_context_; | 602 content::BrowserContext* browser_context_; |
| 598 | 603 |
| 599 // For testing only: simulate that a modal window is open | 604 // For testing only: simulate that a modal window is open |
| 600 bool simulate_modal_window_open_for_testing_; | 605 bool simulate_modal_window_open_for_testing_; |
| 601 | 606 |
| 602 DISALLOW_COPY_AND_ASSIGN(Shell); | 607 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 603 }; | 608 }; |
| 604 | 609 |
| 605 } // namespace ash | 610 } // namespace ash |
| 606 | 611 |
| 607 #endif // ASH_SHELL_H_ | 612 #endif // ASH_SHELL_H_ |
| OLD | NEW |