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

Unified Diff: cc/blink/web_layer_impl.cc

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Add documentation Created 3 years, 5 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 | « cc/blink/web_layer_impl.h ('k') | cc/input/scroll_boundary_behavior.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.cc
diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc
index c89a657872bc8943f1ac97204872fad957261229..b16e70f31b9cdbeddd1fa3c4822ebc11f00a5282 100644
--- a/cc/blink/web_layer_impl.cc
+++ b/cc/blink/web_layer_impl.cc
@@ -39,6 +39,7 @@ using blink::WebVector;
using blink::WebRect;
using blink::WebSize;
using blink::WebColor;
+using blink::WebScrollBoundaryBehavior;
namespace cc_blink {
@@ -490,4 +491,10 @@ void WebLayerImpl::ShowScrollbars() {
layer_->ShowScrollbars();
}
+void WebLayerImpl::SetScrollBoundaryBehavior(
+ const blink::WebScrollBoundaryBehavior& behavior) {
+ layer_->SetScrollBoundaryBehavior(
+ static_cast<cc::ScrollBoundaryBehavior>(behavior));
+}
+
} // namespace cc_blink
« no previous file with comments | « cc/blink/web_layer_impl.h ('k') | cc/input/scroll_boundary_behavior.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698