Index: Source/devtools/front_end/timeline/TimelinePanel.js |
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js |
index 65e8174bc3bbc13fba8e351ba0618e196c784165..74067c335b7fb2f15f894305114fdbc9fdbbc3af 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -308,6 +308,9 @@ WebInspector.TimelinePanel.prototype = { |
garbageCollectButton.addEventListener("click", this._garbageCollectButtonClicked, this); |
this._panelToolbar.appendStatusBarItem(garbageCollectButton); |
+ var viewModeLabel = new WebInspector.StatusBarText(WebInspector.UIString("View Mode:"), "timeline-status-bar-group-label"); |
+ this._panelToolbar.appendStatusBarItem(viewModeLabel); |
+ |
var framesToggleButton = new WebInspector.StatusBarButton(WebInspector.UIString("Frames view. (Activity split into frames)"), "histogram-status-bar-item"); |
framesToggleButton.setToggled(this._overviewModeSetting.get() === WebInspector.TimelinePanel.OverviewMode.Frames); |
framesToggleButton.addEventListener("click", this._overviewModeChanged.bind(this, framesToggleButton)); |
@@ -318,6 +321,9 @@ WebInspector.TimelinePanel.prototype = { |
this._flameChartToggleButton.addEventListener("click", this._flameChartEnabledChanged.bind(this)); |
this._panelToolbar.appendStatusBarItem(this._flameChartToggleButton); |
+ var captureSettingsLabel = new WebInspector.StatusBarText(WebInspector.UIString("Capture Details:"), "timeline-status-bar-group-label"); |
+ this._panelToolbar.appendStatusBarItem(captureSettingsLabel); |
+ |
this._captureCausesSetting = WebInspector.settings.createSetting("timelineCaptureCauses", true); |
this._captureCausesSetting.addChangeListener(this._refreshViews, this); |
this._panelToolbar.appendStatusBarItem(this._createSettingCheckbox(WebInspector.UIString("Causes"), |