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

Unified Diff: third_party/WebKit/Source/core/page/AutoscrollController.cpp

Issue 2302133002: Add UMA measuring pan scrolling usage. (Closed)
Patch Set: Fixed the nits Created 4 years, 3 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 | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/AutoscrollController.cpp
diff --git a/third_party/WebKit/Source/core/page/AutoscrollController.cpp b/third_party/WebKit/Source/core/page/AutoscrollController.cpp
index 34620a291a0f193b9ce7d0e5e8744a84ed516de0..befeb87a7580fed75be4ad5f169acc52ba0e57a8 100644
--- a/third_party/WebKit/Source/core/page/AutoscrollController.cpp
+++ b/third_party/WebKit/Source/core/page/AutoscrollController.cpp
@@ -223,6 +223,7 @@ void AutoscrollController::startPanScrolling(LayoutBox* scrollable, const IntPoi
m_autoscrollLayoutObject = scrollable;
m_panScrollStartPos = lastKnownMousePosition;
+ UseCounter::count(m_page->mainFrame(), UseCounter::PanScrollingStart);
startAutoscroll();
}
#else
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698