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

Unified Diff: third_party/WebKit/Source/platform/Widget.h

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/Widget.h
diff --git a/third_party/WebKit/Source/platform/Widget.h b/third_party/WebKit/Source/platform/Widget.h
index 2c59cb0a6a31dd3addb94e191feb1321aef6d069..f22f7bc6700727fbae5053f5475dde178454085e 100644
--- a/third_party/WebKit/Source/platform/Widget.h
+++ b/third_party/WebKit/Source/platform/Widget.h
@@ -32,6 +32,7 @@
#include "platform/geometry/FloatPoint.h"
#include "platform/geometry/IntRect.h"
#include "platform/heap/Handle.h"
+#include "platform/scroll/ScrollTypes.h"
#include "public/platform/WebFocusType.h"
#include "wtf/Forward.h"
@@ -126,6 +127,8 @@ class PLATFORM_EXPORT Widget : public GarbageCollectedFinalized<Widget> {
DECLARE_VIRTUAL_TRACE();
virtual void dispose() {}
+ virtual void sendScrollbarUseUMA(ScrollbarPart, ScrollbarOrientation) {}
bokan 2017/01/17 21:24:01 Rather than going through widget, I'd add a Scroll
+
private:
Member<Widget> m_parent;
IntRect m_frameRect;
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698