Index: third_party/WebKit/Source/devtools/front_end/main/Main.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
index ede8832fc657744ca5342a5599140bb716192894..c22370f4de79d255627fdcb922cf49195d82c62c 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js |
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
@@ -36,7 +36,7 @@ WebInspector.Main = function() |
{ |
WebInspector.Main._instanceForTest = this; |
runOnWindowLoad(this._loaded.bind(this)); |
-} |
+}; |
WebInspector.Main.prototype = { |
_loaded: function() |
@@ -546,7 +546,7 @@ WebInspector.Main.prototype = { |
var suspended = WebInspector.targetManager.allTargetsSuspended(); |
WebInspector.inspectorView.onSuspendStateChanged(suspended); |
} |
-} |
+}; |
/** |
* @constructor |
@@ -556,7 +556,7 @@ WebInspector.Main.prototype = { |
WebInspector.Main.InspectorDomainDispatcher = function(target) |
{ |
this._target = target; |
-} |
+}; |
WebInspector.Main.InspectorDomainDispatcher.prototype = { |
/** |
@@ -578,7 +578,7 @@ WebInspector.Main.InspectorDomainDispatcher.prototype = { |
if (debuggerModel) |
WebInspector.TargetCrashedScreen.show(debuggerModel); |
} |
-} |
+}; |
/** |
@@ -587,7 +587,7 @@ WebInspector.Main.InspectorDomainDispatcher.prototype = { |
*/ |
WebInspector.Main.ReloadActionDelegate = function() |
{ |
-} |
+}; |
WebInspector.Main.ReloadActionDelegate.prototype = { |
/** |
@@ -611,7 +611,7 @@ WebInspector.Main.ReloadActionDelegate.prototype = { |
} |
return false; |
} |
-} |
+}; |
/** |
* @constructor |
@@ -619,7 +619,7 @@ WebInspector.Main.ReloadActionDelegate.prototype = { |
*/ |
WebInspector.Main.ZoomActionDelegate = function() |
{ |
-} |
+}; |
WebInspector.Main.ZoomActionDelegate.prototype = { |
/** |
@@ -646,7 +646,7 @@ WebInspector.Main.ZoomActionDelegate.prototype = { |
} |
return false; |
} |
-} |
+}; |
/** |
* @constructor |
@@ -654,7 +654,7 @@ WebInspector.Main.ZoomActionDelegate.prototype = { |
*/ |
WebInspector.Main.SearchActionDelegate = function() |
{ |
-} |
+}; |
WebInspector.Main.SearchActionDelegate.prototype = { |
/** |
@@ -681,7 +681,7 @@ WebInspector.Main.SearchActionDelegate.prototype = { |
} |
return false; |
} |
-} |
+}; |
/** |
* @param {boolean} hard |
@@ -691,7 +691,7 @@ WebInspector.Main._reloadPage = function(hard) |
var mainTarget = WebInspector.targetManager.mainTarget(); |
if (mainTarget && mainTarget.hasBrowserCapability()) |
WebInspector.targetManager.reloadPage(hard); |
-} |
+}; |
/** |
* @constructor |
@@ -715,7 +715,7 @@ WebInspector.Main.WarningErrorCounter = function() |
WebInspector.multitargetConsoleModel.addEventListener(WebInspector.ConsoleModel.Events.MessageAdded, this._update, this); |
WebInspector.multitargetConsoleModel.addEventListener(WebInspector.ConsoleModel.Events.MessageUpdated, this._update, this); |
this._update(); |
-} |
+}; |
WebInspector.Main.WarningErrorCounter.prototype = { |
/** |
@@ -777,7 +777,7 @@ WebInspector.Main.WarningErrorCounter.prototype = { |
{ |
return this._toolbarItem; |
} |
-} |
+}; |
/** |
* @constructor |
@@ -787,7 +787,7 @@ WebInspector.Main.MainMenuItem = function() |
{ |
this._item = new WebInspector.ToolbarButton(WebInspector.UIString("Customize and control DevTools"), "menu-toolbar-item"); |
this._item.addEventListener("mousedown", this._mouseDown, this); |
-} |
+}; |
WebInspector.Main.MainMenuItem.prototype = { |
/** |
@@ -858,7 +858,7 @@ WebInspector.Main.MainMenuItem.prototype = { |
contextMenu.show(); |
} |
-} |
+}; |
/** |
* @constructor |
@@ -884,7 +884,7 @@ WebInspector.NetworkPanelIndicator = function() |
WebInspector.inspectorView.setPanelIcon("network", "", ""); |
} |
} |
-} |
+}; |
/** |
* @constructor |
@@ -903,7 +903,7 @@ WebInspector.SourcesPanelIndicator = function() |
WebInspector.inspectorView.setPanelIcon("sources", "", ""); |
} |
} |
-} |
+}; |
/** |
* @constructor |
@@ -911,7 +911,7 @@ WebInspector.SourcesPanelIndicator = function() |
WebInspector.Main.PauseListener = function() |
{ |
WebInspector.targetManager.addModelListener(WebInspector.DebuggerModel, WebInspector.DebuggerModel.Events.DebuggerPaused, this._debuggerPaused, this); |
-} |
+}; |
WebInspector.Main.PauseListener.prototype = { |
/** |
@@ -925,7 +925,7 @@ WebInspector.Main.PauseListener.prototype = { |
WebInspector.context.setFlavor(WebInspector.Target, debuggerModel.target()); |
WebInspector.Revealer.reveal(debuggerPausedDetails); |
} |
-} |
+}; |
/** |
* @constructor |
@@ -933,7 +933,7 @@ WebInspector.Main.PauseListener.prototype = { |
WebInspector.Main.InspectedNodeRevealer = function() |
{ |
WebInspector.targetManager.addModelListener(WebInspector.DOMModel, WebInspector.DOMModel.Events.NodeInspected, this._inspectNode, this); |
-} |
+}; |
WebInspector.Main.InspectedNodeRevealer.prototype = { |
/** |
@@ -944,7 +944,7 @@ WebInspector.Main.InspectedNodeRevealer.prototype = { |
var deferredNode = /** @type {!WebInspector.DeferredDOMNode} */ (event.data); |
WebInspector.Revealer.reveal(deferredNode); |
} |
-} |
+}; |
/** |
* @param {string} method |
@@ -961,7 +961,7 @@ WebInspector.sendOverProtocol = function(method, params) |
return resolve(result); |
}); |
}); |
-} |
+}; |
/** |
* @constructor |
@@ -978,7 +978,7 @@ WebInspector.RemoteDebuggingTerminatedScreen = function(reason) |
this.contentElement.createChild("div", "message").textContent = WebInspector.UIString("Reconnect when ready by reopening DevTools."); |
var button = createTextButton(WebInspector.UIString("Reconnect DevTools"), () => window.location.reload()); |
this.contentElement.createChild("div", "button").appendChild(button); |
-} |
+}; |
/** |
* @param {string} reason |
@@ -991,11 +991,11 @@ WebInspector.RemoteDebuggingTerminatedScreen.show = function(reason) |
dialog.setDimmed(true); |
new WebInspector.RemoteDebuggingTerminatedScreen(reason).show(dialog.element); |
dialog.show(); |
-} |
+}; |
WebInspector.RemoteDebuggingTerminatedScreen.prototype = { |
__proto__: WebInspector.VBox.prototype |
-} |
+}; |
/** |
* @constructor |
@@ -1009,7 +1009,7 @@ WebInspector.TargetCrashedScreen = function(hideCallback) |
this.contentElement.createChild("div", "message").textContent = WebInspector.UIString("DevTools was disconnected from the page."); |
this.contentElement.createChild("div", "message").textContent = WebInspector.UIString("Once page is reloaded, DevTools will automatically reconnect."); |
this._hideCallback = hideCallback; |
-} |
+}; |
/** |
* @param {!WebInspector.DebuggerModel} debuggerModel |
@@ -1030,7 +1030,7 @@ WebInspector.TargetCrashedScreen.show = function(debuggerModel) |
{ |
debuggerModel.removeEventListener(WebInspector.DebuggerModel.Events.GlobalObjectCleared, hideBound); |
} |
-} |
+}; |
WebInspector.TargetCrashedScreen.prototype = { |
/** |
@@ -1042,7 +1042,7 @@ WebInspector.TargetCrashedScreen.prototype = { |
}, |
__proto__: WebInspector.VBox.prototype |
-} |
+}; |
/** |
* @constructor |
@@ -1057,7 +1057,7 @@ WebInspector.BackendSettingsSync = function() |
this._blockedEventsWarningSetting = WebInspector.settings.moduleSetting("blockedEventsWarningEnabled"); |
this._blockedEventsWarningSetting.addChangeListener(this._update, this); |
WebInspector.targetManager.observeTargets(this, WebInspector.Target.Capability.Browser); |
-} |
+}; |
WebInspector.BackendSettingsSync.prototype = { |
/** |
@@ -1093,7 +1093,7 @@ WebInspector.BackendSettingsSync.prototype = { |
targetRemoved: function(target) |
{ |
} |
-} |
+}; |
/** |
* @constructor |
@@ -1101,7 +1101,7 @@ WebInspector.BackendSettingsSync.prototype = { |
*/ |
WebInspector.ShowMetricsRulersSettingUI = function() |
{ |
-} |
+}; |
WebInspector.ShowMetricsRulersSettingUI.prototype = { |
/** |
@@ -1112,6 +1112,6 @@ WebInspector.ShowMetricsRulersSettingUI.prototype = { |
{ |
return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIString("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
} |
-} |
+}; |
new WebInspector.Main(); |