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

Unified Diff: tools/telemetry/telemetry/page_test.py

Issue 11753023: [telemetry] Clean up image decoding benchmark (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: helps if i upload a working patch Created 7 years, 12 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
Index: tools/telemetry/telemetry/page_test.py
diff --git a/tools/telemetry/telemetry/page_test.py b/tools/telemetry/telemetry/page_test.py
index 0aaf2304966a9beed44f73836b0801596f1a2d95..01b309c85c5e8d907fe78b2a697c290f626b1982 100644
--- a/tools/telemetry/telemetry/page_test.py
+++ b/tools/telemetry/telemetry/page_test.py
@@ -65,6 +65,15 @@ class PageTest(object):
"""Override to customize if the test can be ran for the given page."""
return True
+ def WillNavigateToPage(self, page, tab):
+ """Override to do operations before the page is navigated."""
+ pass
+
+ def DidNavigateToPage(self, page, tab):
+ """Override to do operations right after the page is navigated, but before
+ any waiting for completion has ocurred."""
tonyg 2013/01/04 23:26:32 s/ocurred/occurred/
+ pass
+
def WillRunInteraction(self, page, tab):
"""Override to do operations before running the interaction on the page."""
pass
« tools/perf/page_sets/tough_image_cases.json ('K') | « tools/telemetry/telemetry/page_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698