OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORek
PY | 5 // https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORek
PY |
6 | 6 |
7 dictionary ScrollStateInit { | 7 dictionary ScrollStateInit { |
8 double deltaX = 0; | 8 double deltaX = 0; |
9 double deltaY = 0; | 9 double deltaY = 0; |
| 10 double deltaXHint = 0; |
| 11 double deltaYHint = 0; |
10 long positionX = 0; | 12 long positionX = 0; |
11 long positionY = 0; | 13 long positionY = 0; |
12 double velocityX = 0; | 14 double velocityX = 0; |
13 double velocityY = 0; | 15 double velocityY = 0; |
14 boolean isBeginning = false; | 16 boolean isBeginning = false; |
15 boolean isInInertialPhase = false; | 17 boolean isInInertialPhase = false; |
16 boolean isEnding = false; | 18 boolean isEnding = false; |
17 boolean shouldPropagate = true; | 19 boolean shouldPropagate = true; |
18 boolean fromUserInput = false; | 20 boolean fromUserInput = false; |
19 boolean isDirectManipulation = false; | 21 boolean isDirectManipulation = false; |
20 double deltaGranularity = 0; | 22 double deltaGranularity = 0; |
21 }; | 23 }; |
OLD | NEW |