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

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
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 class Shelf; 98 class Shelf;
99 class ShelfDelegate; 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 // An event filter that rewrites or drops an event. 649 // An event filter that rewrites or drops an event.
649 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; 650 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_;
650 651
651 // An event filter that pre-handles key events while the partial 652 // An event filter that pre-handles key events while the partial
652 // screenshot UI or the keyboard overlay is active. 653 // screenshot UI or the keyboard overlay is active.
653 scoped_ptr<internal::OverlayEventFilter> overlay_filter_; 654 scoped_ptr<internal::OverlayEventFilter> overlay_filter_;
654 655
655 // An event filter for logging keyboard-related metrics. 656 // An event filter for logging keyboard-related metrics.
656 scoped_ptr<internal::KeyboardUMAEventFilter> keyboard_metrics_filter_; 657 scoped_ptr<internal::KeyboardUMAEventFilter> keyboard_metrics_filter_;
657 658
659 // An event filter which handles moving and resizing windows.
660 scoped_ptr<ToplevelWindowEventHandler> toplevel_window_event_handler_;
661
658 // An event filter which handles system level gestures 662 // An event filter which handles system level gestures
659 scoped_ptr<internal::SystemGestureEventFilter> system_gesture_filter_; 663 scoped_ptr<internal::SystemGestureEventFilter> system_gesture_filter_;
660 664
661 // An event filter that pre-handles global accelerators. 665 // An event filter that pre-handles global accelerators.
662 scoped_ptr<internal::AcceleratorFilter> accelerator_filter_; 666 scoped_ptr<internal::AcceleratorFilter> accelerator_filter_;
663 667
664 // An event filter that pre-handles all key events to send them to an IME. 668 // An event filter that pre-handles all key events to send them to an IME.
665 scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_; 669 scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_;
666 670
667 scoped_ptr<internal::DisplayManager> display_manager_; 671 scoped_ptr<internal::DisplayManager> display_manager_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 bool simulate_modal_window_open_for_testing_; 706 bool simulate_modal_window_open_for_testing_;
703 707
704 bool is_touch_hud_projection_enabled_; 708 bool is_touch_hud_projection_enabled_;
705 709
706 DISALLOW_COPY_AND_ASSIGN(Shell); 710 DISALLOW_COPY_AND_ASSIGN(Shell);
707 }; 711 };
708 712
709 } // namespace ash 713 } // namespace ash
710 714
711 #endif // ASH_SHELL_H_ 715 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698