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

Unified Diff: ash/system/chromeos/power/user_activity_notifier.h

Issue 222383002: Move UserActivityDetector from ash/wm/ to ui/wm/core/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove an unneeded include Created 6 years, 9 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
Index: ash/system/chromeos/power/user_activity_notifier.h
diff --git a/ash/system/chromeos/power/user_activity_notifier.h b/ash/system/chromeos/power/user_activity_notifier.h
index 78b2c431144ef422f33f6d398689fb8e947c7cc9..4374304c438c86aad9a6768736ac05f487461ec7 100644
--- a/ash/system/chromeos/power/user_activity_notifier.h
+++ b/ash/system/chromeos/power/user_activity_notifier.h
@@ -5,28 +5,29 @@
#ifndef ASH_SYSTEM_CHROMEOS_POWER_USER_ACTIVITY_NOTIFIER_H_
#define ASH_SYSTEM_CHROMEOS_POWER_USER_ACTIVITY_NOTIFIER_H_
-#include "ash/wm/user_activity_observer.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/time/time.h"
+#include "ui/wm/core/user_activity_observer.h"
-namespace ash {
-
+namespace wm {
class UserActivityDetector;
+} // namespace wm
+namespace ash {
namespace internal {
// Notifies the power manager when the user is active.
-class UserActivityNotifier : public UserActivityObserver {
+class UserActivityNotifier : public ::wm::UserActivityObserver {
Daniel Erat 2014/04/02 16:03:22 i think that app_shell will want to use this class
sky 2014/04/02 17:57:12 I don't think we want chromeos specific code in ui
public:
- explicit UserActivityNotifier(UserActivityDetector* detector);
+ explicit UserActivityNotifier(::wm::UserActivityDetector* detector);
virtual ~UserActivityNotifier();
// UserActivityObserver implementation.
virtual void OnUserActivity(const ui::Event* event) OVERRIDE;
private:
- UserActivityDetector* detector_; // not owned
+ ::wm::UserActivityDetector* detector_; // not owned
// Last time that the power manager was notified.
base::TimeTicks last_notify_time_;
« no previous file with comments | « ash/system/chromeos/power/power_event_observer.cc ('k') | ash/system/chromeos/power/user_activity_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698