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

Unified Diff: ui/base/user_activity/user_activity_observer.h

Issue 833893003: Move UserActivityDetector to ui/base/user_activity/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't build test on android Created 5 years, 11 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: ui/base/user_activity/user_activity_observer.h
diff --git a/ui/wm/core/user_activity_observer.h b/ui/base/user_activity/user_activity_observer.h
similarity index 73%
rename from ui/wm/core/user_activity_observer.h
rename to ui/base/user_activity/user_activity_observer.h
index 0fb35a61f06923a63fc848bd57c648329ced31fd..7990cb8765ad52ffa48aa48f6dd397b13522aabc 100644
--- a/ui/wm/core/user_activity_observer.h
+++ b/ui/base/user_activity/user_activity_observer.h
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_WM_CORE_USER_ACTIVITY_OBSERVER_H_
-#define UI_WM_CORE_USER_ACTIVITY_OBSERVER_H_
+#ifndef UI_BASE_USER_ACTIVITY_USER_ACTIVITY_OBSERVER_H_
+#define UI_BASE_USER_ACTIVITY_USER_ACTIVITY_OBSERVER_H_
#include "base/basictypes.h"
-#include "ui/wm/wm_export.h"
+#include "ui/base/ui_base_export.h"
namespace ui {
class Event;
}
-namespace wm {
+namespace ui {
// Interface for classes that want to be notified about user activity.
// Implementations should register themselves with UserActivityDetector.
-class WM_EXPORT UserActivityObserver {
+class UI_BASE_EXPORT UserActivityObserver {
public:
// Invoked periodically while the user is active (i.e. generating input
// events). |event| is the event that triggered the notification; it may
@@ -30,6 +30,6 @@ class WM_EXPORT UserActivityObserver {
DISALLOW_COPY_AND_ASSIGN(UserActivityObserver);
};
-} // namespace wm
+} // namespace ui
-#endif // UI_WM_CORE_USER_ACTIVITY_OBSERVER_H_
+#endif // UI_BASE_USER_ACTIVITY_USER_ACTIVITY_OBSERVER_H_
« no previous file with comments | « ui/base/user_activity/user_activity_detector_unittest.cc ('k') | ui/chromeos/user_activity_power_manager_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698