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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/page/PagePopupController.idl ('k') | core/page/scrolling/ScrollStateCallback.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/page/scrolling/ScrollState.idl
diff --git a/core/page/scrolling/ScrollState.idl b/core/page/scrolling/ScrollState.idl
index 2c7dcbad41d11f554a60634f72413dff4575e598..7e5ff504d8a743b2aad854c3b17f6a1f8d22ed21 100644
--- a/core/page/scrolling/ScrollState.idl
+++ b/core/page/scrolling/ScrollState.idl
@@ -2,31 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://dev.w3.org/houdini/css-scroll-api/
+// https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORekPY
[
- Constructor(optional double deltaX = 0,
- optional double deltaY = 0,
- optional double deltaGranularity = 0,
- optional double velocityX = 0,
- optional double velocityY = 0,
- optional boolean inInertialPhase = false,
- optional boolean isBeginning = false,
- optional boolean isEnding = false),
- WillBeGarbageCollected,
- RuntimeEnabled=ScrollCustomization
-] interface ScrollState {
+ Constructor(optional ScrollStateInit scrollStateInit),
+ WillBeGarbageCollected,
+ RuntimeEnabled = ScrollCustomization,
+] interface ScrollState
+{
readonly attribute double deltaX;
readonly attribute double deltaY;
- readonly attribute double deltaGranularity;
+ readonly attribute long startPositionX;
+ readonly attribute long startPositionY;
readonly attribute double velocityX;
readonly attribute double velocityY;
+ readonly attribute boolean isBeginning;
readonly attribute boolean inInertialPhase;
readonly attribute boolean isEnding;
- readonly attribute boolean isBeginning;
- readonly attribute boolean fromUserInput;
readonly attribute boolean shouldPropagate;
+ readonly attribute boolean fromUserInput;
+ readonly attribute boolean isDirectManipulation;
+ readonly attribute double deltaGranularity;
[RaisesException] void consumeDelta(double x, double y);
- // FIXME: implement distributeToScrollChainDescendent.
+ void distributeToScrollChainDescendant();
};
« 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