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

Unified Diff: athena/env/athena_env_impl.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 | « athena/env/DEPS ('k') | chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/env/athena_env_impl.cc
diff --git a/athena/env/athena_env_impl.cc b/athena/env/athena_env_impl.cc
index 6b5975d7cfe2c4752333648ed146319240abbe57..58b849088e587f7147a4db08dcfd54b6c2476dc9 100644
--- a/athena/env/athena_env_impl.cc
+++ b/athena/env/athena_env_impl.cc
@@ -18,6 +18,7 @@
#include "ui/aura/window_tree_host_observer.h"
#include "ui/base/cursor/cursor.h"
#include "ui/base/cursor/image_cursors.h"
+#include "ui/base/user_activity/user_activity_detector.h"
#include "ui/chromeos/user_activity_power_manager_notifier.h"
#include "ui/display/chromeos/display_configurator.h"
#include "ui/display/types/display_mode.h"
@@ -31,7 +32,6 @@
#include "ui/wm/core/input_method_event_filter.h"
#include "ui/wm/core/native_cursor_manager.h"
#include "ui/wm/core/native_cursor_manager_delegate.h"
-#include "ui/wm/core/user_activity_detector.h"
namespace athena {
@@ -245,7 +245,7 @@ class AthenaEnvImpl : public AthenaEnv,
cursor_manager_->SetCursor(ui::kCursorPointer);
aura::client::SetCursorClient(host_->window(), cursor_manager_.get());
- user_activity_detector_.reset(new wm::UserActivityDetector);
+ user_activity_detector_.reset(new ui::UserActivityDetector);
host_->event_processor()->GetRootTarget()->AddPreTargetHandler(
user_activity_detector_.get());
user_activity_notifier_.reset(new ui::UserActivityPowerManagerNotifier(
@@ -395,7 +395,7 @@ class AthenaEnvImpl : public AthenaEnv,
scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_;
scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
scoped_ptr<wm::CursorManager> cursor_manager_;
- scoped_ptr<wm::UserActivityDetector> user_activity_detector_;
+ scoped_ptr<ui::UserActivityDetector> user_activity_detector_;
scoped_ptr<ui::DisplayConfigurator> display_configurator_;
scoped_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_;
« no previous file with comments | « athena/env/DEPS ('k') | chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698