Fixing UMA logging for GestureNav
commit27e68f6e248a872f482ebe35f8abd80c5a60aa4d
authormfomitchev <mfomitchev@chromium.org>
Tue, 14 Apr 2015 15:18:14 +0000 (14 08:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Apr 2015 15:18:39 +0000 (14 15:18 +0000)
tree853d2a8426d7e6563ac119513920e823cdd424e5
parent4503272ef75d9e57dcf79755a5788318c19a02b4
Fixing UMA logging for GestureNav

After the recent refactoring patch (crrev.com/1072123002), some of the stats
were not being recorded propery. This patch fixes that and moves the logging to
OverscrollNavigationOverlay so that the stats are logged when the gesture nav
overlay slides on top of the screenshot as well as the live page.

BUG=476028

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

Cr-Commit-Position: refs/heads/master@{#325049}
content/browser/renderer_host/overscroll_controller.cc
content/browser/renderer_host/overscroll_controller.h
content/browser/web_contents/aura/overscroll_navigation_overlay.cc
content/browser/web_contents/aura/overscroll_navigation_overlay.h
content/browser/web_contents/web_contents_view_aura.cc
tools/metrics/histograms/histograms.xml