[ozone/x11] Enabled idle time features.
The Linux implementation of //ui/base/idle was X11-only and was not aware of Ozone. This CL fixes that by moving the necessary pieces from //ui/base/idle to //ui/base/x and extending the Screen and PlatformScreen interfaces with two methods: IsScreenSaverActive() and CalculateIdleTime(). Bug: 1098201, 1098202 Change-Id: I5ab4dcde323562000b3b3870a778ba3515a774d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2504234 Commit-Queue: Alexander Dunaev <adunaev@igalia.com> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#822537}
Showing
Please register or sign in to comment