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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | ash/shell.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index ef869bf447ce7138e5f0c7e43a6d7d99518f4a23..2fc1b77eac1d7307ea8e07e4817a6e684a44f241 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -67,6 +67,7 @@ class HighContrastController;
class Launcher;
class NestedDispatcherController;
class PowerButtonController;
+class SessionStateController;
class ScreenAsh;
class ShellDelegate;
class ShellObserver;
@@ -266,6 +267,9 @@ class ASH_EXPORT Shell : CursorDelegate,
PowerButtonController* power_button_controller() {
return power_button_controller_.get();
}
+ SessionStateController* session_state_controller() {
+ return session_state_controller_.get();
+ }
UserActivityDetector* user_activity_detector() {
return user_activity_detector_.get();
}
@@ -445,6 +449,7 @@ class ASH_EXPORT Shell : CursorDelegate,
scoped_ptr<internal::VisibilityController> visibility_controller_;
scoped_ptr<DesktopBackgroundController> desktop_background_controller_;
scoped_ptr<PowerButtonController> power_button_controller_;
+ scoped_ptr<SessionStateController> session_state_controller_;
scoped_ptr<UserActivityDetector> user_activity_detector_;
scoped_ptr<VideoDetector> video_detector_;
scoped_ptr<WindowCycleController> window_cycle_controller_;
« 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