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

Unified Diff: ui/chromeos/user_activity_power_manager_notifier.cc

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
« no previous file with comments | « ui/chromeos/user_activity_power_manager_notifier.h ('k') | ui/wm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/user_activity_power_manager_notifier.cc
diff --git a/ui/chromeos/user_activity_power_manager_notifier.cc b/ui/chromeos/user_activity_power_manager_notifier.cc
index 7952b5986a0f88d170766ec21a8a078981782d25..fb2f671aaf8db7c3437a50f0dd714f441a918d70 100644
--- a/ui/chromeos/user_activity_power_manager_notifier.cc
+++ b/ui/chromeos/user_activity_power_manager_notifier.cc
@@ -6,10 +6,10 @@
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/power_manager_client.h"
+#include "ui/base/user_activity/user_activity_detector.h"
#include "ui/events/event.h"
#include "ui/events/event_constants.h"
#include "ui/events/keycodes/keyboard_codes_posix.h"
-#include "ui/wm/core/user_activity_detector.h"
namespace ui {
namespace {
@@ -42,7 +42,7 @@ power_manager::UserActivityType GetUserActivityTypeForEvent(
} // namespace
UserActivityPowerManagerNotifier::UserActivityPowerManagerNotifier(
- ::wm::UserActivityDetector* detector)
+ UserActivityDetector* detector)
: detector_(detector) {
detector_->AddObserver(this);
}
« no previous file with comments | « ui/chromeos/user_activity_power_manager_notifier.h ('k') | ui/wm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698