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

Side by Side Diff: services/ui/public/interfaces/user_activity_monitor.mojom

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mus.mojom; 5 module mus.mojom;
6 6
7 interface UserActivityObserver { 7 interface UserActivityObserver {
8 OnUserActivity(); 8 OnUserActivity();
9 }; 9 };
10 10
(...skipping 11 matching lines...) Expand all
22 AddUserActivityObserver(uint32 delay_between_notify_secs, 22 AddUserActivityObserver(uint32 delay_between_notify_secs,
23 UserActivityObserver observer); 23 UserActivityObserver observer);
24 24
25 // Notifies the observer when user is idle for more than 25 // Notifies the observer when user is idle for more than
26 // |idle_time_in_minutes| minutes. When the observer is first added, if the 26 // |idle_time_in_minutes| minutes. When the observer is first added, if the
27 // user has already been idle for |idle_time_in_minutes|, then 27 // user has already been idle for |idle_time_in_minutes|, then
28 // OnUserIdleStateChanged(IDLE) is called on the observer, otherwise 28 // OnUserIdleStateChanged(IDLE) is called on the observer, otherwise
29 // OnUserIdleStateChanged(ACTIVE) is called. 29 // OnUserIdleStateChanged(ACTIVE) is called.
30 AddUserIdleObserver(uint32 idle_time_in_minutes, UserIdleObserver observer); 30 AddUserIdleObserver(uint32 idle_time_in_minutes, UserIdleObserver observer);
31 }; 31 };
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/user_access_manager.mojom ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698