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

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

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.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index 1988779fc202731c6c2b9e241a63742c4163c1d4..467d68da9a12a7132c562874bda5930d14783baf 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -50,6 +50,7 @@
#include "public/platform/WebContentLayer.h"
#include "public/platform/WebImageLayer.h"
#include "public/platform/WebLayerStickyPositionConstraint.h"
+#include "public/platform/WebScrollBoundaryBehavior.h"
#include "third_party/skia/include/core/SkFilterQuality.h"
#include "third_party/skia/include/core/SkRefCnt.h"
@@ -277,6 +278,8 @@ class PLATFORM_EXPORT GraphicsLayer : public cc::LayerClient,
void SetHasWillChangeTransformHint(bool);
+ void SetScrollBoundaryBehavior(WebScrollBoundaryBehavior);
bokan 2017/05/19 19:35:57 pass by const ref
sunyunjia 2017/05/25 20:07:10 Done.
+
protected:
String DebugName(cc::Layer*) const;
bool ShouldFlattenTransform() const { return should_flatten_transform_; }

Powered by Google App Engine
This is Rietveld 408576698