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

Unified Diff: ash/shell.h

Issue 10544011: chromeos: Notify power manager about user activity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/wm/user_activity_detector.h » ('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 ef4cb34496016d81e5c8a5ed3cf9d0cf3754bae5..3336291b68ae6898982ef5917da3aeebb3cce837 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -69,6 +69,7 @@ class ShellDelegate;
class ShellObserver;
class SystemTrayDelegate;
class SystemTray;
+class UserActivityDetector;
class UserWallpaperDelegate;
class VideoDetector;
class WindowCycleController;
@@ -247,6 +248,9 @@ class ASH_EXPORT Shell {
PowerButtonController* power_button_controller() {
return power_button_controller_.get();
}
+ UserActivityDetector* user_activity_detector() {
+ return user_activity_detector_.get();
+ }
VideoDetector* video_detector() {
return video_detector_.get();
}
@@ -390,6 +394,7 @@ class ASH_EXPORT Shell {
scoped_ptr<internal::VisibilityController> visibility_controller_;
scoped_ptr<DesktopBackgroundController> desktop_background_controller_;
scoped_ptr<PowerButtonController> power_button_controller_;
+ scoped_ptr<UserActivityDetector> user_activity_detector_;
scoped_ptr<VideoDetector> video_detector_;
scoped_ptr<WindowCycleController> window_cycle_controller_;
scoped_ptr<internal::FocusCycler> focus_cycler_;
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | ash/wm/user_activity_detector.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698