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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp

Issue 2631113003: Add metric to know how user use scrollbar (Closed)
Patch Set: move to UseCounter Created 3 years, 11 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/platform/scroll/Scrollbar.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
index ed1ffd697d43b82a43c5256fbfd81f78cd8d9364..b0f01686df1f29bea1f281c790f81f0e7701fe10 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
@@ -317,6 +317,7 @@ void Scrollbar::setPressedPart(ScrollbarPart part) {
|| m_hoveredPart != NoPart)
setNeedsPaintInvalidation(
static_cast<ScrollbarPart>(m_pressedPart | m_hoveredPart | part));
+ root()->sendScrollbarUseUMA(part, orientation());
m_pressedPart = part;
}

Powered by Google App Engine
This is Rietveld 408576698