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

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: 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') | ash/shell.cc » ('J')
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 namespace ash { 60 namespace ash {
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 SessionStateController;
70 class ScreenAsh; 71 class ScreenAsh;
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
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 } 260 }
260 internal::OverlayEventFilter* overlay_filter() { 261 internal::OverlayEventFilter* overlay_filter() {
261 return overlay_filter_.get(); 262 return overlay_filter_.get();
262 } 263 }
263 DesktopBackgroundController* desktop_background_controller() { 264 DesktopBackgroundController* desktop_background_controller() {
264 return desktop_background_controller_.get(); 265 return desktop_background_controller_.get();
265 } 266 }
266 PowerButtonController* power_button_controller() { 267 PowerButtonController* power_button_controller() {
267 return power_button_controller_.get(); 268 return power_button_controller_.get();
268 } 269 }
270 SessionStateController* session_state_controller() {
271 return session_state_controller_.get();
272 }
269 UserActivityDetector* user_activity_detector() { 273 UserActivityDetector* user_activity_detector() {
270 return user_activity_detector_.get(); 274 return user_activity_detector_.get();
271 } 275 }
272 VideoDetector* video_detector() { 276 VideoDetector* video_detector() {
273 return video_detector_.get(); 277 return video_detector_.get();
274 } 278 }
275 WindowCycleController* window_cycle_controller() { 279 WindowCycleController* window_cycle_controller() {
276 return window_cycle_controller_.get(); 280 return window_cycle_controller_.get();
277 } 281 }
278 internal::FocusCycler* focus_cycler() { 282 internal::FocusCycler* focus_cycler() {
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 scoped_ptr<internal::ActivationController> activation_controller_; 442 scoped_ptr<internal::ActivationController> activation_controller_;
439 scoped_ptr<internal::CaptureController> capture_controller_; 443 scoped_ptr<internal::CaptureController> capture_controller_;
440 scoped_ptr<internal::WindowModalityController> window_modality_controller_; 444 scoped_ptr<internal::WindowModalityController> window_modality_controller_;
441 scoped_ptr<internal::DragDropController> drag_drop_controller_; 445 scoped_ptr<internal::DragDropController> drag_drop_controller_;
442 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; 446 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_;
443 scoped_ptr<internal::ShadowController> shadow_controller_; 447 scoped_ptr<internal::ShadowController> shadow_controller_;
444 scoped_ptr<internal::TooltipController> tooltip_controller_; 448 scoped_ptr<internal::TooltipController> tooltip_controller_;
445 scoped_ptr<internal::VisibilityController> visibility_controller_; 449 scoped_ptr<internal::VisibilityController> visibility_controller_;
446 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; 450 scoped_ptr<DesktopBackgroundController> desktop_background_controller_;
447 scoped_ptr<PowerButtonController> power_button_controller_; 451 scoped_ptr<PowerButtonController> power_button_controller_;
452 scoped_ptr<SessionStateController> session_state_controller_;
448 scoped_ptr<UserActivityDetector> user_activity_detector_; 453 scoped_ptr<UserActivityDetector> user_activity_detector_;
449 scoped_ptr<VideoDetector> video_detector_; 454 scoped_ptr<VideoDetector> video_detector_;
450 scoped_ptr<WindowCycleController> window_cycle_controller_; 455 scoped_ptr<WindowCycleController> window_cycle_controller_;
451 scoped_ptr<internal::FocusCycler> focus_cycler_; 456 scoped_ptr<internal::FocusCycler> focus_cycler_;
452 scoped_ptr<DisplayController> display_controller_; 457 scoped_ptr<DisplayController> display_controller_;
453 scoped_ptr<HighContrastController> high_contrast_controller_; 458 scoped_ptr<HighContrastController> high_contrast_controller_;
454 scoped_ptr<internal::MagnificationController> magnification_controller_; 459 scoped_ptr<internal::MagnificationController> magnification_controller_;
455 scoped_ptr<aura::FocusManager> focus_manager_; 460 scoped_ptr<aura::FocusManager> focus_manager_;
456 scoped_ptr<aura::client::UserActionClient> user_action_client_; 461 scoped_ptr<aura::client::UserActionClient> user_action_client_;
457 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; 462 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 509
505 // Used by ash/shell. 510 // Used by ash/shell.
506 content::BrowserContext* browser_context_; 511 content::BrowserContext* browser_context_;
507 512
508 DISALLOW_COPY_AND_ASSIGN(Shell); 513 DISALLOW_COPY_AND_ASSIGN(Shell);
509 }; 514 };
510 515
511 } // namespace ash 516 } // namespace ash
512 517
513 #endif // ASH_SHELL_H_ 518 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | ash/shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698