Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebScrollBoundaryBehavior.h | 
| diff --git a/third_party/WebKit/public/platform/WebScrollBoundaryBehavior.h b/third_party/WebKit/public/platform/WebScrollBoundaryBehavior.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..21667e97a0d72757c55673f713362823a8eb06af | 
| --- /dev/null | 
| +++ b/third_party/WebKit/public/platform/WebScrollBoundaryBehavior.h | 
| @@ -0,0 +1,27 @@ | 
| +// Copyright 2017 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#ifndef WebScrollBoundaryBehavior_h | 
| +#define WebScrollBoundaryBehavior_h | 
| + | 
| +#include "cc/input/scroll_boundary_behavior.h" | 
| + | 
| +using cc::ScrollBoundaryBehavior; | 
| + | 
| +namespace blink { | 
| + | 
| +struct WebScrollBoundaryBehavior : public ScrollBoundaryBehavior { | 
| 
 
dtapuska
2017/05/23 17:13:40
Is this all really needed?
TouchAction was used t
 
sunyunjia
2017/06/13 15:56:21
IMHO, feels like it is more readable to separate x
 
majidvp
2017/07/12 21:04:20
I believe dtapuska@ referring to the fact that we
 
 | 
| + using ScrollBoundaryBehaviorType = | 
| + ScrollBoundaryBehavior::ScrollBoundaryBehaviorType; | 
| + WebScrollBoundaryBehavior() : ScrollBoundaryBehavior() {} | 
| + WebScrollBoundaryBehavior(ScrollBoundaryBehaviorType type) | 
| + : ScrollBoundaryBehavior(type) {} | 
| + WebScrollBoundaryBehavior(ScrollBoundaryBehaviorType x_type, | 
| + ScrollBoundaryBehaviorType y_type) | 
| + : ScrollBoundaryBehavior(x_type, y_type) {} | 
| +}; | 
| + | 
| +} // namespace blink | 
| + | 
| +#endif |