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

Unified Diff: Source/devtools/front_end/main/Main.js

Issue 714423005: DevTools: move front-end files from components to ui. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comment addressed Created 6 years, 1 month 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: Source/devtools/front_end/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index 35310c4cda8f460712d4cecb6bfb42e415956e02..6a7cbccd720a19659e0db3386259ac9fcda28b2c 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -885,4 +885,40 @@ WebInspector.Main.InspectedNodeRevealer.prototype = {
}
}
+/**
+ * @constructor
+ * @extends {WebInspector.HelpScreen}
+ */
+WebInspector.RemoteDebuggingTerminatedScreen = function(reason)
+{
+ WebInspector.HelpScreen.call(this, WebInspector.UIString("Detached from the target"));
+ var p = this.helpContentElement.createChild("p");
+ p.classList.add("help-section");
+ p.createChild("span").textContent = WebInspector.UIString("Remote debugging has been terminated with reason: ");
+ p.createChild("span", "error-message").textContent = reason;
+ p.createChild("br");
+ p.createChild("span").textContent = WebInspector.UIString("Please re-attach to the new target.");
+}
+
+WebInspector.RemoteDebuggingTerminatedScreen.prototype = {
+ __proto__: WebInspector.HelpScreen.prototype
+}
+
+/**
+ * @constructor
+ * @extends {WebInspector.HelpScreen}
+ */
+WebInspector.WorkerTerminatedScreen = function()
+{
+ WebInspector.HelpScreen.call(this, WebInspector.UIString("Inspected worker terminated"));
+ var p = this.helpContentElement.createChild("p");
+ p.classList.add("help-section");
+ p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
+}
+
+WebInspector.WorkerTerminatedScreen.prototype = {
+
+ __proto__: WebInspector.HelpScreen.prototype
+}
+
new WebInspector.Main();
« no previous file with comments | « Source/devtools/front_end/components/panelEnablerView.css ('k') | Source/devtools/front_end/main/RenderingOptions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698