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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 class CaptureController; | 84 class CaptureController; |
85 class DragDropController; | 85 class DragDropController; |
86 class EventClientImpl; | 86 class EventClientImpl; |
87 class EventRewriterEventFilter; | 87 class EventRewriterEventFilter; |
88 class FocusCycler; | 88 class FocusCycler; |
89 class MagnificationController; | 89 class MagnificationController; |
90 class MouseCursorEventFilter; | 90 class MouseCursorEventFilter; |
91 class OutputConfiguratorAnimation; | 91 class OutputConfiguratorAnimation; |
92 class OverlayEventFilter; | 92 class OverlayEventFilter; |
93 class PanelLayoutManager; | 93 class PanelLayoutManager; |
| 94 class PartialMagnificationController; |
94 class ResizeShadowController; | 95 class ResizeShadowController; |
95 class RootWindowController; | 96 class RootWindowController; |
96 class RootWindowLayoutManager; | 97 class RootWindowLayoutManager; |
97 class ScreenPositionController; | 98 class ScreenPositionController; |
98 class ShadowController; | 99 class ShadowController; |
99 class ShelfLayoutManager; | 100 class ShelfLayoutManager; |
100 class ShellContextMenu; | 101 class ShellContextMenu; |
101 class SlowAnimationEventFilter; | 102 class SlowAnimationEventFilter; |
102 class StackingController; | 103 class StackingController; |
103 class StatusAreaWidget; | 104 class StatusAreaWidget; |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 } | 301 } |
301 | 302 |
302 HighContrastController* high_contrast_controller() { | 303 HighContrastController* high_contrast_controller() { |
303 return high_contrast_controller_.get(); | 304 return high_contrast_controller_.get(); |
304 } | 305 } |
305 | 306 |
306 internal::MagnificationController* magnification_controller() { | 307 internal::MagnificationController* magnification_controller() { |
307 return magnification_controller_.get(); | 308 return magnification_controller_.get(); |
308 } | 309 } |
309 | 310 |
| 311 internal::PartialMagnificationController* partial_magnification_controller() { |
| 312 return partial_magnification_controller_.get(); |
| 313 } |
| 314 |
310 Launcher* launcher() { return launcher_.get(); } | 315 Launcher* launcher() { return launcher_.get(); } |
311 | 316 |
312 const ScreenAsh* screen() { return screen_; } | 317 const ScreenAsh* screen() { return screen_; } |
313 | 318 |
314 // Force the shelf to query for it's current visibility state. | 319 // Force the shelf to query for it's current visibility state. |
315 void UpdateShelfVisibility(); | 320 void UpdateShelfVisibility(); |
316 | 321 |
317 // Sets/gets the shelf auto-hide behavior. | 322 // Sets/gets the shelf auto-hide behavior. |
318 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior); | 323 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior); |
319 ShelfAutoHideBehavior GetShelfAutoHideBehavior() const; | 324 ShelfAutoHideBehavior GetShelfAutoHideBehavior() const; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 scoped_ptr<internal::VisibilityController> visibility_controller_; | 453 scoped_ptr<internal::VisibilityController> visibility_controller_; |
449 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; | 454 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; |
450 scoped_ptr<PowerButtonController> power_button_controller_; | 455 scoped_ptr<PowerButtonController> power_button_controller_; |
451 scoped_ptr<UserActivityDetector> user_activity_detector_; | 456 scoped_ptr<UserActivityDetector> user_activity_detector_; |
452 scoped_ptr<VideoDetector> video_detector_; | 457 scoped_ptr<VideoDetector> video_detector_; |
453 scoped_ptr<WindowCycleController> window_cycle_controller_; | 458 scoped_ptr<WindowCycleController> window_cycle_controller_; |
454 scoped_ptr<internal::FocusCycler> focus_cycler_; | 459 scoped_ptr<internal::FocusCycler> focus_cycler_; |
455 scoped_ptr<DisplayController> display_controller_; | 460 scoped_ptr<DisplayController> display_controller_; |
456 scoped_ptr<HighContrastController> high_contrast_controller_; | 461 scoped_ptr<HighContrastController> high_contrast_controller_; |
457 scoped_ptr<internal::MagnificationController> magnification_controller_; | 462 scoped_ptr<internal::MagnificationController> magnification_controller_; |
| 463 scoped_ptr<internal::PartialMagnificationController> |
| 464 partial_magnification_controller_; |
458 scoped_ptr<aura::FocusManager> focus_manager_; | 465 scoped_ptr<aura::FocusManager> focus_manager_; |
459 scoped_ptr<aura::client::UserActionClient> user_action_client_; | 466 scoped_ptr<aura::client::UserActionClient> user_action_client_; |
460 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; | 467 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; |
461 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; | 468 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; |
462 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; | 469 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; |
463 scoped_ptr<internal::EventClientImpl> event_client_; | 470 scoped_ptr<internal::EventClientImpl> event_client_; |
464 | 471 |
465 // An event filter that rewrites or drops an event. | 472 // An event filter that rewrites or drops an event. |
466 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; | 473 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; |
467 | 474 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 | 515 |
509 // Used by ash/shell. | 516 // Used by ash/shell. |
510 content::BrowserContext* browser_context_; | 517 content::BrowserContext* browser_context_; |
511 | 518 |
512 DISALLOW_COPY_AND_ASSIGN(Shell); | 519 DISALLOW_COPY_AND_ASSIGN(Shell); |
513 }; | 520 }; |
514 | 521 |
515 } // namespace ash | 522 } // namespace ash |
516 | 523 |
517 #endif // ASH_SHELL_H_ | 524 #endif // ASH_SHELL_H_ |
OLD | NEW |