api: Scale dim, rather than idle, delays while presenting.

This deprecates PowerManagementPolicy's
presentation_idle_delay_factor field and adds a new
presentation_screen_dim_delay_factor field. Basing the
scaling on the screen-dimming delay is more useful and
matches the style of scaling done by
user_activity_screen_dim_delay_factor.

BUG=chromium:248276
TEST=built it
CQ-DEPEND=I025a9c1cb9d7af1ae1e1c028744318295b1e85e5

Change-Id: I0bac41b585231fde1d5236ec1599c9756fe7aba2
Reviewed-on: https://gerrit.chromium.org/gerrit/58193
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Bartosz Fabianowski <bartfab@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
1 file changed
tree: cba4958e7e1048097191bb13d6248cf3ba73c448
  1. dbus/
  2. switches/
  3. README
  4. system_api.gyp