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

Unified Diff: sky/engine/core/page/scrolling/ScrollingCoordinator.h

Issue 688433003: Remove viewportConstrained plumbing. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/scrolling/ScrollingCoordinator.h
diff --git a/sky/engine/core/page/scrolling/ScrollingCoordinator.h b/sky/engine/core/page/scrolling/ScrollingCoordinator.h
index 7ebcebcd58a0f0500c471f618954cc25d6f63a5e..f467d50581dff89f558afd974e8e716d57fc5696 100644
--- a/sky/engine/core/page/scrolling/ScrollingCoordinator.h
+++ b/sky/engine/core/page/scrolling/ScrollingCoordinator.h
@@ -81,10 +81,9 @@ public:
void handleWheelEventPhase(PlatformWheelEventPhase);
#endif
+ // FIXME(sky): get rid of this enum.
enum MainThreadScrollingReasonFlags {
HasSlowRepaintObjects = 1 << 0,
- HasViewportConstrainedObjectsWithoutSupportingFixedLayers = 1 << 1,
- HasNonLayerViewportConstrainedObjects = 1 << 2,
};
MainThreadScrollingReasons mainThreadScrollingReasons() const;
@@ -129,8 +128,6 @@ private:
void setShouldUpdateScrollLayerPositionOnMainThread(MainThreadScrollingReasons);
- bool hasVisibleSlowRepaintViewportConstrainedObjects(FrameView*) const;
-
void setShouldHandleScrollGestureOnMainThreadRegion(const Region&);
void setTouchEventTargetRects(LayerHitTestRects&);
void computeTouchEventTargetRects(LayerHitTestRects&);
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698