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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2631113003: Add metric to know how user use scrollbar (Closed)
Patch Set: bokan comments addressed 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 983b32826d2e339f7db46b4df500c98be43a6ec5..03acac3460ce49dc0f522e95a77048193ceedd5b 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -55,6 +55,8 @@
#include "wtf/HashSet.h"
#include "wtf/ListHashSet.h"
#include "wtf/text/WTFString.h"
+
+#include <bitset>
#include <memory>
namespace blink {
@@ -518,6 +520,8 @@ class CORE_EXPORT FrameView final
verticalScrollbarMode() != ScrollbarAlwaysOff;
}
+ bool shouldSendScrollbarUseUMA(int part) override;
+
// The visible content rect has a location that is the scrolled offset of
// the document. The width and height are the layout viewport width and
// height. By default the scrollbars themselves are excluded from this
@@ -1102,6 +1106,8 @@ class CORE_EXPORT FrameView final
bool m_horizontalScrollbarLock;
bool m_verticalScrollbarLock;
+ std::bitset<ScrollbarUseUMAMax> m_sentScrollbarUseUMA;
bokan 2017/01/17 17:04:05 A page will have multiple FrameViews. Put this on
+
ChildrenWidgetSet m_children;
ScrollOffset m_pendingScrollDelta;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698