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

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

Issue 2668413003: DevTools: extract NetworkConditionsSelector into its own module (Closed)
Patch Set: 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/TimelinePanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
index 186e96623e207a72141af7da01555213f9fc06b8..c296d18c32b3f084597f75e490736948a437b969 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -378,7 +378,7 @@ Timeline.TimelinePanel = class extends UI.Panel {
_createNetworkConditionsSelect() {
var toolbarItem = new UI.ToolbarComboBox(null);
toolbarItem.setMaxWidth(140);
- Components.NetworkConditionsSelector.decorateSelect(toolbarItem.selectElement());
+ NetworkConditions.NetworkConditionsSelector.decorateSelect(toolbarItem.selectElement());
return toolbarItem;
}
@@ -720,12 +720,12 @@ Timeline.TimelinePanel = class extends UI.Panel {
centered.createChild('p').appendChild(UI.formatLocalized(
'To capture a new recording, click the record button or hit %s.%s' +
- 'To evaluate the page load, click the reload button or hit %s to record the reload.',
+ 'To evaluate the page load, click the reload button or hit %s to record the reload.',
[recordNode, createElement('br'), reloadNode]));
centered.createChild('p').appendChild(UI.formatLocalized(
'After recording, select an area of interest in the overview by dragging. ' +
- 'Then, zoom and pan the timeline with the mousewheel or %s keys. %s',
+ 'Then, zoom and pan the timeline with the mousewheel or %s keys. %s',
[navigateNode, learnMoreNode]));
var cpuProfilerHintSetting = Common.settings.createSetting('timelineShowProfilerHint', true);
@@ -739,8 +739,8 @@ Timeline.TimelinePanel = class extends UI.Panel {
var performanceSpan = encloseWithTag('b', Common.UIString('Performance'));
warning.createChild('div').appendChild(UI.formatLocalized(
'The %s panel provides the combined functionality of Timeline and CPU profiler.%s' +
- 'The JavaScript CPU profiler will be removed shortly. Meanwhile, it\'s available under ' +
- '%s \u2192 More Tools \u2192 JavaScript Profiler.',
+ 'The JavaScript CPU profiler will be removed shortly. Meanwhile, it\'s available under ' +
+ '%s \u2192 More Tools \u2192 JavaScript Profiler.',
[performanceSpan, createElement('p'), UI.Icon.create('largeicon-menu')]));
}

Powered by Google App Engine
This is Rietveld 408576698