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

Side by Side Diff: ash/shell.h

Issue 178183005: Add LogoutConfirmationController to show LogoutConfirmationDialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 class DisplayChangeObserver; 122 class DisplayChangeObserver;
123 class DisplayErrorObserver; 123 class DisplayErrorObserver;
124 class DisplayManager; 124 class DisplayManager;
125 class DragDropController; 125 class DragDropController;
126 class EventClientImpl; 126 class EventClientImpl;
127 class EventRewriterEventFilter; 127 class EventRewriterEventFilter;
128 class EventTransformationHandler; 128 class EventTransformationHandler;
129 class FocusCycler; 129 class FocusCycler;
130 class KeyboardUMAEventFilter; 130 class KeyboardUMAEventFilter;
131 class LocaleNotificationController; 131 class LocaleNotificationController;
132 class LogoutConfirmationController;
132 class MaximizeModeWindowManager; 133 class MaximizeModeWindowManager;
133 class MouseCursorEventFilter; 134 class MouseCursorEventFilter;
134 class OutputConfiguratorAnimation; 135 class OutputConfiguratorAnimation;
135 class OverlayEventFilter; 136 class OverlayEventFilter;
136 class PowerEventObserver; 137 class PowerEventObserver;
137 class ProjectingObserver; 138 class ProjectingObserver;
138 class ResizeShadowController; 139 class ResizeShadowController;
139 class ResolutionNotificationController; 140 class ResolutionNotificationController;
140 class RootWindowController; 141 class RootWindowController;
141 class ScopedTargetRootWindow; 142 class ScopedTargetRootWindow;
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 internal::ResolutionNotificationController* 510 internal::ResolutionNotificationController*
510 resolution_notification_controller() { 511 resolution_notification_controller() {
511 return resolution_notification_controller_.get(); 512 return resolution_notification_controller_.get();
512 } 513 }
513 #endif // defined(OS_CHROMEOS) 514 #endif // defined(OS_CHROMEOS)
514 515
515 WindowTreeHostFactory* window_tree_host_factory() { 516 WindowTreeHostFactory* window_tree_host_factory() {
516 return window_tree_host_factory_.get(); 517 return window_tree_host_factory_.get();
517 } 518 }
518 519
520 internal::LogoutConfirmationController* logout_confirmation_controller() {
521 return logout_confirmation_controller_.get();
522 }
523
519 ShelfModel* shelf_model() { 524 ShelfModel* shelf_model() {
520 return shelf_model_.get(); 525 return shelf_model_.get();
521 } 526 }
522 527
523 WindowPositioner* window_positioner() { 528 WindowPositioner* window_positioner() {
524 return window_positioner_.get(); 529 return window_positioner_.get();
525 } 530 }
526 531
527 // Returns the launcher delegate, creating if necesary. 532 // Returns the launcher delegate, creating if necesary.
528 ShelfDelegate* GetShelfDelegate(); 533 ShelfDelegate* GetShelfDelegate();
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 scoped_ptr<aura::client::FocusClient> focus_client_; 659 scoped_ptr<aura::client::FocusClient> focus_client_;
655 scoped_ptr<aura::client::UserActionClient> user_action_client_; 660 scoped_ptr<aura::client::UserActionClient> user_action_client_;
656 aura::client::ActivationClient* activation_client_; 661 aura::client::ActivationClient* activation_client_;
657 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; 662 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_;
658 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; 663 scoped_ptr<internal::ScreenPositionController> screen_position_controller_;
659 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; 664 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_;
660 scoped_ptr<internal::EventClientImpl> event_client_; 665 scoped_ptr<internal::EventClientImpl> event_client_;
661 scoped_ptr<internal::EventTransformationHandler> 666 scoped_ptr<internal::EventTransformationHandler>
662 event_transformation_handler_; 667 event_transformation_handler_;
663 scoped_ptr<WindowTreeHostFactory> window_tree_host_factory_; 668 scoped_ptr<WindowTreeHostFactory> window_tree_host_factory_;
669 scoped_ptr<internal::LogoutConfirmationController>
670 logout_confirmation_controller_;
664 671
665 // An event filter that pre-handles key events while the partial 672 // An event filter that pre-handles key events while the partial
666 // screenshot UI or the keyboard overlay is active. 673 // screenshot UI or the keyboard overlay is active.
667 scoped_ptr<internal::OverlayEventFilter> overlay_filter_; 674 scoped_ptr<internal::OverlayEventFilter> overlay_filter_;
668 675
669 // An event filter for logging keyboard-related metrics. 676 // An event filter for logging keyboard-related metrics.
670 scoped_ptr<internal::KeyboardUMAEventFilter> keyboard_metrics_filter_; 677 scoped_ptr<internal::KeyboardUMAEventFilter> keyboard_metrics_filter_;
671 678
672 // An event filter which handles moving and resizing windows. 679 // An event filter which handles moving and resizing windows.
673 scoped_ptr<ToplevelWindowEventHandler> toplevel_window_event_handler_; 680 scoped_ptr<ToplevelWindowEventHandler> toplevel_window_event_handler_;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 735
729 // Injected content::GPUDataManager support. 736 // Injected content::GPUDataManager support.
730 scoped_ptr<GPUSupport> gpu_support_; 737 scoped_ptr<GPUSupport> gpu_support_;
731 738
732 DISALLOW_COPY_AND_ASSIGN(Shell); 739 DISALLOW_COPY_AND_ASSIGN(Shell);
733 }; 740 };
734 741
735 } // namespace ash 742 } // namespace ash
736 743
737 #endif // ASH_SHELL_H_ 744 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698