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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 new InspectorBackendClass.WebSocketConnection(ws, callback); | 808 new InspectorBackendClass.WebSocketConnection(ws, callback); |
809 } | 809 } |
810 | 810 |
811 new WebInspector.Main(); | 811 new WebInspector.Main(); |
812 | 812 |
813 // These methods are added for backwards compatibility with Devtools CodeSchool
extension. | 813 // These methods are added for backwards compatibility with Devtools CodeSchool
extension. |
814 // DO NOT REMOVE | 814 // DO NOT REMOVE |
815 | 815 |
816 WebInspector.__defineGetter__("inspectedPageURL", function() | 816 WebInspector.__defineGetter__("inspectedPageURL", function() |
817 { | 817 { |
818 return WebInspector.resourceTreeModel.inspectedPageURL(); | 818 return WebInspector.targetManager.inspectedPageURL(); |
819 }); | 819 }); |
820 | 820 |
821 /** | 821 /** |
822 * @param {string} name | 822 * @param {string} name |
823 * @return {?WebInspector.Panel} | 823 * @return {?WebInspector.Panel} |
824 */ | 824 */ |
825 WebInspector.panel = function(name) | 825 WebInspector.panel = function(name) |
826 { | 826 { |
827 return WebInspector.inspectorView.panel(name); | 827 return WebInspector.inspectorView.panel(name); |
828 } | 828 } |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 | 900 |
901 WebInspector.Main.InspectedNodeRevealer.prototype = { | 901 WebInspector.Main.InspectedNodeRevealer.prototype = { |
902 /** | 902 /** |
903 * @param {!WebInspector.Event} event | 903 * @param {!WebInspector.Event} event |
904 */ | 904 */ |
905 _inspectNode: function(event) | 905 _inspectNode: function(event) |
906 { | 906 { |
907 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); | 907 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); |
908 } | 908 } |
909 } | 909 } |
OLD | NEW |