[Android] Use NavigationController for pull-to-refresh activation
commitb380787cfe788ab92d9776d48ac732196f4b604d
authorjdduke <jdduke@chromium.org>
Wed, 10 Dec 2014 01:26:08 +0000 (9 17:26 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Dec 2014 01:26:23 +0000 (10 01:26 +0000)
tree85ffb8aefb1ff64e7dbbcc799429686210e8bbc2
parentbb36a451e45b5bcfa83d07ed0507e7af089928c9
[Android] Use NavigationController for pull-to-refresh activation

When pull-to-refresh is triggered, use the NavigationController to
trigger the reload instead of WebContents::ReloadFocusedFrame. This is
consistent with how toolbar-triggered reloads are performed.

Also reduce the animation time for a single reload animation rotation.

BUG=440406,428429

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

Cr-Commit-Position: refs/heads/master@{#307610}
content/browser/android/overscroll_controller_android.cc
content/browser/android/overscroll_refresh.cc