Hide location bar on Javascript-initiated scroll.
Many sites use window.scrollTo(0,1) and other offsets as a means of
hiding the location bar on mobile. In fact, Android Browser and
iOS support hiding the location bar on any Javascript-initiated
scroll.
See also corresponding WebKit bugs:
https://bugs.webkit.org/show_bug.cgi?id=107027
This is a patch based on on jknottten's work:
https://chromiumcodereview.appspot.com/
11967015/
TEST=Test that URL bar is hidden when pressing on the various test buttons in http://jsbin.com/eruxon/5
BUG=165317
Review URL: https://chromiumcodereview.appspot.com/
14139013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201303 0039d316-1c4b-4281-b951-d872f2087c98