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

Unified Diff: tools/telemetry/telemetry/page/actions/tap.py

Issue 321583006: Remove CanBeBound & BindMeasurementJavaScript since they are not used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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/telemetry/telemetry/page/actions/swipe.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/page/actions/tap.py
diff --git a/tools/telemetry/telemetry/page/actions/tap.py b/tools/telemetry/telemetry/page/actions/tap.py
index 7859eedc784105f787d20def17f22d242b7e4196..a458dc0bc843f9c1742d9fc0f57634f8914c77f7 100644
--- a/tools/telemetry/telemetry/page/actions/tap.py
+++ b/tools/telemetry/telemetry/page/actions/tap.py
@@ -102,13 +102,3 @@ class TapAction(GestureAction):
self.TapSelectedElement(tab, js_cmd)
tab.WaitForJavaScriptExpression('window.__tapActionDone', 60)
-
- def CanBeBound(self):
- return True
-
- def BindMeasurementJavaScript(self, tab, start_js, stop_js):
- # Make the tap action start and stop measurement automatically.
- tab.ExecuteJavaScript("""
- window.__tapAction.beginMeasuringHook = function() { %s };
- window.__tapAction.endMeasuringHook = function() { %s };
- """ % (start_js, stop_js))
« no previous file with comments | « tools/telemetry/telemetry/page/actions/swipe.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698