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

Side by Side Diff: ash/shell.h

Issue 11185006: Revert 162140 - ash : Decouple power button controller and session state controller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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 | Annotate | Revision Log
« 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;
72 class ShellDelegate; 71 class ShellDelegate;
73 class ShellObserver; 72 class ShellObserver;
74 class SystemTrayDelegate; 73 class SystemTrayDelegate;
75 class SystemTray; 74 class SystemTray;
76 class UserActivityDetector; 75 class UserActivityDetector;
77 class UserWallpaperDelegate; 76 class UserWallpaperDelegate;
78 class VideoDetector; 77 class VideoDetector;
79 class WindowCycleController; 78 class WindowCycleController;
80 79
81 namespace internal { 80 namespace internal {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 } 266 }
268 internal::OverlayEventFilter* overlay_filter() { 267 internal::OverlayEventFilter* overlay_filter() {
269 return overlay_filter_.get(); 268 return overlay_filter_.get();
270 } 269 }
271 DesktopBackgroundController* desktop_background_controller() { 270 DesktopBackgroundController* desktop_background_controller() {
272 return desktop_background_controller_.get(); 271 return desktop_background_controller_.get();
273 } 272 }
274 PowerButtonController* power_button_controller() { 273 PowerButtonController* power_button_controller() {
275 return power_button_controller_.get(); 274 return power_button_controller_.get();
276 } 275 }
277 SessionStateController* session_state_controller() {
278 return session_state_controller_.get();
279 }
280 UserActivityDetector* user_activity_detector() { 276 UserActivityDetector* user_activity_detector() {
281 return user_activity_detector_.get(); 277 return user_activity_detector_.get();
282 } 278 }
283 VideoDetector* video_detector() { 279 VideoDetector* video_detector() {
284 return video_detector_.get(); 280 return video_detector_.get();
285 } 281 }
286 WindowCycleController* window_cycle_controller() { 282 WindowCycleController* window_cycle_controller() {
287 return window_cycle_controller_.get(); 283 return window_cycle_controller_.get();
288 } 284 }
289 internal::FocusCycler* focus_cycler() { 285 internal::FocusCycler* focus_cycler() {
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 scoped_ptr<internal::ActivationController> activation_controller_; 437 scoped_ptr<internal::ActivationController> activation_controller_;
442 scoped_ptr<internal::CaptureController> capture_controller_; 438 scoped_ptr<internal::CaptureController> capture_controller_;
443 scoped_ptr<internal::WindowModalityController> window_modality_controller_; 439 scoped_ptr<internal::WindowModalityController> window_modality_controller_;
444 scoped_ptr<internal::DragDropController> drag_drop_controller_; 440 scoped_ptr<internal::DragDropController> drag_drop_controller_;
445 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; 441 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_;
446 scoped_ptr<internal::ShadowController> shadow_controller_; 442 scoped_ptr<internal::ShadowController> shadow_controller_;
447 scoped_ptr<internal::TooltipController> tooltip_controller_; 443 scoped_ptr<internal::TooltipController> tooltip_controller_;
448 scoped_ptr<internal::VisibilityController> visibility_controller_; 444 scoped_ptr<internal::VisibilityController> visibility_controller_;
449 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; 445 scoped_ptr<DesktopBackgroundController> desktop_background_controller_;
450 scoped_ptr<PowerButtonController> power_button_controller_; 446 scoped_ptr<PowerButtonController> power_button_controller_;
451 scoped_ptr<SessionStateController> session_state_controller_;
452 scoped_ptr<UserActivityDetector> user_activity_detector_; 447 scoped_ptr<UserActivityDetector> user_activity_detector_;
453 scoped_ptr<VideoDetector> video_detector_; 448 scoped_ptr<VideoDetector> video_detector_;
454 scoped_ptr<WindowCycleController> window_cycle_controller_; 449 scoped_ptr<WindowCycleController> window_cycle_controller_;
455 scoped_ptr<internal::FocusCycler> focus_cycler_; 450 scoped_ptr<internal::FocusCycler> focus_cycler_;
456 scoped_ptr<DisplayController> display_controller_; 451 scoped_ptr<DisplayController> display_controller_;
457 scoped_ptr<HighContrastController> high_contrast_controller_; 452 scoped_ptr<HighContrastController> high_contrast_controller_;
458 scoped_ptr<internal::MagnificationController> magnification_controller_; 453 scoped_ptr<internal::MagnificationController> magnification_controller_;
459 scoped_ptr<aura::FocusManager> focus_manager_; 454 scoped_ptr<aura::FocusManager> focus_manager_;
460 scoped_ptr<aura::client::UserActionClient> user_action_client_; 455 scoped_ptr<aura::client::UserActionClient> user_action_client_;
461 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; 456 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 493
499 // Used by ash/shell. 494 // Used by ash/shell.
500 content::BrowserContext* browser_context_; 495 content::BrowserContext* browser_context_;
501 496
502 DISALLOW_COPY_AND_ASSIGN(Shell); 497 DISALLOW_COPY_AND_ASSIGN(Shell);
503 }; 498 };
504 499
505 } // namespace ash 500 } // namespace ash
506 501
507 #endif // ASH_SHELL_H_ 502 #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