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

Side by Side Diff: ash/shell.h

Issue 11091023: ash : Decouple power button controller and session state controller. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix power button cancel behaviour + unittest Created 8 years, 2 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
« no previous file with comments | « ash/ash.gyp ('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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 class AcceleratorController; 62 class AcceleratorController;
63 class CapsLockDelegate; 63 class CapsLockDelegate;
64 class DesktopBackgroundController; 64 class DesktopBackgroundController;
65 class DisplayController; 65 class DisplayController;
66 class HighContrastController; 66 class HighContrastController;
67 class Launcher; 67 class Launcher;
68 class NestedDispatcherController; 68 class NestedDispatcherController;
69 class PowerButtonController; 69 class PowerButtonController;
70 class ScreenAsh; 70 class ScreenAsh;
71 class SessionStateController;
71 class ShellDelegate; 72 class ShellDelegate;
72 class ShellObserver; 73 class ShellObserver;
73 class SystemTrayDelegate; 74 class SystemTrayDelegate;
74 class SystemTray; 75 class SystemTray;
75 class UserActivityDetector; 76 class UserActivityDetector;
76 class UserWallpaperDelegate; 77 class UserWallpaperDelegate;
77 class VideoDetector; 78 class VideoDetector;
78 class WindowCycleController; 79 class WindowCycleController;
79 80
80 namespace internal { 81 namespace internal {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 267 }
267 internal::OverlayEventFilter* overlay_filter() { 268 internal::OverlayEventFilter* overlay_filter() {
268 return overlay_filter_.get(); 269 return overlay_filter_.get();
269 } 270 }
270 DesktopBackgroundController* desktop_background_controller() { 271 DesktopBackgroundController* desktop_background_controller() {
271 return desktop_background_controller_.get(); 272 return desktop_background_controller_.get();
272 } 273 }
273 PowerButtonController* power_button_controller() { 274 PowerButtonController* power_button_controller() {
274 return power_button_controller_.get(); 275 return power_button_controller_.get();
275 } 276 }
277 SessionStateController* session_state_controller() {
278 return session_state_controller_.get();
279 }
276 UserActivityDetector* user_activity_detector() { 280 UserActivityDetector* user_activity_detector() {
277 return user_activity_detector_.get(); 281 return user_activity_detector_.get();
278 } 282 }
279 VideoDetector* video_detector() { 283 VideoDetector* video_detector() {
280 return video_detector_.get(); 284 return video_detector_.get();
281 } 285 }
282 WindowCycleController* window_cycle_controller() { 286 WindowCycleController* window_cycle_controller() {
283 return window_cycle_controller_.get(); 287 return window_cycle_controller_.get();
284 } 288 }
285 internal::FocusCycler* focus_cycler() { 289 internal::FocusCycler* focus_cycler() {
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 scoped_ptr<internal::ActivationController> activation_controller_; 441 scoped_ptr<internal::ActivationController> activation_controller_;
438 scoped_ptr<internal::CaptureController> capture_controller_; 442 scoped_ptr<internal::CaptureController> capture_controller_;
439 scoped_ptr<internal::WindowModalityController> window_modality_controller_; 443 scoped_ptr<internal::WindowModalityController> window_modality_controller_;
440 scoped_ptr<internal::DragDropController> drag_drop_controller_; 444 scoped_ptr<internal::DragDropController> drag_drop_controller_;
441 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; 445 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_;
442 scoped_ptr<internal::ShadowController> shadow_controller_; 446 scoped_ptr<internal::ShadowController> shadow_controller_;
443 scoped_ptr<internal::TooltipController> tooltip_controller_; 447 scoped_ptr<internal::TooltipController> tooltip_controller_;
444 scoped_ptr<internal::VisibilityController> visibility_controller_; 448 scoped_ptr<internal::VisibilityController> visibility_controller_;
445 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; 449 scoped_ptr<DesktopBackgroundController> desktop_background_controller_;
446 scoped_ptr<PowerButtonController> power_button_controller_; 450 scoped_ptr<PowerButtonController> power_button_controller_;
451 scoped_ptr<SessionStateController> session_state_controller_;
447 scoped_ptr<UserActivityDetector> user_activity_detector_; 452 scoped_ptr<UserActivityDetector> user_activity_detector_;
448 scoped_ptr<VideoDetector> video_detector_; 453 scoped_ptr<VideoDetector> video_detector_;
449 scoped_ptr<WindowCycleController> window_cycle_controller_; 454 scoped_ptr<WindowCycleController> window_cycle_controller_;
450 scoped_ptr<internal::FocusCycler> focus_cycler_; 455 scoped_ptr<internal::FocusCycler> focus_cycler_;
451 scoped_ptr<DisplayController> display_controller_; 456 scoped_ptr<DisplayController> display_controller_;
452 scoped_ptr<HighContrastController> high_contrast_controller_; 457 scoped_ptr<HighContrastController> high_contrast_controller_;
453 scoped_ptr<internal::MagnificationController> magnification_controller_; 458 scoped_ptr<internal::MagnificationController> magnification_controller_;
454 scoped_ptr<aura::FocusManager> focus_manager_; 459 scoped_ptr<aura::FocusManager> focus_manager_;
455 scoped_ptr<aura::client::UserActionClient> user_action_client_; 460 scoped_ptr<aura::client::UserActionClient> user_action_client_;
456 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; 461 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 498
494 // Used by ash/shell. 499 // Used by ash/shell.
495 content::BrowserContext* browser_context_; 500 content::BrowserContext* browser_context_;
496 501
497 DISALLOW_COPY_AND_ASSIGN(Shell); 502 DISALLOW_COPY_AND_ASSIGN(Shell);
498 }; 503 };
499 504
500 } // namespace ash 505 } // namespace ash
501 506
502 #endif // ASH_SHELL_H_ 507 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698