Only allow overlay pinch-zoom scrollbars when page scale > 1.
commite6e7f2975d4c2230a9c2569ce77627030d837ff9
authorwjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 24 Apr 2014 22:23:03 +0000 (24 22:23 +0000)
committerwjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 24 Apr 2014 22:23:03 +0000 (24 22:23 +0000)
treeb0f0ef80e9ad717503ccef4adb9b222ba0846b7e
parent00b7cf15877dc17d07d591c893671decb6b869e2
Only allow overlay pinch-zoom scrollbars when page scale > 1.

When both overlay- and non-overlay-scrollbars are in use on desktop, we should
only display the overlay scrollbars when page scale factor is greater than 1.
(On desktop, 1 is the minimum page scale factor).

BUG=336661

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266007 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/layer_impl.cc
cc/trees/layer_tree_host_impl_unittest.cc
content/renderer/gpu/render_widget_compositor.cc