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

Unified Diff: ash/system/chromeos/power/power_event_observer.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 | « ash/shell.cc ('k') | athena/env/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/power_event_observer.cc
diff --git a/ash/system/chromeos/power/power_event_observer.cc b/ash/system/chromeos/power/power_event_observer.cc
index 610094df7a559c847c7afb4f0848c2c52266c224..65567f4ed0212ae97e70810a73ca2cb144506225 100644
--- a/ash/system/chromeos/power/power_event_observer.cc
+++ b/ash/system/chromeos/power/power_event_observer.cc
@@ -10,8 +10,8 @@
#include "ash/wm/power_button_controller.h"
#include "base/prefs/pref_service.h"
#include "chromeos/dbus/dbus_thread_manager.h"
+#include "ui/base/user_activity/user_activity_detector.h"
#include "ui/display/chromeos/display_configurator.h"
-#include "ui/wm/core/user_activity_detector.h"
namespace ash {
@@ -50,7 +50,7 @@ void PowerEventObserver::SuspendImminent() {
RequestLockScreen();
}
- wm::UserActivityDetector::Get()->OnDisplayPowerChanging();
+ ui::UserActivityDetector::Get()->OnDisplayPowerChanging();
shell->display_configurator()->SuspendDisplays();
}
« no previous file with comments | « ash/shell.cc ('k') | athena/env/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698