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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h

Issue 2531603003: Only scroll on main if the targeted frames need to scroll on main (Closed)
Patch Set: Resolve conflict Created 4 years 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/page/scrolling/ScrollingCoordinator.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
index 69db4d7633a5f893650a663b27cf3e18eb469c1d..3642ae147d005b5cea1c14d310a1cfa3ea08942d 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
@@ -95,11 +95,6 @@ class CORE_EXPORT ScrollingCoordinator final
// Should be called whenever the root layer for the given frame view changes.
void frameViewRootLayerDidChange(FrameView*);
- MainThreadScrollingReasons mainThreadScrollingReasons() const;
- bool shouldUpdateScrollLayerPositionOnMainThread() const {
- return mainThreadScrollingReasons() != 0;
- }
-
std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer(
ScrollbarOrientation,
int thumbThickness,
@@ -120,8 +115,6 @@ class CORE_EXPORT ScrollingCoordinator final
const PaintLayer* parent);
void updateClipParentForGraphicsLayer(GraphicsLayer* child,
const PaintLayer* parent);
-
- String mainThreadScrollingReasonsAsText() const;
Region computeShouldHandleScrollGestureOnMainThreadRegion(
const LocalFrame*,
const IntPoint& frameLocation) const;
@@ -162,8 +155,6 @@ class CORE_EXPORT ScrollingCoordinator final
void setShouldUpdateScrollLayerPositionOnMainThread(
MainThreadScrollingReasons);
- bool hasVisibleSlowRepaintViewportConstrainedObjects(FrameView*) const;
-
void setShouldHandleScrollGestureOnMainThreadRegion(const Region&);
void setTouchEventTargetRects(LayerHitTestRects&);
void computeTouchEventTargetRects(LayerHitTestRects&);
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698