| Index: third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js b/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| index 030e604c30399fc23cffab077f528eb437f37847..af2470de3828ccdd34bbe3da59534da05db47a38 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| @@ -29,7 +29,7 @@
|
| /**
|
| * @interface
|
| */
|
| -WebInspector.TabbedEditorContainerDelegate = function() { }
|
| +WebInspector.TabbedEditorContainerDelegate = function() { };
|
|
|
| WebInspector.TabbedEditorContainerDelegate.prototype = {
|
| /**
|
| @@ -37,7 +37,7 @@ WebInspector.TabbedEditorContainerDelegate.prototype = {
|
| * @return {!WebInspector.Widget}
|
| */
|
| viewForFile: function(uiSourceCode) { },
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -69,13 +69,13 @@ WebInspector.TabbedEditorContainer = function(delegate, setting, placeholderText
|
|
|
| this._previouslyViewedFilesSetting = setting;
|
| this._history = WebInspector.TabbedEditorContainer.History.fromObject(this._previouslyViewedFilesSetting.get());
|
| -}
|
| +};
|
|
|
| /** @enum {symbol} */
|
| WebInspector.TabbedEditorContainer.Events = {
|
| EditorSelected: Symbol("EditorSelected"),
|
| EditorClosed: Symbol("EditorClosed")
|
| -}
|
| +};
|
|
|
| WebInspector.TabbedEditorContainer._tabId = 0;
|
|
|
| @@ -593,7 +593,7 @@ WebInspector.TabbedEditorContainer.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.Object.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -607,7 +607,7 @@ WebInspector.TabbedEditorContainer.HistoryItem = function(url, selectionRange, s
|
| /** @const */ this._isSerializable = url.length < WebInspector.TabbedEditorContainer.HistoryItem.serializableUrlLengthLimit;
|
| this.selectionRange = selectionRange;
|
| this.scrollLineNumber = scrollLineNumber;
|
| -}
|
| +};
|
|
|
| WebInspector.TabbedEditorContainer.HistoryItem.serializableUrlLengthLimit = 4096;
|
|
|
| @@ -619,7 +619,7 @@ WebInspector.TabbedEditorContainer.HistoryItem.fromObject = function(serializedH
|
| {
|
| var selectionRange = serializedHistoryItem.selectionRange ? WebInspector.TextRange.fromObject(serializedHistoryItem.selectionRange) : undefined;
|
| return new WebInspector.TabbedEditorContainer.HistoryItem(serializedHistoryItem.url, selectionRange, serializedHistoryItem.scrollLineNumber);
|
| -}
|
| +};
|
|
|
| WebInspector.TabbedEditorContainer.HistoryItem.prototype = {
|
| /**
|
| @@ -635,7 +635,7 @@ WebInspector.TabbedEditorContainer.HistoryItem.prototype = {
|
| serializedHistoryItem.scrollLineNumber = this.scrollLineNumber;
|
| return serializedHistoryItem;
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -645,7 +645,7 @@ WebInspector.TabbedEditorContainer.History = function(items)
|
| {
|
| this._items = items;
|
| this._rebuildItemIndex();
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!Array.<!Object>} serializedHistory
|
| @@ -657,7 +657,7 @@ WebInspector.TabbedEditorContainer.History.fromObject = function(serializedHisto
|
| for (var i = 0; i < serializedHistory.length; ++i)
|
| items.push(WebInspector.TabbedEditorContainer.HistoryItem.fromObject(serializedHistory[i]));
|
| return new WebInspector.TabbedEditorContainer.History(items);
|
| -}
|
| +};
|
|
|
| WebInspector.TabbedEditorContainer.History.prototype = {
|
| /**
|
| @@ -790,7 +790,7 @@ WebInspector.TabbedEditorContainer.History.prototype = {
|
| result.push(this._items[i].url);
|
| return result;
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -800,7 +800,7 @@ WebInspector.TabbedEditorContainer.History.prototype = {
|
| WebInspector.EditorContainerTabDelegate = function(editorContainer)
|
| {
|
| this._editorContainer = editorContainer;
|
| -}
|
| +};
|
|
|
| WebInspector.EditorContainerTabDelegate.prototype = {
|
| /**
|
| @@ -822,4 +822,4 @@ WebInspector.EditorContainerTabDelegate.prototype = {
|
| {
|
| this._editorContainer._onContextMenu(tabId, contextMenu);
|
| }
|
| -}
|
| +};
|
|
|