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

Unified Diff: telemetry/telemetry/internal/actions/repeatable_scroll.py

Issue 2876843002: Simulate interactivity boost for simulated user input events
Patch Set: Created 3 years, 7 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 | « telemetry/telemetry/internal/actions/pinch.py ('k') | telemetry/telemetry/internal/actions/scroll.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/actions/repeatable_scroll.py
diff --git a/telemetry/telemetry/internal/actions/repeatable_scroll.py b/telemetry/telemetry/internal/actions/repeatable_scroll.py
index 9ed09e061ec1e72de2f703b7c63f19be7b408c8e..f51e0459f291b5e91306d75883cbdef83d4e44d9 100644
--- a/telemetry/telemetry/internal/actions/repeatable_scroll.py
+++ b/telemetry/telemetry/internal/actions/repeatable_scroll.py
@@ -24,6 +24,9 @@ class RepeatableScrollAction(page_action.PageAction):
self._prevent_fling = prevent_fling
self._speed = speed
+ def SimulatesUserInput(self):
+ return True
+
def WillRunAction(self, tab):
utils.InjectJavaScript(tab, 'gesture_common.js')
# Get the dimensions of the screen.
« no previous file with comments | « telemetry/telemetry/internal/actions/pinch.py ('k') | telemetry/telemetry/internal/actions/scroll.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698