Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2339)

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 2698673006: Add User Actions and adding more details to UMA metrics for overscroll navigation (Closed)
Patch Set: Trailing period Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.h ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index 04f654975234fe46a0e7c4cb61fcf3fe6e9281fd..1bfef2c99481144fea7a7077b5abba578c06bfe8 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -1055,13 +1055,14 @@ void WebContentsViewAura::OnOverscrollComplete(OverscrollMode mode) {
}
void WebContentsViewAura::OnOverscrollModeChange(OverscrollMode old_mode,
- OverscrollMode new_mode) {
+ OverscrollMode new_mode,
+ OverscrollSource source) {
if (old_mode == OVERSCROLL_NORTH || old_mode == OVERSCROLL_SOUTH)
OverscrollUpdateForWebContentsDelegate(0);
current_overscroll_gesture_ = new_mode;
- navigation_overlay_->relay_delegate()->OnOverscrollModeChange(old_mode,
- new_mode);
+ navigation_overlay_->relay_delegate()->OnOverscrollModeChange(
+ old_mode, new_mode, source);
completed_overscroll_gesture_ = OVERSCROLL_NONE;
}
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.h ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698