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

Unified Diff: webkit/compositor_bindings/web_layer_impl.cc

Issue 12552004: Support bottom-right anchored fixed-position elements during a pinch gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reupload the same thing Created 7 years, 9 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: webkit/compositor_bindings/web_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_layer_impl.cc b/webkit/compositor_bindings/web_layer_impl.cc
index c1c76663bbc72698f96384f16c8b72191342989d..e986153632e1cb2f42d3d183f0233ddfc959e37f 100644
--- a/webkit/compositor_bindings/web_layer_impl.cc
+++ b/webkit/compositor_bindings/web_layer_impl.cc
@@ -324,6 +324,22 @@ bool WebLayerImpl::fixedToContainerLayer() const {
return layer_->fixedToContainerLayer();
}
+void WebLayerImpl::setFixedToRightEdge(bool enable) {
+ layer_->setFixedToRightEdge(enable);
+}
+
+bool WebLayerImpl::fixedToRightEdge() const {
+ return layer_->fixedToRightEdge();
+}
+
+void WebLayerImpl::setFixedToBottomEdge(bool enable) {
+ layer_->setFixedToBottomEdge(enable);
+}
+
+bool WebLayerImpl::fixedToBottomEdge() const {
+ return layer_->fixedToBottomEdge();
+}
+
void WebLayerImpl::setScrollClient(WebLayerScrollClient* scroll_client) {
layer_->setLayerScrollClient(scroll_client);
}
« cc/layer_tree_host_common.cc ('K') | « webkit/compositor_bindings/web_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698