Index: core/page/scrolling/ScrollStateInit.idl |
diff --git a/core/page/scrolling/ScrollStateInit.idl b/core/page/scrolling/ScrollStateInit.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d7aa1403eead71b4e5147c91962c8ddf4d8b6302 |
--- /dev/null |
+++ b/core/page/scrolling/ScrollStateInit.idl |
@@ -0,0 +1,21 @@ |
+// Copyright 2016 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. |
+ |
+// https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORekPY |
+ |
+dictionary ScrollStateInit { |
+ double deltaX = 0; |
+ double deltaY = 0; |
+ long startPositionX = 0; |
+ long startPositionY = 0; |
+ double velocityX = 0; |
+ double velocityY = 0; |
+ boolean isBeginning = false; |
+ boolean isInInertialPhase = false; |
+ boolean isEnding = false; |
+ boolean shouldPropagate = true; |
+ boolean fromUserInput = false; |
+ boolean isDirectManipulation = false; |
+ double deltaGranularity = 0; |
+}; |