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 <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 class ScopedOverviewAnimationSettingsFactoryAura; | 115 class ScopedOverviewAnimationSettingsFactoryAura; |
116 class ScopedTargetRootWindow; | 116 class ScopedTargetRootWindow; |
117 class ScreenAsh; | 117 class ScreenAsh; |
118 class ScreenOrientationController; | 118 class ScreenOrientationController; |
119 class ScreenshotController; | 119 class ScreenshotController; |
120 class ScreenPinningController; | 120 class ScreenPinningController; |
121 class ScreenPositionController; | 121 class ScreenPositionController; |
122 class SessionStateDelegate; | 122 class SessionStateDelegate; |
123 class Shelf; | 123 class Shelf; |
124 class ShelfDelegate; | 124 class ShelfDelegate; |
125 class ShelfItemDelegateManager; | |
126 class ShelfWindowWatcher; | 125 class ShelfWindowWatcher; |
127 class ShellDelegate; | 126 class ShellDelegate; |
128 struct ShellInitParams; | 127 struct ShellInitParams; |
129 class SlowAnimationEventFilter; | 128 class SlowAnimationEventFilter; |
130 class StatusAreaWidget; | 129 class StatusAreaWidget; |
131 class StickyKeysController; | 130 class StickyKeysController; |
132 class SystemGestureEventFilter; | 131 class SystemGestureEventFilter; |
133 class SystemModalContainerEventFilter; | 132 class SystemModalContainerEventFilter; |
134 class SystemTray; | 133 class SystemTray; |
135 class ToplevelWindowEventHandler; | 134 class ToplevelWindowEventHandler; |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 } | 361 } |
363 | 362 |
364 AutoclickController* autoclick_controller() { | 363 AutoclickController* autoclick_controller() { |
365 return autoclick_controller_.get(); | 364 return autoclick_controller_.get(); |
366 } | 365 } |
367 | 366 |
368 aura::client::ActivationClient* activation_client() { | 367 aura::client::ActivationClient* activation_client() { |
369 return activation_client_; | 368 return activation_client_; |
370 } | 369 } |
371 | 370 |
372 ShelfItemDelegateManager* shelf_item_delegate_manager() { | |
373 return shelf_item_delegate_manager_.get(); | |
374 } | |
375 | |
376 base::SequencedWorkerPool* blocking_pool() { return blocking_pool_; } | 371 base::SequencedWorkerPool* blocking_pool() { return blocking_pool_; } |
377 | 372 |
378 // Force the shelf to query for it's current visibility state. | 373 // Force the shelf to query for it's current visibility state. |
379 // TODO(jamescook): Move to Shelf. | 374 // TODO(jamescook): Move to Shelf. |
380 void UpdateShelfVisibility(); | 375 void UpdateShelfVisibility(); |
381 | 376 |
382 // Called when the alignment for a shelf changes. | 377 // Called when the alignment for a shelf changes. |
383 // TODO(jamescook): Move to Shelf. | 378 // TODO(jamescook): Move to Shelf. |
384 void OnShelfAlignmentChanged(WmWindow* root_window); | 379 void OnShelfAlignmentChanged(WmWindow* root_window); |
385 | 380 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 std::vector<WindowAndBoundsPair> to_restore_; | 549 std::vector<WindowAndBoundsPair> to_restore_; |
555 | 550 |
556 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; | 551 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; |
557 std::unique_ptr<AcceleratorControllerDelegateAura> | 552 std::unique_ptr<AcceleratorControllerDelegateAura> |
558 accelerator_controller_delegate_; | 553 accelerator_controller_delegate_; |
559 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 554 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
560 std::unique_ptr<SessionStateDelegate> session_state_delegate_; | 555 std::unique_ptr<SessionStateDelegate> session_state_delegate_; |
561 std::unique_ptr<NewWindowDelegate> new_window_delegate_; | 556 std::unique_ptr<NewWindowDelegate> new_window_delegate_; |
562 std::unique_ptr<PointerDownWatcherDelegate> pointer_down_watcher_delegate_; | 557 std::unique_ptr<PointerDownWatcherDelegate> pointer_down_watcher_delegate_; |
563 std::unique_ptr<ShelfDelegate> shelf_delegate_; | 558 std::unique_ptr<ShelfDelegate> shelf_delegate_; |
564 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_; | |
565 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; | 559 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; |
566 std::unique_ptr<WindowPositioner> window_positioner_; | 560 std::unique_ptr<WindowPositioner> window_positioner_; |
567 | 561 |
568 std::unique_ptr<DragDropController> drag_drop_controller_; | 562 std::unique_ptr<DragDropController> drag_drop_controller_; |
569 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; | 563 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; |
570 std::unique_ptr<::wm::ShadowController> shadow_controller_; | 564 std::unique_ptr<::wm::ShadowController> shadow_controller_; |
571 std::unique_ptr<::wm::VisibilityController> visibility_controller_; | 565 std::unique_ptr<::wm::VisibilityController> visibility_controller_; |
572 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_; | 566 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_; |
573 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_; | 567 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_; |
574 std::unique_ptr<DesktopBackgroundController> desktop_background_controller_; | 568 std::unique_ptr<DesktopBackgroundController> desktop_background_controller_; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 base::SequencedWorkerPool* blocking_pool_; | 660 base::SequencedWorkerPool* blocking_pool_; |
667 | 661 |
668 bool in_mus_ = false; | 662 bool in_mus_ = false; |
669 | 663 |
670 DISALLOW_COPY_AND_ASSIGN(Shell); | 664 DISALLOW_COPY_AND_ASSIGN(Shell); |
671 }; | 665 }; |
672 | 666 |
673 } // namespace ash | 667 } // namespace ash |
674 | 668 |
675 #endif // ASH_SHELL_H_ | 669 #endif // ASH_SHELL_H_ |
OLD | NEW |