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

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

Issue 11663011: Adds function for activating a tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/tab.py
diff --git a/tools/telemetry/telemetry/tab.py b/tools/telemetry/telemetry/tab.py
index 7f3730fa8e8b246947126299582b2d5ca7a986a6..d9b8e751fa6d64f1c523b675c763b4118d0babd7 100644
--- a/tools/telemetry/telemetry/tab.py
+++ b/tools/telemetry/telemetry/tab.py
@@ -49,6 +49,11 @@ class Tab(object):
self._timeline = inspector_timeline.InspectorTimeline(
self._inspector_backend, self)
+ def Navigate(self, url):
nduca 2012/12/21 22:15:23 Why? This doesn't fit with the design we have.
Danh Nguyen 2012/12/26 19:13:04 Removed. I'll move these calls into the tests ins
+ """Navigates to the given url."""
+ self.page.Navigate(url)
+ self.Disconnect()
nduca 2012/12/21 22:15:23 and why disconnect?
Danh Nguyen 2012/12/26 19:13:04 The Disconnect() is the get around so that TabCont
+
def Disconnect(self):
"""Closes the connection to this tab."""
self._console = None
« tools/telemetry/telemetry/run_tests.py ('K') | « tools/telemetry/telemetry/run_tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698