| 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 8ed6290d8515c53c48f23818811495dd396f11bf..0fb8c55f93558a2a6b5086ed646bfd9dfd4d43fd 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/WebSnapPointList.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 SetSnapOffsets(const WebSnapPointList&);
|
| +
|
| protected:
|
| String DebugName(cc::Layer*) const;
|
| bool ShouldFlattenTransform() const { return should_flatten_transform_; }
|
| @@ -383,6 +386,9 @@ class PLATFORM_EXPORT GraphicsLayer : public cc::LayerClient,
|
|
|
| Vector<LinkHighlight*> link_highlights_;
|
|
|
| + Vector<double> m_snapOffsetsH;
|
| + Vector<double> m_snapOffsetsV;
|
| +
|
| std::unique_ptr<ContentLayerDelegate> content_layer_delegate_;
|
|
|
| WeakPersistent<ScrollableArea> scrollable_area_;
|
|
|