#ifndef ASH_SYSTEM_CHROMEOS_POWER_USER_ACTIVITY_NOTIFIER_H_
#define ASH_SYSTEM_CHROMEOS_POWER_USER_ACTIVITY_NOTIFIER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/time/time.h"
#include "ui/wm/core/user_activity_observer.h"
namespace wm {
class UserActivityDetector;
}
namespace ash {
class UserActivityNotifier : public ::wm::UserActivityObserver {
public:
explicit UserActivityNotifier(::wm::UserActivityDetector* detector);
virtual ~UserActivityNotifier();
virtual void OnUserActivity(const ui::Event* event) OVERRIDE;
private:
::wm::UserActivityDetector* detector_;
base::TimeTicks last_notify_time_;
DISALLOW_COPY_AND_ASSIGN(UserActivityNotifier);
};
}
#endif