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

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

Issue 176863005: Add is_tracing to browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/core/tab.py
diff --git a/tools/telemetry/telemetry/core/tab.py b/tools/telemetry/telemetry/core/tab.py
index bd09ec9b441ee3a8d2006445da9907877ed752e2..07f1d687aaf0786a95f8a542f09c813e32e22dfc 100644
--- a/tools/telemetry/telemetry/core/tab.py
+++ b/tools/telemetry/telemetry/core/tab.py
@@ -183,6 +183,10 @@ class Tab(web_contents.WebContents):
return self._tab_contents_bounding_box
+ @property
+ def is_video_capture_running(self):
+ return self.browser.platform.is_video_capture_running
+
def StopVideoCapture(self):
"""Stops recording video of the tab's contents.
« no previous file with comments | « tools/telemetry/telemetry/core/platform/platform_backend.py ('k') | tools/telemetry/telemetry/core/tab_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698