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

Side by Side Diff: tools/telemetry/telemetry/page/actions/action_runner.py

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging
5 import time 6 import time
6 import logging
7 import urlparse 7 import urlparse
8 8
9 from telemetry.page.actions.drag import DragAction 9 from telemetry.page.actions.drag import DragAction
10 from telemetry.page.actions.javascript_click import ClickElementAction 10 from telemetry.page.actions.javascript_click import ClickElementAction
11 from telemetry.page.actions.loop import LoopAction 11 from telemetry.page.actions.loop import LoopAction
12 from telemetry.page.actions.mouse_click import MouseClickAction 12 from telemetry.page.actions.mouse_click import MouseClickAction
13 from telemetry.page.actions.navigate import NavigateAction 13 from telemetry.page.actions.navigate import NavigateAction
14 from telemetry.page.actions.pinch import PinchAction 14 from telemetry.page.actions.pinch import PinchAction
15 from telemetry.page.actions.play import PlayAction 15 from telemetry.page.actions.play import PlayAction
16 from telemetry.page.actions.repaint_continuously import ( 16 from telemetry.page.actions.repaint_continuously import (
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 self._action_runner.ExecuteJavaScript('console.time("%s");' % 630 self._action_runner.ExecuteJavaScript('console.time("%s");' %
631 timeline_interaction_record.GetJavaScriptMarker( 631 timeline_interaction_record.GetJavaScriptMarker(
632 self._label, self._flags)) 632 self._label, self._flags))
633 633
634 def End(self): 634 def End(self):
635 assert self._started 635 assert self._started
636 self._started = False 636 self._started = False
637 self._action_runner.ExecuteJavaScript('console.timeEnd("%s");' % 637 self._action_runner.ExecuteJavaScript('console.timeEnd("%s");' %
638 timeline_interaction_record.GetJavaScriptMarker( 638 timeline_interaction_record.GetJavaScriptMarker(
639 self._label, self._flags)) 639 self._label, self._flags))
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/page/__init__.py ('k') | tools/telemetry/telemetry/page/actions/action_runner_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698