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

Unified Diff: ash/shell.h

Issue 2639703004: mus: Forward user activity from window server to detector. (Closed)
Patch Set: address jamescook@'s comments Created 3 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 | « no previous file | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 66b0322f5d32419311bf95ca44095d9ea7224dae..8245a4a04ce49bcb37ba446d8f2bd40f8b1b4b79 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -25,6 +25,7 @@
namespace aura {
class RootWindow;
+class UserActivityForwarder;
class Window;
class WindowManagerClient;
class WindowTreeClient;
@@ -498,6 +499,10 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
std::unique_ptr<ScreenPinningController> screen_pinning_controller_;
+ // Forwards user activity ui::mojom::UserActivityMonitor to
+ // |user_activity_detector_|. Only initialized for mash.
+ std::unique_ptr<aura::UserActivityForwarder> user_activity_forwarder_;
+
std::unique_ptr<PowerEventObserver> power_event_observer_;
std::unique_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_;
std::unique_ptr<VideoActivityNotifier> video_activity_notifier_;
@@ -520,7 +525,7 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
// Listens for shutdown and updates DisplayConfigurator.
std::unique_ptr<ShutdownObserver> shutdown_observer_;
- // Implements content::ScreenOrientationController for ChromeOS
+ // Implements content::ScreenOrientationController for Chrome OS.
std::unique_ptr<ScreenOrientationController> screen_orientation_controller_;
std::unique_ptr<ScreenLayoutObserver> screen_layout_observer_;
@@ -536,7 +541,7 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
// pointer to vend to test code.
AshNativeCursorManager* native_cursor_manager_;
- // Cursor may be hidden on certain key events in ChromeOS, whereas we never
+ // Cursor may be hidden on certain key events in Chrome OS, whereas we never
// hide the cursor on Windows.
std::unique_ptr<::wm::CursorManager> cursor_manager_;
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698