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

Side by Side Diff: ash/shell.h

Issue 2108793002: mash: Convert system tray logout button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments, fix windows Created 4 years, 5 months 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
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 <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 class DisplayManager; 97 class DisplayManager;
98 class DragDropController; 98 class DragDropController;
99 class EventClientImpl; 99 class EventClientImpl;
100 class EventRewriterEventFilter; 100 class EventRewriterEventFilter;
101 class EventTransformationHandler; 101 class EventTransformationHandler;
102 class FirstRunHelper; 102 class FirstRunHelper;
103 class GPUSupport; 103 class GPUSupport;
104 class HighContrastController; 104 class HighContrastController;
105 class KeyboardUI; 105 class KeyboardUI;
106 class KeyboardUMAEventFilter; 106 class KeyboardUMAEventFilter;
107 class LastWindowClosedLogoutReminder;
108 class LinkHandlerModelFactory; 107 class LinkHandlerModelFactory;
109 class LocaleNotificationController; 108 class LocaleNotificationController;
110 class LockStateController; 109 class LockStateController;
111 enum class LoginStatus; 110 enum class LoginStatus;
112 class LogoutConfirmationController;
113 class MagnificationController; 111 class MagnificationController;
114 class MaximizeModeController; 112 class MaximizeModeController;
115 class MaximizeModeWindowManager; 113 class MaximizeModeWindowManager;
116 class MediaDelegate; 114 class MediaDelegate;
117 class MouseCursorEventFilter; 115 class MouseCursorEventFilter;
118 class MruWindowTracker; 116 class MruWindowTracker;
119 class NewWindowDelegate; 117 class NewWindowDelegate;
120 class OverlayEventFilter; 118 class OverlayEventFilter;
121 class PartialMagnificationController; 119 class PartialMagnificationController;
122 class PointerWatcherDelegate; 120 class PointerWatcherDelegate;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 return display_configurator_.get(); 486 return display_configurator_.get();
489 } 487 }
490 DisplayErrorObserver* display_error_observer() { 488 DisplayErrorObserver* display_error_observer() {
491 return display_error_observer_.get(); 489 return display_error_observer_.get();
492 } 490 }
493 491
494 ResolutionNotificationController* resolution_notification_controller() { 492 ResolutionNotificationController* resolution_notification_controller() {
495 return resolution_notification_controller_.get(); 493 return resolution_notification_controller_.get();
496 } 494 }
497 495
498 LogoutConfirmationController* logout_confirmation_controller() {
499 return logout_confirmation_controller_.get();
500 }
501
502 ScreenOrientationController* screen_orientation_controller() { 496 ScreenOrientationController* screen_orientation_controller() {
503 return screen_orientation_controller_.get(); 497 return screen_orientation_controller_.get();
504 } 498 }
505 499
506 VirtualKeyboardController* virtual_keyboard_controller() { 500 VirtualKeyboardController* virtual_keyboard_controller() {
507 return virtual_keyboard_controller_.get(); 501 return virtual_keyboard_controller_.get();
508 } 502 }
509 503
510 chromeos::AudioA11yController* audio_a11y_controller() { 504 chromeos::AudioA11yController* audio_a11y_controller() {
511 return audio_a11y_controller_.get(); 505 return audio_a11y_controller_.get();
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 686
693 #if defined(OS_CHROMEOS) 687 #if defined(OS_CHROMEOS)
694 std::unique_ptr<PowerEventObserver> power_event_observer_; 688 std::unique_ptr<PowerEventObserver> power_event_observer_;
695 std::unique_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_; 689 std::unique_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_;
696 std::unique_ptr<VideoActivityNotifier> video_activity_notifier_; 690 std::unique_ptr<VideoActivityNotifier> video_activity_notifier_;
697 std::unique_ptr<StickyKeysController> sticky_keys_controller_; 691 std::unique_ptr<StickyKeysController> sticky_keys_controller_;
698 std::unique_ptr<ResolutionNotificationController> 692 std::unique_ptr<ResolutionNotificationController>
699 resolution_notification_controller_; 693 resolution_notification_controller_;
700 std::unique_ptr<BluetoothNotificationController> 694 std::unique_ptr<BluetoothNotificationController>
701 bluetooth_notification_controller_; 695 bluetooth_notification_controller_;
702 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
703 std::unique_ptr<LastWindowClosedLogoutReminder>
704 last_window_closed_logout_reminder_;
705 std::unique_ptr<VirtualKeyboardController> virtual_keyboard_controller_; 696 std::unique_ptr<VirtualKeyboardController> virtual_keyboard_controller_;
706 std::unique_ptr<chromeos::AudioA11yController> audio_a11y_controller_; 697 std::unique_ptr<chromeos::AudioA11yController> audio_a11y_controller_;
707 // Controls video output device state. 698 // Controls video output device state.
708 std::unique_ptr<ui::DisplayConfigurator> display_configurator_; 699 std::unique_ptr<ui::DisplayConfigurator> display_configurator_;
709 std::unique_ptr<DisplayColorManager> display_color_manager_; 700 std::unique_ptr<DisplayColorManager> display_color_manager_;
710 std::unique_ptr<DisplayErrorObserver> display_error_observer_; 701 std::unique_ptr<DisplayErrorObserver> display_error_observer_;
711 std::unique_ptr<ProjectingObserver> projecting_observer_; 702 std::unique_ptr<ProjectingObserver> projecting_observer_;
712 703
713 // Listens for output changes and updates the display manager. 704 // Listens for output changes and updates the display manager.
714 std::unique_ptr<DisplayChangeObserver> display_change_observer_; 705 std::unique_ptr<DisplayChangeObserver> display_change_observer_;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 bool in_mus_ = false; 737 bool in_mus_ = false;
747 738
748 std::unique_ptr<KeyboardUI> keyboard_ui_; 739 std::unique_ptr<KeyboardUI> keyboard_ui_;
749 740
750 DISALLOW_COPY_AND_ASSIGN(Shell); 741 DISALLOW_COPY_AND_ASSIGN(Shell);
751 }; 742 };
752 743
753 } // namespace ash 744 } // namespace ash
754 745
755 #endif // ASH_SHELL_H_ 746 #endif // ASH_SHELL_H_
OLDNEW
« ash/common/wm_shell.cc ('K') | « ash/common/wm_shell.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698