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

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

Issue 11114020: [chrome-remote-control] Interaction objects separate measurement/test code from page scrolling/drag… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/chrome_remote_control/chrome_remote_control/page_test.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/page_test.py b/tools/chrome_remote_control/chrome_remote_control/page_test.py
index 2d4d24fd97c3b1a19e3634133523b2da57fd9db8..f92b618887d2879e86ffd95b40efb0ec5ca1e0b3 100644
--- a/tools/chrome_remote_control/chrome_remote_control/page_test.py
+++ b/tools/chrome_remote_control/chrome_remote_control/page_test.py
@@ -42,6 +42,14 @@ class PageTest(object):
"""Override to customize the browser right after it has launched."""
pass
+ def WillPerformInteraction(self, interaction, page, tab):
+ """Override to interact with the tab before the interaction runs."""
+ pass
+
+ def DidPerformInteraction(self, interaction, page, tab):
+ """Override to interact with the tab after the interaction runs."""
+ pass
+
def Run(self, options, page, tab, results):
self.options = options
try:

Powered by Google App Engine
This is Rietveld 408576698