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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineNetworkFlameChart.js

Issue 2686713003: DevTools: Disable timeline network pane resizer when network group is collapsed. (Closed)
Patch Set: make it work for real Created 3 years, 10 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: third_party/WebKit/Source/devtools/front_end/timeline/TimelineNetworkFlameChart.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineNetworkFlameChart.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineNetworkFlameChart.js
index 36ef2aaa69661d9d881ea9502c71527ffad78468..0433d8b4ecc41f61e75805123fee9cebce151c75 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineNetworkFlameChart.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineNetworkFlameChart.js
@@ -367,6 +367,13 @@ Timeline.TimelineFlameChartNetworkDataProvider = class {
}
/**
+ * @return {boolean}
+ */
+ isExpanded() {
+ return this._group.expanded;
+ }
+
+ /**
* @override
* @param {number} value
* @param {number=} precision

Powered by Google App Engine
This is Rietveld 408576698