OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // http://dev.w3.org/houdini/css-scroll-api/ | 5 // https://goo.gl/1ipTpP |
haraken
2015/07/15 00:15:18
Can we use a full URL?
tdresser
2015/07/15 14:04:54
Done.
skobes
2015/07/15 19:52:40
@haraken: Just curious, why do you want the full U
haraken
2015/07/15 23:33:19
That's just a convention. We've been adding a full
| |
6 | 6 |
7 [ | 7 [ |
8 Constructor(optional double deltaX = 0, | 8 Constructor(optional double deltaX = 0, |
9 optional double deltaY = 0, | 9 optional double deltaY = 0, |
10 optional double deltaGranularity = 0, | 10 optional double deltaGranularity = 0, |
11 optional double velocityX = 0, | 11 optional double velocityX = 0, |
12 optional double velocityY = 0, | 12 optional double velocityY = 0, |
13 optional boolean inInertialPhase = false, | 13 optional boolean inInertialPhase = false, |
14 optional boolean isBeginning = false, | 14 optional boolean isBeginning = false, |
15 optional boolean isEnding = false), | 15 optional boolean isEnding = false), |
16 WillBeGarbageCollected, | 16 WillBeGarbageCollected, |
17 RuntimeEnabled=ScrollCustomization | 17 RuntimeEnabled=ScrollCustomization |
18 ] interface ScrollState { | 18 ] interface ScrollState { |
19 readonly attribute double deltaX; | 19 readonly attribute double deltaX; |
20 readonly attribute double deltaY; | 20 readonly attribute double deltaY; |
21 readonly attribute double deltaGranularity; | 21 readonly attribute double deltaGranularity; |
22 readonly attribute double velocityX; | 22 readonly attribute double velocityX; |
23 readonly attribute double velocityY; | 23 readonly attribute double velocityY; |
24 readonly attribute boolean inInertialPhase; | 24 readonly attribute boolean inInertialPhase; |
25 readonly attribute boolean isEnding; | 25 readonly attribute boolean isEnding; |
26 readonly attribute boolean isBeginning; | 26 readonly attribute boolean isBeginning; |
27 readonly attribute boolean fromUserInput; | 27 readonly attribute boolean fromUserInput; |
28 readonly attribute boolean shouldPropagate; | 28 readonly attribute boolean shouldPropagate; |
29 | 29 |
30 [RaisesException] void consumeDelta(double x, double y); | 30 [RaisesException] void consumeDelta(double x, double y); |
31 // FIXME: implement distributeToScrollChainDescendent. | 31 void distributeToScrollChainDescendant(); |
32 }; | 32 }; |
OLD | NEW |