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

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

Issue 2773593005: Move logic of recording main thread scrolling reasons from cc to blink::ScrollManager (Closed)
Patch Set: Bug fix Created 3 years, 9 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 34cb0a22e7516e5bd13c7d778b2d4c1a0dbd7bbd..8d4738ae9c770585f2145dc31e2e3080c7999e8d 100644
--- a/third_party/WebKit/Source/core/input/ScrollManager.h
+++ b/third_party/WebKit/Source/core/input/ScrollManager.h
@@ -111,6 +111,10 @@ class CORE_EXPORT ScrollManager
void recomputeScrollChain(const Node& startNode,
std::deque<int>& scrollChain);
+ // Record non composited main thread scrolling reasons.
bokan 2017/03/28 15:30:16 Nit: comment unneeded.
+ uint32_t computeNonCompositedMainThreadScrollingReasons();
+ void recordNonCompositedMainThreadScrollingReasons(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