commit | 7c8fc7878f280dce712d052aac4821bc67b1dcc4 | [log] [tgz] |
---|---|---|
author | Vladimir Levin <vmpstr@chromium.org> | Thu Oct 18 17:39:01 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 18 17:39:01 2018 |
tree | ca83ed933c0046ce22995793f6fa3d6b9dd47759 | |
parent | 8bd7e58308cc50ef63e533e699c35fe11cc49582 [diff] |
[DL] Add a DisplayLocking callback queue. This patch adds a callback queue to display locking context in order to process scheduled tasks in the correct order. Currently the behavior is: - Put callbacks in a queue, and post a task to run them. - While running the task, process all callbacks in the existing queue - If any of the callbacks schedule a _new_ callback, then they go into a new queue, and a new task is scheduled to run them. R=chrishtr@chromium.org Bug: 882663 Change-Id: I41dfc756bb5585d33da85746054a42cc7f5072ef Reviewed-on: https://chromium-review.googlesource.com/c/1277696 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#600814}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .