| 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 |
| 11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
| 12 #include "ash/system/user/login_status.h" | 12 #include "ash/system/user/login_status.h" |
| 13 #include "ash/wm/cursor_manager.h" | 13 #include "ash/wm/cursor_manager.h" |
| 14 #include "ash/wm/shelf_types.h" | 14 #include "ash/wm/shelf_types.h" |
| 15 #include "ash/wm/system_modal_container_event_filter_delegate.h" | 15 #include "ash/wm/system_modal_container_event_filter_delegate.h" |
| 16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
| 17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
| 18 #include "base/gtest_prod_util.h" | 18 #include "base/gtest_prod_util.h" |
| 19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 20 #include "base/observer_list.h" | 20 #include "base/observer_list.h" |
| 21 #include "ui/base/events/event_target.h" | 21 #include "ui/base/events/event_target.h" |
| 22 #include "ui/gfx/insets.h" | 22 #include "ui/gfx/insets.h" |
| 23 #include "ui/gfx/screen.h" | 23 #include "ui/gfx/screen.h" |
| 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; | |
| 31 class RootWindow; | 30 class RootWindow; |
| 32 class Window; | 31 class Window; |
| 33 namespace client { | 32 namespace client { |
| 33 class FocusClient; |
| 34 class StackingClient; | 34 class StackingClient; |
| 35 class UserActionClient; | 35 class UserActionClient; |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 namespace chromeos { | 38 namespace chromeos { |
| 39 class OutputConfigurator; | 39 class OutputConfigurator; |
| 40 } | 40 } |
| 41 namespace content { | 41 namespace content { |
| 42 class BrowserContext; | 42 class BrowserContext; |
| 43 } | 43 } |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 scoped_ptr<PowerButtonController> power_button_controller_; | 498 scoped_ptr<PowerButtonController> power_button_controller_; |
| 499 scoped_ptr<SessionStateController> session_state_controller_; | 499 scoped_ptr<SessionStateController> session_state_controller_; |
| 500 scoped_ptr<UserActivityDetector> user_activity_detector_; | 500 scoped_ptr<UserActivityDetector> user_activity_detector_; |
| 501 scoped_ptr<VideoDetector> video_detector_; | 501 scoped_ptr<VideoDetector> video_detector_; |
| 502 scoped_ptr<WindowCycleController> window_cycle_controller_; | 502 scoped_ptr<WindowCycleController> window_cycle_controller_; |
| 503 scoped_ptr<internal::FocusCycler> focus_cycler_; | 503 scoped_ptr<internal::FocusCycler> focus_cycler_; |
| 504 scoped_ptr<DisplayController> display_controller_; | 504 scoped_ptr<DisplayController> display_controller_; |
| 505 scoped_ptr<HighContrastController> high_contrast_controller_; | 505 scoped_ptr<HighContrastController> high_contrast_controller_; |
| 506 scoped_ptr<MagnificationController> magnification_controller_; | 506 scoped_ptr<MagnificationController> magnification_controller_; |
| 507 scoped_ptr<PartialMagnificationController> partial_magnification_controller_; | 507 scoped_ptr<PartialMagnificationController> partial_magnification_controller_; |
| 508 scoped_ptr<aura::FocusManager> focus_manager_; | 508 scoped_ptr<aura::client::FocusClient> focus_client_; |
| 509 scoped_ptr<aura::client::UserActionClient> user_action_client_; | 509 scoped_ptr<aura::client::UserActionClient> user_action_client_; |
| 510 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; | 510 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; |
| 511 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; | 511 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; |
| 512 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; | 512 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; |
| 513 scoped_ptr<internal::EventClientImpl> event_client_; | 513 scoped_ptr<internal::EventClientImpl> event_client_; |
| 514 | 514 |
| 515 // An event filter that rewrites or drops an event. | 515 // An event filter that rewrites or drops an event. |
| 516 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; | 516 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; |
| 517 | 517 |
| 518 // An event filter that pre-handles key events while the partial | 518 // An event filter that pre-handles key events while the partial |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 | 555 |
| 556 // For testing only: simulate that a modal window is open | 556 // For testing only: simulate that a modal window is open |
| 557 bool simulate_modal_window_open_for_testing_; | 557 bool simulate_modal_window_open_for_testing_; |
| 558 | 558 |
| 559 DISALLOW_COPY_AND_ASSIGN(Shell); | 559 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 560 }; | 560 }; |
| 561 | 561 |
| 562 } // namespace ash | 562 } // namespace ash |
| 563 | 563 |
| 564 #endif // ASH_SHELL_H_ | 564 #endif // ASH_SHELL_H_ |
| OLD | NEW |