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

Unified Diff: Source/devtools/front_end/timeline/TimelinePanel.js

Issue 469673004: DevTools: show target's selector for old timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on pfeldman's change Created 6 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1fbcbede96a852f1d94e568c0e4d3f17bf74705e..f2c242f0c2a0bc6ae050e58c2f654d6d5d9fc811 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -393,6 +393,11 @@ WebInspector.TimelinePanel.prototype = {
this._filtersContainer.appendChild(this._filterBar.filtersElement());
this._filterBar.addEventListener(WebInspector.FilterBar.Events.FiltersToggled, this._onFiltersToggled, this);
this._filterBar.setName("timelinePanel");
+ if (!WebInspector.experimentsSettings.timelineOnTraceEvents.isEnabled()) {
+ var targetsComboBox = new WebInspector.StatusBarComboBox(null);
+ panelStatusBarElement.appendChild(targetsComboBox.element);
+ new WebInspector.TargetsComboBoxController(targetsComboBox.selectElement(), targetsComboBox.element);
+ }
},
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698