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

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

Issue 850443002: Scroll Customization Prototype (Not for review, WIP) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase / cleanup / minor bug fixes Created 5 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 unified diff | Download patch
« no previous file with comments | « Source/core/page/scrolling/ScrollState.cpp ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // FIXME: Link to spec, once specified.
6
7 [
8 Constructor(optional double deltaX = 0,
9 optional double deltaY = 0,
10 optional double deltaGranularity = 0,
11 optional double velocityX = 0,
12 optional double velocityY = 0,
13 optional boolean inInertialPhase = false,
14 optional boolean isEnding = false),
15 GarbageCollected,
16 RuntimeEnabled=ScrollCustomization
17 ] interface ScrollState {
18 readonly attribute double deltaX;
19 readonly attribute double deltaY;
20 readonly attribute double deltaGranularity;
21 readonly attribute double velocityX;
22 readonly attribute double velocityY;
23 readonly attribute boolean inInertialPhase;
24 readonly attribute boolean isEnding;
25 readonly attribute boolean fromUserInput;
26 readonly attribute boolean shouldPropagate;
27
28 [RaisesException] void consumeDelta(double x, double y);
29 void distributeToScrollChainDescendant();
30 };
OLDNEW
« no previous file with comments | « Source/core/page/scrolling/ScrollState.cpp ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698