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

Unified Diff: Source/core/page/scrolling/ScrollStateCallback.idl

Issue 1209183004: Expose scroll customization for touch to JS (behind REF). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clean up static map. Created 5 years, 5 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: Source/core/page/scrolling/ScrollStateCallback.idl
diff --git a/Source/core/input/InputDeviceInit.idl b/Source/core/page/scrolling/ScrollStateCallback.idl
similarity index 52%
copy from Source/core/input/InputDeviceInit.idl
copy to Source/core/page/scrolling/ScrollStateCallback.idl
index cad1069a92f780de0da7dc4200c699fd61beca74..3a9ee0e54f8d4c4e1e048ad622b5fbaf75f36b8e 100644
--- a/Source/core/input/InputDeviceInit.idl
+++ b/Source/core/page/scrolling/ScrollStateCallback.idl
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// https://goo.gl/1ipTpP
+
[
- RuntimeEnabled=InputDevice,
-] dictionary InputDeviceInit {
- boolean firesTouchEvents = false;
+ RuntimeEnabled=ScrollCustomization
+] callback interface ScrollStateCallback {
+ void handleEvent(ScrollState scrollState);
};

Powered by Google App Engine
This is Rietveld 408576698