Lock the top controls during pinch zoom
commita9bda5e7dbfe1fa93febda8bf45eb7c2dab5bd9e
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Oct 2013 18:43:37 +0000 (25 18:43 +0000)
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Oct 2013 18:43:37 +0000 (25 18:43 +0000)
treed3154528f8da752a630ec0b40e7743aed072795f
parenta97b27f933c571a3badb9f0061354bdb452e0d80
Lock the top controls during pinch zoom

The sliding of top controls during pinch zoom is distracting and potentially
performance inhibiting. Lock the controls if they are at an extreme on
pinch start.

BUG=280179

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231062 0039d316-1c4b-4281-b951-d872f2087c98
cc/input/top_controls_manager.cc
cc/input/top_controls_manager.h
cc/input/top_controls_manager_unittest.cc
cc/trees/layer_tree_host_impl.cc