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 13 matching lines...) Expand all Loading... |
24 #include "ui/gfx/size.h" | 24 #include "ui/gfx/size.h" |
25 | 25 |
26 class CommandLine; | 26 class CommandLine; |
27 | 27 |
28 namespace aura { | 28 namespace aura { |
29 class EventFilter; | 29 class EventFilter; |
30 class FocusManager; | 30 class FocusManager; |
31 class RootWindow; | 31 class RootWindow; |
32 class Window; | 32 class Window; |
33 namespace client { | 33 namespace client { |
| 34 class StackingClient; |
34 class UserActionClient; | 35 class UserActionClient; |
35 } | 36 } |
36 namespace shared { | 37 namespace shared { |
37 class CompoundEventFilter; | 38 class CompoundEventFilter; |
38 class InputMethodEventFilter; | 39 class InputMethodEventFilter; |
39 } | 40 } |
40 } | 41 } |
41 namespace chromeos { | 42 namespace chromeos { |
42 class OutputConfigurator; | 43 class OutputConfigurator; |
43 } | 44 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 class MagnificationController; | 93 class MagnificationController; |
93 class MouseCursorEventFilter; | 94 class MouseCursorEventFilter; |
94 class OutputConfiguratorAnimation; | 95 class OutputConfiguratorAnimation; |
95 class OverlayEventFilter; | 96 class OverlayEventFilter; |
96 class ResizeShadowController; | 97 class ResizeShadowController; |
97 class RootWindowController; | 98 class RootWindowController; |
98 class RootWindowLayoutManager; | 99 class RootWindowLayoutManager; |
99 class ScreenPositionController; | 100 class ScreenPositionController; |
100 class ShadowController; | 101 class ShadowController; |
101 class SlowAnimationEventFilter; | 102 class SlowAnimationEventFilter; |
102 class StackingController; | |
103 class StatusAreaWidget; | 103 class StatusAreaWidget; |
104 class SystemGestureEventFilter; | 104 class SystemGestureEventFilter; |
105 class SystemModalContainerEventFilter; | 105 class SystemModalContainerEventFilter; |
106 class TooltipController; | 106 class TooltipController; |
107 class TouchObserverHUD; | 107 class TouchObserverHUD; |
108 class VisibilityController; | 108 class VisibilityController; |
109 class WindowModalityController; | 109 class WindowModalityController; |
110 class WorkspaceController; | 110 class WorkspaceController; |
111 } | 111 } |
112 | 112 |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 | 403 |
404 #if defined(OS_CHROMEOS) | 404 #if defined(OS_CHROMEOS) |
405 chromeos::OutputConfigurator* output_configurator() { | 405 chromeos::OutputConfigurator* output_configurator() { |
406 return output_configurator_.get(); | 406 return output_configurator_.get(); |
407 } | 407 } |
408 internal::OutputConfiguratorAnimation* output_configurator_animation() { | 408 internal::OutputConfiguratorAnimation* output_configurator_animation() { |
409 return output_configurator_animation_.get(); | 409 return output_configurator_animation_.get(); |
410 } | 410 } |
411 #endif // defined(OS_CHROMEOS) | 411 #endif // defined(OS_CHROMEOS) |
412 | 412 |
| 413 aura::client::StackingClient* stacking_client(); |
| 414 |
413 private: | 415 private: |
414 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); | 416 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); |
415 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); | 417 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); |
416 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); | 418 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); |
417 friend class internal::RootWindowController; | 419 friend class internal::RootWindowController; |
418 | 420 |
419 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; | 421 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; |
420 | 422 |
421 explicit Shell(ShellDelegate* delegate); | 423 explicit Shell(ShellDelegate* delegate); |
422 virtual ~Shell(); | 424 virtual ~Shell(); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 scoped_ptr<AcceleratorController> accelerator_controller_; | 463 scoped_ptr<AcceleratorController> accelerator_controller_; |
462 #endif // !defined(OS_MACOSX) | 464 #endif // !defined(OS_MACOSX) |
463 | 465 |
464 scoped_ptr<ShellDelegate> delegate_; | 466 scoped_ptr<ShellDelegate> delegate_; |
465 scoped_ptr<SystemTrayDelegate> system_tray_delegate_; | 467 scoped_ptr<SystemTrayDelegate> system_tray_delegate_; |
466 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 468 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
467 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; | 469 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; |
468 | 470 |
469 scoped_ptr<internal::AppListController> app_list_controller_; | 471 scoped_ptr<internal::AppListController> app_list_controller_; |
470 | 472 |
471 scoped_ptr<internal::StackingController> stacking_controller_; | 473 scoped_ptr<aura::client::StackingClient> stacking_client_; |
472 scoped_ptr<internal::ActivationController> activation_controller_; | 474 scoped_ptr<internal::ActivationController> activation_controller_; |
473 scoped_ptr<internal::CaptureController> capture_controller_; | 475 scoped_ptr<internal::CaptureController> capture_controller_; |
474 scoped_ptr<internal::WindowModalityController> window_modality_controller_; | 476 scoped_ptr<internal::WindowModalityController> window_modality_controller_; |
475 scoped_ptr<internal::DragDropController> drag_drop_controller_; | 477 scoped_ptr<internal::DragDropController> drag_drop_controller_; |
476 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; | 478 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; |
477 scoped_ptr<internal::ShadowController> shadow_controller_; | 479 scoped_ptr<internal::ShadowController> shadow_controller_; |
478 scoped_ptr<internal::TooltipController> tooltip_controller_; | 480 scoped_ptr<internal::TooltipController> tooltip_controller_; |
479 scoped_ptr<internal::VisibilityController> visibility_controller_; | 481 scoped_ptr<internal::VisibilityController> visibility_controller_; |
480 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; | 482 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; |
481 scoped_ptr<PowerButtonController> power_button_controller_; | 483 scoped_ptr<PowerButtonController> power_button_controller_; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 | 534 |
533 // For testing only: simulate that a modal window is open | 535 // For testing only: simulate that a modal window is open |
534 bool simulate_modal_window_open_for_testing_; | 536 bool simulate_modal_window_open_for_testing_; |
535 | 537 |
536 DISALLOW_COPY_AND_ASSIGN(Shell); | 538 DISALLOW_COPY_AND_ASSIGN(Shell); |
537 }; | 539 }; |
538 | 540 |
539 } // namespace ash | 541 } // namespace ash |
540 | 542 |
541 #endif // ASH_SHELL_H_ | 543 #endif // ASH_SHELL_H_ |
OLD | NEW |