Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: ash/shell.h

Issue 114643003: Use a single ToplevelWindowEventHandler for the ash::Shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 class AcceleratorController; 78 class AcceleratorController;
79 class AccessibilityDelegate; 79 class AccessibilityDelegate;
80 class AshNativeCursorManager; 80 class AshNativeCursorManager;
81 class AutoclickController; 81 class AutoclickController;
82 class CapsLockDelegate; 82 class CapsLockDelegate;
83 class DesktopBackgroundController; 83 class DesktopBackgroundController;
84 class DisplayController; 84 class DisplayController;
85 class FirstRunHelper; 85 class FirstRunHelper;
86 class HighContrastController; 86 class HighContrastController;
87 class Launcher; 87 class Launcher;
88 class ShelfDelegate;
89 class LockStateController; 88 class LockStateController;
90 class MagnificationController; 89 class MagnificationController;
91 class MediaDelegate; 90 class MediaDelegate;
92 class MruWindowTracker; 91 class MruWindowTracker;
93 class NestedDispatcherController; 92 class NestedDispatcherController;
94 class NewWindowDelegate; 93 class NewWindowDelegate;
95 class PartialMagnificationController; 94 class PartialMagnificationController;
96 class PowerButtonController; 95 class PowerButtonController;
97 class RootWindowHostFactory; 96 class RootWindowHostFactory;
98 class ScreenAsh; 97 class ScreenAsh;
99 class SessionStateDelegate; 98 class SessionStateDelegate;
99 class ShelfDelegate;
100 class ShelfItemDelegateManager; 100 class ShelfItemDelegateManager;
101 class ShelfModel; 101 class ShelfModel;
102 class ShellDelegate; 102 class ShellDelegate;
103 class ShellObserver; 103 class ShellObserver;
104 class StickyKeys; 104 class StickyKeys;
105 class SystemTray; 105 class SystemTray;
106 class SystemTrayDelegate; 106 class SystemTrayDelegate;
107 class SystemTrayNotifier; 107 class SystemTrayNotifier;
108 class ToplevelWindowEventHandler;
108 class UserActivityDetector; 109 class UserActivityDetector;
109 class UserWallpaperDelegate; 110 class UserWallpaperDelegate;
110 class VideoDetector; 111 class VideoDetector;
111 class WebNotificationTray; 112 class WebNotificationTray;
112 class WindowCycleController; 113 class WindowCycleController;
113 class WindowPositioner; 114 class WindowPositioner;
114 class WindowSelectorController; 115 class WindowSelectorController;
115 116
116 namespace internal { 117 namespace internal {
117 class AcceleratorFilter; 118 class AcceleratorFilter;
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 // An event filter that rewrites or drops an event. 645 // An event filter that rewrites or drops an event.
645 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; 646 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_;
646 647
647 // An event filter that pre-handles key events while the partial 648 // An event filter that pre-handles key events while the partial
648 // screenshot UI or the keyboard overlay is active. 649 // screenshot UI or the keyboard overlay is active.
649 scoped_ptr<internal::OverlayEventFilter> overlay_filter_; 650 scoped_ptr<internal::OverlayEventFilter> overlay_filter_;
650 651
651 // An event filter for logging keyboard-related metrics. 652 // An event filter for logging keyboard-related metrics.
652 scoped_ptr<internal::KeyboardUMAEventFilter> keyboard_metrics_filter_; 653 scoped_ptr<internal::KeyboardUMAEventFilter> keyboard_metrics_filter_;
653 654
655 // An event filter which handles moving and resizing windows.
656 scoped_ptr<ToplevelWindowEventHandler> toplevel_window_event_handler_;
657
654 // An event filter which handles system level gestures 658 // An event filter which handles system level gestures
655 scoped_ptr<internal::SystemGestureEventFilter> system_gesture_filter_; 659 scoped_ptr<internal::SystemGestureEventFilter> system_gesture_filter_;
656 660
657 // An event filter that pre-handles global accelerators. 661 // An event filter that pre-handles global accelerators.
658 scoped_ptr<internal::AcceleratorFilter> accelerator_filter_; 662 scoped_ptr<internal::AcceleratorFilter> accelerator_filter_;
659 663
660 // An event filter that pre-handles all key events to send them to an IME. 664 // An event filter that pre-handles all key events to send them to an IME.
661 scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_; 665 scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_;
662 666
663 scoped_ptr<internal::DisplayManager> display_manager_; 667 scoped_ptr<internal::DisplayManager> display_manager_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 bool simulate_modal_window_open_for_testing_; 702 bool simulate_modal_window_open_for_testing_;
699 703
700 bool is_touch_hud_projection_enabled_; 704 bool is_touch_hud_projection_enabled_;
701 705
702 DISALLOW_COPY_AND_ASSIGN(Shell); 706 DISALLOW_COPY_AND_ASSIGN(Shell);
703 }; 707 };
704 708
705 } // namespace ash 709 } // namespace ash
706 710
707 #endif // ASH_SHELL_H_ 711 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | ash/shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698