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

Unified Diff: chrome/browser/chromeos/idle_detector.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: chrome/browser/chromeos/idle_detector.h
diff --git a/chrome/browser/chromeos/idle_detector.h b/chrome/browser/chromeos/idle_detector.h
index 1fa47beee4e6ecc19f8c9960ddbe0cc8d7e6c7c5..3b9ce779d18702edc0512c66a011d55e8143f3b8 100644
--- a/chrome/browser/chromeos/idle_detector.h
+++ b/chrome/browser/chromeos/idle_detector.h
@@ -5,16 +5,16 @@
#ifndef CHROME_BROWSER_CHROMEOS_IDLE_DETECTOR_H_
#define CHROME_BROWSER_CHROMEOS_IDLE_DETECTOR_H_
-#include "ash/wm/user_activity_observer.h"
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
+#include "ui/wm/core/user_activity_observer.h"
namespace chromeos {
-class IdleDetector : public ash::UserActivityObserver {
+class IdleDetector : public wm::UserActivityObserver {
public:
IdleDetector(const base::Closure& on_active_callback,
const base::Closure& on_idle_callback);
@@ -23,7 +23,7 @@ class IdleDetector : public ash::UserActivityObserver {
void Start(const base::TimeDelta& timeout);
private:
- // UserActivityObserver overrides:
+ // wm::UserActivityObserver overrides:
virtual void OnUserActivity(const ui::Event* event) OVERRIDE;
// Resets |timer_| to fire when we reach our idle timeout.

Powered by Google App Engine
This is Rietveld 408576698