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

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

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 2 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 c58442e55799eee1c8e899c28064e0a70e60eaad..5460800dd1f576b3139fd1ca2b75b03491a72b67 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -123,7 +123,7 @@ WebInspector.TimelinePanel = function()
this._selectedSearchResult;
/** @type {!Array<!WebInspector.TracingModel.Event>}|undefined */
this._searchResults;
-}
+};
/**
* @enum {string}
@@ -132,7 +132,7 @@ WebInspector.TimelinePanel.Perspectives = {
Load: "Load",
Responsiveness: "Responsiveness",
Custom: "Custom"
-}
+};
/**
* @enum {string}
@@ -144,7 +144,7 @@ WebInspector.TimelinePanel.DetailsTab = {
BottomUp: "BottomUp",
PaintProfiler: "PaintProfiler",
LayerViewer: "LayerViewer"
-}
+};
/**
* @enum {symbol}
@@ -155,7 +155,7 @@ WebInspector.TimelinePanel.State = {
Recording: Symbol("Recording"),
StopPending: Symbol("StopPending"),
Loading: Symbol("Loading")
-}
+};
// Define row and header height, should be in sync with styles for timeline graphs.
WebInspector.TimelinePanel.rowHeight = 18;
@@ -703,7 +703,7 @@ WebInspector.TimelinePanel.prototype = {
this._setState(WebInspector.TimelinePanel.State.Recording);
this._showRecordingStarted();
this._statusPane.updateStatus(WebInspector.UIString("Recording\u2026"));
- this._statusPane.updateProgressBar(WebInspector.UIString("Buffer usage"), 0)
+ this._statusPane.updateProgressBar(WebInspector.UIString("Buffer usage"), 0);
this._statusPane.startTimer();
this._hideRecordingHelpMessage();
},
@@ -1279,14 +1279,14 @@ WebInspector.TimelinePanel.prototype = {
},
__proto__: WebInspector.Panel.prototype
-}
+};
/**
* @interface
*/
WebInspector.TimelineLifecycleDelegate = function()
{
-}
+};
WebInspector.TimelineLifecycleDelegate.prototype = {
recordingStarted: function() {},
@@ -1345,7 +1345,7 @@ WebInspector.TimelineDetailsView = function(timelineModel, filters, delegate)
this._rangeDetailViews.set(tabIds.Events, eventsView);
this.addEventListener(WebInspector.TabbedPane.Events.TabSelected, this._tabSelected, this);
-}
+};
WebInspector.TimelineDetailsView.prototype = {
/**
@@ -1409,7 +1409,7 @@ WebInspector.TimelineDetailsView.prototype = {
},
__proto__: WebInspector.TabbedPane.prototype
-}
+};
/**
* @constructor
@@ -1424,7 +1424,7 @@ WebInspector.TimelineSelection = function(type, startTime, endTime, object)
this._startTime = startTime;
this._endTime = endTime;
this._object = object || null;
-}
+};
/**
* @enum {string}
@@ -1446,7 +1446,7 @@ WebInspector.TimelineSelection.fromFrame = function(frame)
WebInspector.TimelineSelection.Type.Frame,
frame.startTime, frame.endTime,
frame);
-}
+};
/**
* @param {!WebInspector.TimelineModel.NetworkRequest} request
@@ -1458,7 +1458,7 @@ WebInspector.TimelineSelection.fromNetworkRequest = function(request)
WebInspector.TimelineSelection.Type.NetworkRequest,
request.startTime, request.endTime || request.startTime,
request);
-}
+};
/**
* @param {!WebInspector.TracingModel.Event} event
@@ -1470,7 +1470,7 @@ WebInspector.TimelineSelection.fromTraceEvent = function(event)
WebInspector.TimelineSelection.Type.TraceEvent,
event.startTime, event.endTime || (event.startTime + 1),
event);
-}
+};
/**
* @param {number} startTime
@@ -1482,7 +1482,7 @@ WebInspector.TimelineSelection.fromRange = function(startTime, endTime)
return new WebInspector.TimelineSelection(
WebInspector.TimelineSelection.Type.Range,
startTime, endTime);
-}
+};
WebInspector.TimelineSelection.prototype = {
/**
@@ -1524,7 +1524,7 @@ WebInspector.TimelineSelection.prototype = {
*/
WebInspector.TimelineModeView = function()
{
-}
+};
WebInspector.TimelineModeView.prototype = {
/**
@@ -1565,12 +1565,12 @@ WebInspector.TimelineModeView.prototype = {
* @param {?WebInspector.TracingModel.Event} event
*/
highlightEvent: function(event) { }
-}
+};
/**
* @interface
*/
-WebInspector.TimelineModeViewDelegate = function() {}
+WebInspector.TimelineModeViewDelegate = function() {};
WebInspector.TimelineModeViewDelegate.prototype = {
/**
@@ -1599,7 +1599,7 @@ WebInspector.TimelineModeViewDelegate.prototype = {
* @param {?WebInspector.TracingModel.Event} event
*/
highlightEvent: function(event) {}
-}
+};
/**
* @constructor
@@ -1608,7 +1608,7 @@ WebInspector.TimelineModeViewDelegate.prototype = {
WebInspector.TimelineCategoryFilter = function()
{
WebInspector.TimelineModel.Filter.call(this);
-}
+};
WebInspector.TimelineCategoryFilter.prototype = {
/**
@@ -1622,7 +1622,7 @@ WebInspector.TimelineCategoryFilter.prototype = {
},
__proto__: WebInspector.TimelineModel.Filter.prototype
-}
+};
/**
* @constructor
@@ -1632,7 +1632,7 @@ WebInspector.TimelineIsLongFilter = function()
{
WebInspector.TimelineModel.Filter.call(this);
this._minimumRecordDuration = 0;
-}
+};
WebInspector.TimelineIsLongFilter.prototype = {
/**
@@ -1656,7 +1656,7 @@ WebInspector.TimelineIsLongFilter.prototype = {
__proto__: WebInspector.TimelineModel.Filter.prototype
-}
+};
/**
* @constructor
@@ -1667,7 +1667,7 @@ WebInspector.TimelineTextFilter = function(regExp)
{
WebInspector.TimelineModel.Filter.call(this);
this._setRegExp(regExp || null);
-}
+};
WebInspector.TimelineTextFilter.prototype = {
/**
@@ -1689,7 +1689,7 @@ WebInspector.TimelineTextFilter.prototype = {
},
__proto__: WebInspector.TimelineModel.Filter.prototype
-}
+};
/**
* @constructor
@@ -1718,7 +1718,7 @@ WebInspector.TimelinePanel.StatusPane = function(showTimer, stopCallback)
this._stopButton = createTextButton(WebInspector.UIString("Stop"), stopCallback);
this.contentElement.createChild("div", "stop-button").appendChild(this._stopButton);
-}
+};
WebInspector.TimelinePanel.StatusPane.prototype = {
finish: function()
@@ -1789,7 +1789,7 @@ WebInspector.TimelinePanel.StatusPane.prototype = {
},
__proto__: WebInspector.VBox.prototype
-}
+};
/**
* @return {!WebInspector.TimelinePanel}
@@ -1797,7 +1797,7 @@ WebInspector.TimelinePanel.StatusPane.prototype = {
WebInspector.TimelinePanel.instance = function()
{
return /** @type {!WebInspector.TimelinePanel} */ (self.runtime.sharedInstance(WebInspector.TimelinePanel));
-}
+};
/**
* @constructor
@@ -1805,7 +1805,7 @@ WebInspector.TimelinePanel.instance = function()
*/
WebInspector.LoadTimelineHandler = function()
{
-}
+};
WebInspector.LoadTimelineHandler.prototype = {
/**
@@ -1818,7 +1818,7 @@ WebInspector.LoadTimelineHandler.prototype = {
WebInspector.TimelinePanel.instance()._loadFromURL(window.decodeURIComponent(value));
});
}
-}
+};
/**
* @constructor
@@ -1826,7 +1826,7 @@ WebInspector.LoadTimelineHandler.prototype = {
*/
WebInspector.TimelinePanel.ActionDelegate = function()
{
-}
+};
WebInspector.TimelinePanel.ActionDelegate.prototype = {
/**
@@ -1858,7 +1858,7 @@ WebInspector.TimelinePanel.ActionDelegate.prototype = {
}
return false;
}
-}
+};
/**
* @constructor
@@ -1874,7 +1874,7 @@ WebInspector.TimelineFilters = function()
this._filters = [this._categoryFilter, this._durationFilter, this._textFilter];
this._createFilterBar();
-}
+};
/** @enum {symbol} */
WebInspector.TimelineFilters.Events = {
@@ -2006,7 +2006,7 @@ WebInspector.CPUThrottlingManager = function()
this._targets = [];
this._throttlingRate = 1.; // No throttling
WebInspector.targetManager.observeTargets(this, WebInspector.Target.Capability.Browser);
-}
+};
WebInspector.CPUThrottlingManager.prototype = {
/**
@@ -2050,7 +2050,7 @@ WebInspector.CPUThrottlingManager.prototype = {
},
__proto__: WebInspector.Object.prototype
-}
+};
/**
* @constructor
@@ -2074,7 +2074,7 @@ WebInspector.TimelinePanel.CustomCPUThrottlingRateDialog = function()
this.setDefaultFocusedElement(this._input);
this.contentElement.tabIndex = 0;
this._resultPromise = new Promise(fulfill => this._callback = fulfill);
-}
+};
/**
* @param {!Element=} anchor
@@ -2090,7 +2090,7 @@ WebInspector.TimelinePanel.CustomCPUThrottlingRateDialog.show = function(anchor)
dialog.setPosition(anchor.totalOffsetLeft() - 32, anchor.totalOffsetTop() + anchor.offsetHeight);
dialog.show();
return dialogContent.result().then(value => (dialog.detach(), value));
-}
+};
WebInspector.TimelinePanel.CustomCPUThrottlingRateDialog.prototype = {
/**
@@ -2118,4 +2118,4 @@ WebInspector.TimelinePanel.CustomCPUThrottlingRateDialog.prototype = {
},
__proto__: WebInspector.HBox.prototype
-}
+};

Powered by Google App Engine
This is Rietveld 408576698