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

Unified Diff: chrome/browser/chromeos/login/webui_login_display.cc

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/login/webui_login_display.cc
diff --git a/chrome/browser/chromeos/login/webui_login_display.cc b/chrome/browser/chromeos/login/webui_login_display.cc
index a0582eeb331e2e3ba7da400e5e7881281615e5a3..033baa23e871b1de568c861727203f4fe3d2ef86 100644
--- a/chrome/browser/chromeos/login/webui_login_display.cc
+++ b/chrome/browser/chromeos/login/webui_login_display.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/chromeos/login/webui_login_display.h"
#include "ash/shell.h"
-#include "ash/wm/user_activity_detector.h"
#include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
#include "chrome/browser/chromeos/login/login_display_host_impl.h"
#include "chrome/browser/chromeos/login/screen_locker.h"
@@ -20,6 +19,7 @@
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/widget/widget.h"
+#include "ui/wm/core/user_activity_detector.h"
namespace chromeos {
@@ -34,7 +34,7 @@ const int kPasswordClearTimeoutSec = 60;
WebUILoginDisplay::~WebUILoginDisplay() {
if (webui_handler_)
webui_handler_->ResetSigninScreenHandlerDelegate();
- ash::UserActivityDetector* activity_detector = ash::Shell::GetInstance()->
+ wm::UserActivityDetector* activity_detector = ash::Shell::GetInstance()->
user_activity_detector();
if (activity_detector->HasObserver(this))
activity_detector->RemoveObserver(this);
@@ -66,7 +66,7 @@ void WebUILoginDisplay::Init(const UserList& users,
show_users_ = show_users;
show_new_user_ = show_new_user;
- ash::UserActivityDetector* activity_detector = ash::Shell::GetInstance()->
+ wm::UserActivityDetector* activity_detector = ash::Shell::GetInstance()->
user_activity_detector();
if (!activity_detector->HasObserver(this))
activity_detector->AddObserver(this);

Powered by Google App Engine
This is Rietveld 408576698