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

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

Issue 2319623004: Add UMA for selection drag autoscroll. (Closed)
Patch Set: Add uma for selection drag autoscroll 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
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 befeb87a7580fed75be4ad5f169acc52ba0e57a8..b2f499ede8cbbe1958063dc6caf27b1e7df80616 100644
--- a/third_party/WebKit/Source/core/page/AutoscrollController.cpp
+++ b/third_party/WebKit/Source/core/page/AutoscrollController.cpp
@@ -180,6 +180,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;

Powered by Google App Engine
This is Rietveld 408576698