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

Unified Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Update the test Created 3 years, 6 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/public/platform/WebLayerTreeView.h
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h
index 60ff88913c06b1b203c8910272729e1fbe9da9fc..ad61469a9b3f95e151f3c2378283a0f83494af25 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -33,6 +33,7 @@
#include "WebEventListenerProperties.h"
#include "WebFloatPoint.h"
#include "WebImageLayer.h"
+#include "WebScrollBoundaryBehavior.h"
#include "WebSize.h"
#include "base/callback.h"
#include "cc/surfaces/frame_sink_id.h"
@@ -117,6 +118,8 @@ class WebLayerTreeView {
// shrunk the viewport clip layers by the browser controls height.
virtual void SetBrowserControlsHeight(float height, bool shrink_viewport) {}
+ virtual void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) {}
+
// Flow control and scheduling ---------------------------------------
// Indicates that blink needs a BeginFrame, but that nothing might actually be

Powered by Google App Engine
This is Rietveld 408576698