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

Unified Diff: third_party/WebKit/Source/core/input/ScrollManager.h

Issue 2773893003: Record size of scroller that user scrolls (Closed)
Patch Set: nit Created 3 years, 8 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/input/ScrollManager.h
diff --git a/third_party/WebKit/Source/core/input/ScrollManager.h b/third_party/WebKit/Source/core/input/ScrollManager.h
index 715282dc7264ee8f5f26fe50a967a9dc33677028..74c4672c4af592f52c12e1dfd950e60f7c77c846 100644
--- a/third_party/WebKit/Source/core/input/ScrollManager.h
+++ b/third_party/WebKit/Source/core/input/ScrollManager.h
@@ -111,8 +111,10 @@ class CORE_EXPORT ScrollManager
void RecomputeScrollChain(const Node& start_node,
std::deque<int>& scroll_chain);
- uint32_t ComputeNonCompositedMainThreadScrollingReasons();
- void RecordNonCompositedMainThreadScrollingReasons(const WebGestureDevice);
+ void ComputeScrollRelatedMetrics(
flackr 2017/04/21 00:56:35 Document that scroller_size is set only if there i
yigu 2017/04/21 12:20:33 Done.
+ uint32_t* non_composited_main_thread_scrolling_reasons,
+ int* scroller_size);
+ void RecordScrollRelatedMetrics(const WebGestureDevice);
// NOTE: If adding a new field to this class please ensure that it is
// cleared in |ScrollManager::clear()|.

Powered by Google App Engine
This is Rietveld 408576698