Index: tools/telemetry/telemetry/page/actions/action_runner.py |
diff --git a/tools/telemetry/telemetry/page/actions/action_runner.py b/tools/telemetry/telemetry/page/actions/action_runner.py |
index c29d1dbd7bd147940b5010d7ac23a7d8586651c7..b942b5c077b00391476de528754b029284594f3c 100644 |
--- a/tools/telemetry/telemetry/page/actions/action_runner.py |
+++ b/tools/telemetry/telemetry/page/actions/action_runner.py |
@@ -34,7 +34,7 @@ class ActionRunner(object): |
action.WillRunAction(self._tab) |
action.RunAction(self._tab) |
- def BeginInteraction(self, label, is_smooth=False, repeatable=False): |
+ def BeginInteraction(self, label, repeatable=False): |
"""Marks the beginning of an interaction record. |
An interaction record is a labeled time period containing |
@@ -46,14 +46,11 @@ class ActionRunner(object): |
Args: |
label: A label for this particular interaction. This can be any |
user-defined string, but must not contain '/'. |
- is_smooth: Whether to check for smoothness metrics for this interaction. |
repeatable: Whether other interactions may use the same logical name |
as this interaction. All interactions with the same logical name must |
have the same flags. |
""" |
flags = [] |
- if is_smooth: |
- flags.append(timeline_interaction_record.IS_SMOOTH) |
if repeatable: |
flags.append(timeline_interaction_record.REPEATABLE) |
@@ -61,7 +58,7 @@ class ActionRunner(object): |
interaction.Begin() |
return interaction |
- def BeginGestureInteraction(self, label, is_smooth=False, repeatable=False): |
+ def BeginGestureInteraction(self, label, repeatable=False): |
"""Marks the beginning of a gesture-based interaction record. |
This is similar to normal interaction record, but it will |
@@ -75,12 +72,11 @@ class ActionRunner(object): |
Args: |
label: A label for this particular interaction. This can be any |
user-defined string, but must not contain '/'. |
- is_smooth: Whether to check for smoothness metrics for this interaction. |
repeatable: Whether other interactions may use the same logical name |
as this interaction. All interactions with the same logical name must |
have the same flags. |
""" |
- return self.BeginInteraction('Gesture_' + label, is_smooth, repeatable) |
+ return self.BeginInteraction('Gesture_' + label, repeatable) |
def NavigateToPage(self, page, timeout_in_seconds=60): |
"""Navigates to the given page. |