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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 1648293003: Fix smooth scroll jump when switching scroll handling between MT and CC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: finish animations on main Created 4 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/graphics/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index 57101d591115aef46cd385775e6ec7d430b6aec8..3cd169b5cc75882b2b5de65b421a8de5fc9913c1 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -234,6 +234,10 @@ public:
WebContentLayer* contentLayer() const { return m_layer.get(); }
+ // Sets main thread scrolling reasons on the underlying layer. If given 0,
+ // clears the main thread scrolling reasons.
+ void setMainThreadScrollingReasons(uint32_t);
+
static void registerContentsLayer(WebLayer*);
static void unregisterContentsLayer(WebLayer*);

Powered by Google App Engine
This is Rietveld 408576698