Chromium Code Reviews| 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_; } |