Introduce a loading policy to the renderer scheduler
commitc067e255c1e47962989bf411d403ca913d2caf9b
authoralexclarke <alexclarke@chromium.org>
Thu, 11 Jun 2015 16:50:23 +0000 (11 09:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Jun 2015 16:51:04 +0000 (11 16:51 +0000)
treefcf57522c0beba2b15a56a2ea7313b67dd83935b
parentd5cf758d16a434ebe0c77b817175bfcd7c8cf6fb
Introduce a loading policy to the renderer scheduler

The idea is to deprioritize compositing tasks for for 1s after a page
load is detected.  This has the side effect of prioritizing loading
tasks.  Note the signal is not wired up so this patch should have no
effect by itself.

BUG=497761

Review URL: https://codereview.chromium.org/1168473007

Cr-Commit-Position: refs/heads/master@{#333967}
components/scheduler/renderer/null_renderer_scheduler.cc
components/scheduler/renderer/null_renderer_scheduler.h
components/scheduler/renderer/renderer_scheduler.h
components/scheduler/renderer/renderer_scheduler_impl.cc
components/scheduler/renderer/renderer_scheduler_impl.h
components/scheduler/renderer/renderer_scheduler_impl_unittest.cc
content/test/fake_renderer_scheduler.cc
content/test/fake_renderer_scheduler.h