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

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

Issue 2650543002: DevTools: render console level filter as drop box. (Closed)
Patch Set: rebase again Created 3 years, 11 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/TimelineTreeView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
index b08edf61bb666b263ddd51f6df5fb18a6eb14eae..3cfffb69c3e568d1e340eb4d567ec2ee36a0ae59 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
@@ -965,11 +965,12 @@ Timeline.EventsTimelineTreeView.Filters = class extends Common.Object {
if (!durationMs) {
durationOption.label = Common.UIString('All');
durationOption.title = Common.UIString('Show all records');
+ durationOption.default = true;
} else {
durationOption.label = Common.UIString('\u2265 %dms', durationMs);
durationOption.title = Common.UIString('Hide records shorter than %dms', durationMs);
}
- durationOption.value = durationMs;
+ durationOption.value = String(durationMs);
durationOptions.push(durationOption);
}
var durationFilterUI = new UI.ComboBoxFilterUI(durationOptions);

Powered by Google App Engine
This is Rietveld 408576698