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

Unified Diff: tools/telemetry/telemetry/internal/actions/pinch.py

Issue 1349813002: Enable pinch-zoom telemetry on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@telemetry
Patch Set: feedback Created 5 years, 3 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 | « tools/perf/benchmarks/smoothness.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/internal/actions/pinch.py
diff --git a/tools/telemetry/telemetry/internal/actions/pinch.py b/tools/telemetry/telemetry/internal/actions/pinch.py
index 7e5986be63eddcb6bd4fe64e91886dde28484d57..239fda1dae27206f5f978b4ebb5525118fd2f172 100644
--- a/tools/telemetry/telemetry/internal/actions/pinch.py
+++ b/tools/telemetry/telemetry/internal/actions/pinch.py
@@ -43,15 +43,6 @@ class PinchAction(page_action.PageAction):
'This version of the browser doesn\'t support the new JS interface '
'for pinch gestures.')
- if (self._synthetic_gesture_source ==
- 'chrome.gpuBenchmarking.MOUSE_INPUT'):
- raise page_action.PageActionNotSupported(
- 'Pinch page action does not support mouse input')
-
- if not page_action.IsGestureSourceTypeSupported(tab, 'touch'):
- raise page_action.PageActionNotSupported(
- 'Touch input not supported for this browser')
-
done_callback = 'function() { window.__pinchActionDone = true; }'
tab.ExecuteJavaScript("""
window.__pinchActionDone = false;
« no previous file with comments | « tools/perf/benchmarks/smoothness.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698