OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 return loadXHR(url); | 195 return loadXHR(url); |
196 }, | 196 }, |
197 | 197 |
198 setZoomFactor: function(zoom) | 198 setZoomFactor: function(zoom) |
199 { | 199 { |
200 }, | 200 }, |
201 | 201 |
202 canInspectWorkers: function() | 202 canInspectWorkers: function() |
203 { | 203 { |
204 return true; | 204 return true; |
| 205 }, |
| 206 |
| 207 isUnderTest: function() |
| 208 { |
| 209 return false; |
205 } | 210 } |
206 } | 211 } |
207 | 212 |
208 InspectorFrontendHost = new WebInspector.InspectorFrontendHostStub(); | 213 InspectorFrontendHost = new WebInspector.InspectorFrontendHostStub(); |
209 Preferences.localizeUI = false; | 214 Preferences.localizeUI = false; |
210 | 215 |
211 // Default implementation; platforms will override. | 216 // Default implementation; platforms will override. |
212 WebInspector.clipboardAccessDeniedMessage = function() | 217 WebInspector.clipboardAccessDeniedMessage = function() |
213 { | 218 { |
214 return ""; | 219 return ""; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 p.addStyleClass("help-section"); | 251 p.addStyleClass("help-section"); |
247 p.createChild("span").textContent = "Remote debugging has been terminated wi
th reason: "; | 252 p.createChild("span").textContent = "Remote debugging has been terminated wi
th reason: "; |
248 p.createChild("span", "error-message").textContent = reason; | 253 p.createChild("span", "error-message").textContent = reason; |
249 p.createChild("br"); | 254 p.createChild("br"); |
250 p.createChild("span").textContent = "Please re-attach to the new target."; | 255 p.createChild("span").textContent = "Please re-attach to the new target."; |
251 } | 256 } |
252 | 257 |
253 WebInspector.RemoteDebuggingTerminatedScreen.prototype = { | 258 WebInspector.RemoteDebuggingTerminatedScreen.prototype = { |
254 __proto__: WebInspector.HelpScreen.prototype | 259 __proto__: WebInspector.HelpScreen.prototype |
255 } | 260 } |
OLD | NEW |