Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Side by Side Diff: core/page/scrolling/ScrollState.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/page/PagePopupController.idl ('k') | core/page/scrolling/ScrollStateCallback.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORek PY
6 6
7 [ 7 [
8 Constructor(optional double deltaX = 0, 8 Constructor(optional ScrollStateInit scrollStateInit),
9 optional double deltaY = 0, 9 WillBeGarbageCollected,
10 optional double deltaGranularity = 0, 10 RuntimeEnabled = ScrollCustomization,
11 optional double velocityX = 0, 11 ] interface ScrollState
12 optional double velocityY = 0, 12 {
13 optional boolean inInertialPhase = false,
14 optional boolean isBeginning = false,
15 optional boolean isEnding = false),
16 WillBeGarbageCollected,
17 RuntimeEnabled=ScrollCustomization
18 ] interface ScrollState {
19 readonly attribute double deltaX; 13 readonly attribute double deltaX;
20 readonly attribute double deltaY; 14 readonly attribute double deltaY;
21 readonly attribute double deltaGranularity; 15 readonly attribute long startPositionX;
16 readonly attribute long startPositionY;
22 readonly attribute double velocityX; 17 readonly attribute double velocityX;
23 readonly attribute double velocityY; 18 readonly attribute double velocityY;
19 readonly attribute boolean isBeginning;
24 readonly attribute boolean inInertialPhase; 20 readonly attribute boolean inInertialPhase;
25 readonly attribute boolean isEnding; 21 readonly attribute boolean isEnding;
26 readonly attribute boolean isBeginning; 22 readonly attribute boolean shouldPropagate;
27 readonly attribute boolean fromUserInput; 23 readonly attribute boolean fromUserInput;
28 readonly attribute boolean shouldPropagate; 24 readonly attribute boolean isDirectManipulation;
25 readonly attribute double deltaGranularity;
29 26
30 [RaisesException] void consumeDelta(double x, double y); 27 [RaisesException] void consumeDelta(double x, double y);
31 // FIXME: implement distributeToScrollChainDescendent. 28 void distributeToScrollChainDescendant();
32 }; 29 };
OLDNEW
« no previous file with comments | « core/page/PagePopupController.idl ('k') | core/page/scrolling/ScrollStateCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698