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..9d88b6534f7aae6f7424d2fc35ce9fa9519d7fba |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/WebScrollBoundaryBehavior.h |
| @@ -0,0 +1,18 @@ |
| +// 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" |
| + |
| +namespace blink { |
| + |
| +struct WebScrollBoundaryBehavior : public cc::ScrollBoundaryBehavior { |
| + using ScrollBoundaryBehavior::ScrollBoundaryBehavior; |
|
majidvp
2017/05/18 15:26:10
I am confused by this using statement.
First shou
sunyunjia
2017/05/19 20:14:23
That was a way I found on stackoverflow to inherit
|
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif |