| 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; |
| 12 boolean ignoreDeltaHints = false; |
| 10 long positionX = 0; | 13 long positionX = 0; |
| 11 long positionY = 0; | 14 long positionY = 0; |
| 12 double velocityX = 0; | 15 double velocityX = 0; |
| 13 double velocityY = 0; | 16 double velocityY = 0; |
| 14 boolean isBeginning = false; | 17 boolean isBeginning = false; |
| 15 boolean isInInertialPhase = false; | 18 boolean isInInertialPhase = false; |
| 16 boolean isEnding = false; | 19 boolean isEnding = false; |
| 17 boolean shouldPropagate = true; | 20 boolean shouldPropagate = true; |
| 18 boolean fromUserInput = false; | 21 boolean fromUserInput = false; |
| 19 boolean isDirectManipulation = false; | 22 boolean isDirectManipulation = false; |
| 20 double deltaGranularity = 0; | 23 double deltaGranularity = 0; |
| 21 }; | 24 }; |
| OLD | NEW |