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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollStateInit.idl

Issue 1646663002: Refactor Scroll Customization to share cc::ScrollStateData with blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linking. Created 4 years, 10 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
Index: third_party/WebKit/Source/core/page/scrolling/ScrollStateInit.idl
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollStateInit.idl b/third_party/WebKit/Source/core/page/scrolling/ScrollStateInit.idl
new file mode 100644
index 0000000000000000000000000000000000000000..d7aa1403eead71b4e5147c91962c8ddf4d8b6302
--- /dev/null
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollStateInit.idl
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORekPY
+
+dictionary ScrollStateInit {
+ double deltaX = 0;
+ double deltaY = 0;
+ long startPositionX = 0;
+ long startPositionY = 0;
+ double velocityX = 0;
+ double velocityY = 0;
+ boolean isBeginning = false;
+ boolean isInInertialPhase = false;
+ boolean isEnding = false;
+ boolean shouldPropagate = true;
+ boolean fromUserInput = false;
+ boolean isDirectManipulation = false;
+ double deltaGranularity = 0;
+};

Powered by Google App Engine
This is Rietveld 408576698