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

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

Issue 2657893002: DevTools: temporarily revert Timeline->Performance rename. (Closed)
Patch Set: Introduce progress monitor 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 036bdaeef94a8196f7fb03e19b3f56fcd9c189ec..701e1b9ea2173bfc206a607a3c0acbdd642fb4cb 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -680,34 +680,20 @@ Timeline.TimelinePanel = class extends UI.Panel {
var centered = this._landingPage.contentElement.createChild('div');
var p = centered.createChild('p');
- p.createTextChild(Common.UIString(
- 'The Performance panel lets you record what the browser does during page load and user interaction. ' +
- 'The timeline it generates can help you determine why certain parts of your page are slow.'));
-
- p = centered.createChild('p');
p.appendChild(UI.formatLocalized(
'To capture a new recording, click the record toolbar button or hit %s. ' +
- 'To evaluate page load performance, hit %s to record the reload.',
+ 'To evaluate page load performance, hit %s to record the reload.',
[recordNode, reloadNode]));
p = centered.createChild('p');
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.',
+ 'Then, zoom and pan the timeline with the mousewheel or %s keys.',
[navigateNode]));
p = centered.createChild('p');
p.appendChild(learnMoreNode);
- var timelineSpan = encloseWithTag('b', Common.UIString('Timeline'));
- var performanceSpan = encloseWithTag('b', Common.UIString('Performance'));
-
- p = centered.createChild('p', 'timeline-landing-warning');
- p.appendChild(UI.formatLocalized(
- 'The %s panel has been enriched with the JavaScript profiler capabilities and is now called %s.%s' +
- 'You can find the legacy JavaScript CPU profiler under %s%s \u2192 More Tools \u2192 JavaScript Profiler.',
- [timelineSpan, performanceSpan, createElement('p'), createElement('br'), UI.Icon.create('largeicon-menu')]));
-
this._landingPage.show(this._statusPaneContainer);
}

Powered by Google App Engine
This is Rietveld 408576698