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

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: Moving mainThreadScrollingReason related function from ScrollingCoordinator to FrameView to indicat… 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 b5775ab80f437659a1792d800a4e512b198bac16..f6747424561a7a1473052200bd41419ae0aa2cd3 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
@@ -94,11 +94,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,
@@ -119,8 +114,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;
@@ -158,8 +151,6 @@ class CORE_EXPORT ScrollingCoordinator final
void setShouldUpdateScrollLayerPositionOnMainThread(
MainThreadScrollingReasons);
- bool hasVisibleSlowRepaintViewportConstrainedObjects(FrameView*) const;
-
void setShouldHandleScrollGestureOnMainThreadRegion(const Region&);
void setTouchEventTargetRects(LayerHitTestRects&);
void computeTouchEventTargetRects(LayerHitTestRects&);

Powered by Google App Engine
This is Rietveld 408576698