| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 class DisplayErrorObserver; | 91 class DisplayErrorObserver; |
| 92 class DisplayManager; | 92 class DisplayManager; |
| 93 class DragDropController; | 93 class DragDropController; |
| 94 class EventClientImpl; | 94 class EventClientImpl; |
| 95 class EventRewriterEventFilter; | 95 class EventRewriterEventFilter; |
| 96 class EventTransformationHandler; | 96 class EventTransformationHandler; |
| 97 class FirstRunHelper; | 97 class FirstRunHelper; |
| 98 class FocusCycler; | 98 class FocusCycler; |
| 99 class GPUSupport; | 99 class GPUSupport; |
| 100 class HighContrastController; | 100 class HighContrastController; |
| 101 class KeyboardUI; |
| 101 class KeyboardUMAEventFilter; | 102 class KeyboardUMAEventFilter; |
| 102 class LastWindowClosedLogoutReminder; | 103 class LastWindowClosedLogoutReminder; |
| 103 class LocaleNotificationController; | 104 class LocaleNotificationController; |
| 104 class LockStateController; | 105 class LockStateController; |
| 105 class LogoutConfirmationController; | 106 class LogoutConfirmationController; |
| 106 class MagnificationController; | 107 class MagnificationController; |
| 107 class MaximizeModeController; | 108 class MaximizeModeController; |
| 108 class MaximizeModeWindowManager; | 109 class MaximizeModeWindowManager; |
| 109 class MediaDelegate; | 110 class MediaDelegate; |
| 110 class MouseCursorEventFilter; | 111 class MouseCursorEventFilter; |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 UserMetricsRecorder* metrics() { | 558 UserMetricsRecorder* metrics() { |
| 558 return user_metrics_recorder_.get(); | 559 return user_metrics_recorder_.get(); |
| 559 } | 560 } |
| 560 | 561 |
| 561 void SetTouchHudProjectionEnabled(bool enabled); | 562 void SetTouchHudProjectionEnabled(bool enabled); |
| 562 | 563 |
| 563 bool is_touch_hud_projection_enabled() const { | 564 bool is_touch_hud_projection_enabled() const { |
| 564 return is_touch_hud_projection_enabled_; | 565 return is_touch_hud_projection_enabled_; |
| 565 } | 566 } |
| 566 | 567 |
| 568 KeyboardUI* keyboard_ui() { return keyboard_ui_.get(); } |
| 569 |
| 567 #if defined(OS_CHROMEOS) | 570 #if defined(OS_CHROMEOS) |
| 568 // Creates instance of FirstRunHelper. Caller is responsible for deleting | 571 // Creates instance of FirstRunHelper. Caller is responsible for deleting |
| 569 // returned object. | 572 // returned object. |
| 570 ash::FirstRunHelper* CreateFirstRunHelper(); | 573 ash::FirstRunHelper* CreateFirstRunHelper(); |
| 571 | 574 |
| 572 // Toggles cursor compositing on/off. Native cursor is disabled when cursor | 575 // Toggles cursor compositing on/off. Native cursor is disabled when cursor |
| 573 // compositing is enabled, and vice versa. | 576 // compositing is enabled, and vice versa. |
| 574 void SetCursorCompositingEnabled(bool enabled); | 577 void SetCursorCompositingEnabled(bool enabled); |
| 575 | 578 |
| 576 StickyKeysController* sticky_keys_controller() { | 579 StickyKeysController* sticky_keys_controller() { |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 // For testing only: simulate that a modal window is open | 762 // For testing only: simulate that a modal window is open |
| 760 bool simulate_modal_window_open_for_testing_; | 763 bool simulate_modal_window_open_for_testing_; |
| 761 | 764 |
| 762 bool is_touch_hud_projection_enabled_; | 765 bool is_touch_hud_projection_enabled_; |
| 763 | 766 |
| 764 // Injected content::GPUDataManager support. | 767 // Injected content::GPUDataManager support. |
| 765 scoped_ptr<GPUSupport> gpu_support_; | 768 scoped_ptr<GPUSupport> gpu_support_; |
| 766 | 769 |
| 767 base::SequencedWorkerPool* blocking_pool_; | 770 base::SequencedWorkerPool* blocking_pool_; |
| 768 | 771 |
| 772 scoped_ptr<KeyboardUI> keyboard_ui_; |
| 773 |
| 769 DISALLOW_COPY_AND_ASSIGN(Shell); | 774 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 770 }; | 775 }; |
| 771 | 776 |
| 772 } // namespace ash | 777 } // namespace ash |
| 773 | 778 |
| 774 #endif // ASH_SHELL_H_ | 779 #endif // ASH_SHELL_H_ |
| OLD | NEW |