OLD | NEW |
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 Loading... |
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(); |
OLD | NEW |