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

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

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Update WebScrollBoundaryBehavior. Created 3 years, 7 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.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index ebb192b3203d7f7e29c8d392cc48e36ffad12108..cbfc405df0392e3513dc39f480632b9d698b3497 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -150,6 +150,11 @@ void GraphicsLayer::SetHasWillChangeTransformHint(
layer_->Layer()->SetHasWillChangeTransformHint(has_will_change_transform);
}
+void GraphicsLayer::SetScrollBoundaryBehavior(
+ WebScrollBoundaryBehavior behavior) {
+ layer_->Layer()->SetScrollBoundaryBehavior(behavior);
+}
+
void GraphicsLayer::SetParent(GraphicsLayer* layer) {
#if DCHECK_IS_ON()
DCHECK(!layer || !layer->HasAncestor(this));

Powered by Google App Engine
This is Rietveld 408576698