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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 WebInspector.Main.InspectedNodeRevealer.prototype = { 878 WebInspector.Main.InspectedNodeRevealer.prototype = {
879 /** 879 /**
880 * @param {!WebInspector.Event} event 880 * @param {!WebInspector.Event} event
881 */ 881 */
882 _inspectNode: function(event) 882 _inspectNode: function(event)
883 { 883 {
884 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data)); 884 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data));
885 } 885 }
886 } 886 }
887 887
888 /**
889 * @constructor
890 * @extends {WebInspector.HelpScreen}
891 */
892 WebInspector.RemoteDebuggingTerminatedScreen = function(reason)
893 {
894 WebInspector.HelpScreen.call(this, WebInspector.UIString("Detached from the target"));
895 var p = this.helpContentElement.createChild("p");
896 p.classList.add("help-section");
897 p.createChild("span").textContent = WebInspector.UIString("Remote debugging has been terminated with reason: ");
898 p.createChild("span", "error-message").textContent = reason;
899 p.createChild("br");
900 p.createChild("span").textContent = WebInspector.UIString("Please re-attach to the new target.");
901 }
902
903 WebInspector.RemoteDebuggingTerminatedScreen.prototype = {
904 __proto__: WebInspector.HelpScreen.prototype
905 }
906
907 /**
908 * @constructor
909 * @extends {WebInspector.HelpScreen}
910 */
911 WebInspector.WorkerTerminatedScreen = function()
912 {
913 WebInspector.HelpScreen.call(this, WebInspector.UIString("Inspected worker t erminated"));
914 var p = this.helpContentElement.createChild("p");
915 p.classList.add("help-section");
916 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
917 }
918
919 WebInspector.WorkerTerminatedScreen.prototype = {
920
921 __proto__: WebInspector.HelpScreen.prototype
922 }
923
888 new WebInspector.Main(); 924 new WebInspector.Main();
OLDNEW
« 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