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

Unified Diff: trunk/src/tools/telemetry/telemetry/core/tab.py

Issue 14064014: Revert 193811 "Move browser and url to WebContents from Tab." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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 | « no previous file | trunk/src/tools/telemetry/telemetry/core/web_contents.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/tools/telemetry/telemetry/core/tab.py
===================================================================
--- trunk/src/tools/telemetry/telemetry/core/tab.py (revision 194729)
+++ trunk/src/tools/telemetry/telemetry/core/tab.py (working copy)
@@ -23,6 +23,15 @@
super(Tab, self).__del__()
@property
+ def browser(self):
+ """The browser in which this tab resides."""
+ return self._inspector_backend.browser
+
+ @property
+ def url(self):
+ return self._inspector_backend.url
+
+ @property
def dom_stats(self):
"""A dictionary populated with measured DOM statistics.
« no previous file with comments | « no previous file | trunk/src/tools/telemetry/telemetry/core/web_contents.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698