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

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: Two pagesets 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
« no previous file with comments | « tools/telemetry/telemetry/page_runner.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_test.py
diff --git a/tools/telemetry/telemetry/page_test.py b/tools/telemetry/telemetry/page_test.py
index 0aaf2304966a9beed44f73836b0801596f1a2d95..eb4938f20a50a92a5ab6431c46b80848497d8fda 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 occurred."""
+ pass
+
def WillRunInteraction(self, page, tab):
"""Override to do operations before running the interaction on the page."""
pass
« no previous file with comments | « tools/telemetry/telemetry/page_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698