ash: Avoid treating screen resizes as user activity.
commit2430b2a3cfbdf230c24b7ac05a19a07eb57cca90
authorderat <derat@chromium.org>
Thu, 18 Sep 2014 16:40:48 +0000 (18 09:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Sep 2014 16:40:58 +0000 (18 16:40 +0000)
tree31dcca7c016688853e97327ff8126e6116df5879
parent758f9d0723587e50f3ebab8f1de315443893b6d6
ash: Avoid treating screen resizes as user activity.

Tell UserActivityDetector to ignore mouse events received
soon after notification that displays have been changed.
Previously, the events were only ignored after making
requests to configure displays, but this appears to be
insufficient in some cases where configuration takes longer
than a second.

BUG=360634

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

Cr-Commit-Position: refs/heads/master@{#295482}
ash/display/display_change_observer_chromeos.cc
ash/display/display_manager.cc