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

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

Issue 2319623004: Add UMA for selection drag autoscroll. (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into uma-seldrag 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 d5cc4f32dc9ab4a1817d34e60d05db5ec5c2022a..734071ef3706067c5e2988db4662bc601719f9b0 100644
--- a/third_party/WebKit/Source/core/page/AutoscrollController.cpp
+++ b/third_party/WebKit/Source/core/page/AutoscrollController.cpp
@@ -177,6 +177,7 @@ void AutoscrollController::updateDragAndDrop(Node* dropTargetNode, const IntPoin
m_autoscrollType = AutoscrollForDragAndDrop;
m_autoscrollLayoutObject = scrollable;
m_dragAndDropAutoscrollStartTime = eventTime;
+ UseCounter::count(m_page->mainFrame(), UseCounter::DragAndDropScrollStart);
startAutoscroll();
} else if (m_autoscrollLayoutObject != scrollable) {
m_dragAndDropAutoscrollStartTime = eventTime;
« 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