[scheduler] Experiment with prioritizing compositor if compositing has not occurred recently.

This cl add a new experiment to the CompositorPriorityExperiments class which
will prioritize compositing if no compositing task has occurred for 100ms. Once a
compositing task finishes running, we queue a delayed task Delayed task which will
run after 100ms. This task raises compositor priority to kVeryHigh. Once a compositing
task is run, we cancel the delayed task and queue a new one.

Bug: 966177
Change-Id: Ic872b66ca81f08631355280126724786ef6046ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699218
Commit-Queue: Katie Dillon <[email protected]>
Reviewed-by: Scott Haseley <[email protected]>
Reviewed-by: Alexander Timin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#681857}
5 files changed