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

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: Fixed the comments 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/public/platform/WebLayerTreeView.h
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h
index 19e128c17a1b67630898daa304a1f389d136dd32..1970a1cd62396a99b2915b81106c4aab0b37d7b7 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -32,6 +32,7 @@
#include "WebCompositorMutatorClient.h"
#include "WebEventListenerProperties.h"
#include "WebFloatPoint.h"
+#include "WebScrollBoundaryBehavior.h"
#include "WebSize.h"
#include "base/callback.h"
#include "cc/surfaces/frame_sink_id.h"
@@ -113,6 +114,8 @@ class WebLayerTreeView {
// shrunk the viewport clip layers by the browser controls height.
virtual void SetBrowserControlsHeight(float height, bool shrink_viewport) {}
+ virtual void SetScrollBoundaryBehavior(WebScrollBoundaryBehavior) const {}
dtapuska 2017/05/23 17:13:40 This is odd that this is a const method especially
sunyunjia 2017/06/13 15:56:21 Done.
+
// 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