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

Unified Diff: Source/devtools/front_end/network/NetworkPanel.js

Issue 1097163004: DevTools: zoom frames upon double click, iterate over frames using arrows. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rolled back a tiny bit to make bots happy Created 5 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
Index: Source/devtools/front_end/network/NetworkPanel.js
diff --git a/Source/devtools/front_end/network/NetworkPanel.js b/Source/devtools/front_end/network/NetworkPanel.js
index d7fd4edd4fb4a143574f62a788d3c19f2745ab59..8c3c6c0152a5709ff8040012de7c45913b4f2964 100644
--- a/Source/devtools/front_end/network/NetworkPanel.js
+++ b/Source/devtools/front_end/network/NetworkPanel.js
@@ -205,7 +205,7 @@ WebInspector.NetworkPanel.prototype = {
this._toggleRecordButton(true);
if (!this._preserveLogCheckbox.checked())
this._networkLogView.reset();
- if (this._filmStripView)
+ if (this.isShowing() && this._filmStripView)
this._filmStripView.startRecording();
},
@@ -214,7 +214,7 @@ WebInspector.NetworkPanel.prototype = {
*/
_load: function(event)
{
- if (this._filmStripView)
+ if (this._filmStripView && this._filmStripView.isRecording())
setTimeout(this._toggleRecordButton.bind(this, false), 1000);
},
« no previous file with comments | « Source/devtools/front_end/network/NetworkFilmStripView.js ('k') | Source/devtools/front_end/network/networkPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698