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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
834 | 834 |
835 /** | 835 /** |
836 * @param {string} side | 836 * @param {string} side |
837 */ | 837 */ |
838 function setDockSide(side) | 838 function setDockSide(side) |
839 { | 839 { |
840 WebInspector.dockController.setDockSide(side); | 840 WebInspector.dockController.setDockSide(side); |
841 contextMenu.discard(); | 841 contextMenu.discard(); |
842 } | 842 } |
843 | 843 |
844 contextMenu.appendAction(WebInspector.inspectorView.drawerVisible() ? We
bInspector.UIString("Hide console") : WebInspector.UIString("Show console"), "ma
in.toggle-drawer"); | 844 contextMenu.appendAction("main.toggle-drawer", WebInspector.inspectorVie
w.drawerVisible() ? WebInspector.UIString("Hide console") : WebInspector.UIStrin
g("Show console")); |
845 contextMenu.appendItemsAtLocation("mainMenu"); | 845 contextMenu.appendItemsAtLocation("mainMenu"); |
846 contextMenu.show(); | 846 contextMenu.show(); |
847 } | 847 } |
848 } | 848 } |
849 | 849 |
850 /** | 850 /** |
851 * @constructor | 851 * @constructor |
852 */ | 852 */ |
853 WebInspector.ThrottlingIndicator = function() | 853 WebInspector.ThrottlingIndicator = function() |
854 { | 854 { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 p.classList.add("help-section"); | 934 p.classList.add("help-section"); |
935 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); | 935 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); |
936 } | 936 } |
937 | 937 |
938 WebInspector.WorkerTerminatedScreen.prototype = { | 938 WebInspector.WorkerTerminatedScreen.prototype = { |
939 | 939 |
940 __proto__: WebInspector.HelpScreen.prototype | 940 __proto__: WebInspector.HelpScreen.prototype |
941 } | 941 } |
942 | 942 |
943 new WebInspector.Main(); | 943 new WebInspector.Main(); |
OLD | NEW |