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

Unified Diff: cc/blink/web_layer_impl.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, 10 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: cc/blink/web_layer_impl.h
diff --git a/cc/blink/web_layer_impl.h b/cc/blink/web_layer_impl.h
index 3dbc41e550e21ec45a0e20386fa7b117105536f8..bb25e82d9740c67c9ee96091cbc6db5587c9dcfb 100644
--- a/cc/blink/web_layer_impl.h
+++ b/cc/blink/web_layer_impl.h
@@ -123,6 +123,8 @@ class WebLayerImpl : public blink::WebLayer {
bool userScrollableVertical() const override;
void addMainThreadScrollingReasons(
uint32_t main_thread_scrolling_reasons) override;
+ void clearMainThreadScrollingReasons(
+ uint32_t main_thread_scrolling_reasons_to_clear) override;
void clearMainThreadScrollingReasons() override;
bool shouldScrollOnMainThread() const override;
void setNonFastScrollableRegion(
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698