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 } | 37 } |
37 namespace chromeos { | 38 namespace chromeos { |
38 class OutputConfigurator; | 39 class OutputConfigurator; |
39 } | 40 } |
40 namespace content { | 41 namespace content { |
41 class BrowserContext; | 42 class BrowserContext; |
42 } | 43 } |
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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 | 398 |
399 #if defined(OS_CHROMEOS) | 399 #if defined(OS_CHROMEOS) |
400 chromeos::OutputConfigurator* output_configurator() { | 400 chromeos::OutputConfigurator* output_configurator() { |
401 return output_configurator_.get(); | 401 return output_configurator_.get(); |
402 } | 402 } |
403 internal::OutputConfiguratorAnimation* output_configurator_animation() { | 403 internal::OutputConfiguratorAnimation* output_configurator_animation() { |
404 return output_configurator_animation_.get(); | 404 return output_configurator_animation_.get(); |
405 } | 405 } |
406 #endif // defined(OS_CHROMEOS) | 406 #endif // defined(OS_CHROMEOS) |
407 | 407 |
| 408 aura::client::StackingClient* stacking_client(); |
| 409 |
408 private: | 410 private: |
409 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); | 411 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); |
410 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); | 412 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); |
411 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); | 413 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); |
412 friend class internal::RootWindowController; | 414 friend class internal::RootWindowController; |
413 | 415 |
414 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; | 416 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; |
415 | 417 |
416 explicit Shell(ShellDelegate* delegate); | 418 explicit Shell(ShellDelegate* delegate); |
417 virtual ~Shell(); | 419 virtual ~Shell(); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 scoped_ptr<AcceleratorController> accelerator_controller_; | 458 scoped_ptr<AcceleratorController> accelerator_controller_; |
457 #endif // !defined(OS_MACOSX) | 459 #endif // !defined(OS_MACOSX) |
458 | 460 |
459 scoped_ptr<ShellDelegate> delegate_; | 461 scoped_ptr<ShellDelegate> delegate_; |
460 scoped_ptr<SystemTrayDelegate> system_tray_delegate_; | 462 scoped_ptr<SystemTrayDelegate> system_tray_delegate_; |
461 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 463 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
462 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; | 464 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; |
463 | 465 |
464 scoped_ptr<internal::AppListController> app_list_controller_; | 466 scoped_ptr<internal::AppListController> app_list_controller_; |
465 | 467 |
466 scoped_ptr<internal::StackingController> stacking_controller_; | 468 scoped_ptr<aura::client::StackingClient> stacking_client_; |
467 scoped_ptr<internal::ActivationController> activation_controller_; | 469 scoped_ptr<internal::ActivationController> activation_controller_; |
468 scoped_ptr<internal::CaptureController> capture_controller_; | 470 scoped_ptr<internal::CaptureController> capture_controller_; |
469 scoped_ptr<internal::WindowModalityController> window_modality_controller_; | 471 scoped_ptr<internal::WindowModalityController> window_modality_controller_; |
470 scoped_ptr<internal::DragDropController> drag_drop_controller_; | 472 scoped_ptr<internal::DragDropController> drag_drop_controller_; |
471 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; | 473 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; |
472 scoped_ptr<internal::ShadowController> shadow_controller_; | 474 scoped_ptr<internal::ShadowController> shadow_controller_; |
473 scoped_ptr<internal::TooltipController> tooltip_controller_; | 475 scoped_ptr<internal::TooltipController> tooltip_controller_; |
474 scoped_ptr<internal::VisibilityController> visibility_controller_; | 476 scoped_ptr<internal::VisibilityController> visibility_controller_; |
475 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; | 477 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; |
476 scoped_ptr<PowerButtonController> power_button_controller_; | 478 scoped_ptr<PowerButtonController> power_button_controller_; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 | 529 |
528 // For testing only: simulate that a modal window is open | 530 // For testing only: simulate that a modal window is open |
529 bool simulate_modal_window_open_for_testing_; | 531 bool simulate_modal_window_open_for_testing_; |
530 | 532 |
531 DISALLOW_COPY_AND_ASSIGN(Shell); | 533 DISALLOW_COPY_AND_ASSIGN(Shell); |
532 }; | 534 }; |
533 | 535 |
534 } // namespace ash | 536 } // namespace ash |
535 | 537 |
536 #endif // ASH_SHELL_H_ | 538 #endif // ASH_SHELL_H_ |
OLD | NEW |