| 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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 evaluateForTestInFrontend: function(callId, script) | 621 evaluateForTestInFrontend: function(callId, script) |
| 622 { | 622 { |
| 623 WebInspector.evaluateForTestInFrontend(callId, script); | 623 WebInspector.evaluateForTestInFrontend(callId, script); |
| 624 } | 624 } |
| 625 } | 625 } |
| 626 | 626 |
| 627 WebInspector.reload = function() | 627 WebInspector.reload = function() |
| 628 { | 628 { |
| 629 if (WebInspector.dockController.canDock() && WebInspector.dockController.doc
kSide() === WebInspector.DockController.State.Undocked) | 629 if (WebInspector.dockController.canDock() && WebInspector.dockController.doc
kSide() === WebInspector.DockController.State.Undocked) |
| 630 InspectorFrontendHost.setIsDocked(true, function() {}); | 630 InspectorFrontendHost.setIsDocked(true, function() {}); |
| 631 window.top.location.reload(); | 631 window.location.reload(); |
| 632 } | 632 } |
| 633 | 633 |
| 634 /** | 634 /** |
| 635 * @constructor | 635 * @constructor |
| 636 * @implements {WebInspector.ActionDelegate} | 636 * @implements {WebInspector.ActionDelegate} |
| 637 */ | 637 */ |
| 638 WebInspector.Main.ReloadActionDelegate = function() | 638 WebInspector.Main.ReloadActionDelegate = function() |
| 639 { | 639 { |
| 640 } | 640 } |
| 641 | 641 |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 p.classList.add("help-section"); | 839 p.classList.add("help-section"); |
| 840 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); | 840 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); |
| 841 } | 841 } |
| 842 | 842 |
| 843 WebInspector.WorkerTerminatedScreen.prototype = { | 843 WebInspector.WorkerTerminatedScreen.prototype = { |
| 844 | 844 |
| 845 __proto__: WebInspector.HelpScreen.prototype | 845 __proto__: WebInspector.HelpScreen.prototype |
| 846 } | 846 } |
| 847 | 847 |
| 848 new WebInspector.Main(); | 848 new WebInspector.Main(); |
| OLD | NEW |