aura: fast resizes for accelerated pages

This CL adds a compositor lock that we grab while waiting for the renderer's
frame. The lock expires with a short delay.
It makes a lot of pages resize interactively (e.g. NYT), the slow pages being not significantly worse.

BUG=58782
TEST=load www.nytimes.com, resize, see it's interactive. load gmail, resize, see it's not but it's still working

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128585

Review URL: https://chromiumcodereview.appspot.com/9838045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128607 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed