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

Unified Diff: ui/base/user_activity/user_activity_detector.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 | « ui/aura/test/run_all_unittests.cc ('k') | ui/base/user_activity/user_activity_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/user_activity/user_activity_detector.h
diff --git a/ui/base/user_activity/user_activity_detector.h b/ui/base/user_activity/user_activity_detector.h
index f2f68897175bac509db84993e54c19348188e66e..dab5bc407a01cda3c712b2c95c43ed7f64fd8fb3 100644
--- a/ui/base/user_activity/user_activity_detector.h
+++ b/ui/base/user_activity/user_activity_detector.h
@@ -45,6 +45,10 @@ class UI_BASE_EXPORT UserActivityDetector : public ui::PlatformEventObserver {
// Called when displays are about to be turned on or off.
void OnDisplayPowerChanging();
+ // Handles reports of user activity originating from outside of
+ // PlatformEventSource (e.g. the window server).
+ void HandleExternalUserActivity();
+
// ui::PlatformEventObserver:
void WillProcessEvent(const PlatformEvent& platform_event) override {}
void DidProcessEvent(const PlatformEvent& platform_event) override;
« no previous file with comments | « ui/aura/test/run_all_unittests.cc ('k') | ui/base/user_activity/user_activity_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698