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

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

Issue 2319623004: Add UMA for selection drag autoscroll. (Closed)
Patch Set: Change the test for MAC and merge with the master 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 f398d1b30f1e7b82a3826dc4232167f82e497b93..1f2d95b8b0f50a6eacf90af1f473224f82dcc1de 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