| 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 function invokeMethod() | 585 function invokeMethod() |
| 586 { | 586 { |
| 587 try { | 587 try { |
| 588 script = script + "//# sourceURL=evaluateInWebInspector" + callI
d + ".js"; | 588 script = script + "//# sourceURL=evaluateInWebInspector" + callI
d + ".js"; |
| 589 window.eval(script); | 589 window.eval(script); |
| 590 } catch (e) { | 590 } catch (e) { |
| 591 console.error(e.stack); | 591 console.error(e.stack); |
| 592 } | 592 } |
| 593 } | 593 } |
| 594 | 594 |
| 595 this._mainConnection.runAfterPendingDispatches(invokeMethod); | 595 this._mainConnection.deprecatedRunAfterPendingDispatches(invokeMethod); |
| 596 } | 596 } |
| 597 } | 597 } |
| 598 | 598 |
| 599 /** | 599 /** |
| 600 * @constructor | 600 * @constructor |
| 601 * @implements {WebInspector.ActionDelegate} | 601 * @implements {WebInspector.ActionDelegate} |
| 602 */ | 602 */ |
| 603 WebInspector.Main.ReloadActionDelegate = function() | 603 WebInspector.Main.ReloadActionDelegate = function() |
| 604 { | 604 { |
| 605 } | 605 } |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 * @return {?Element} | 1098 * @return {?Element} |
| 1099 */ | 1099 */ |
| 1100 settingElement: function() | 1100 settingElement: function() |
| 1101 { | 1101 { |
| 1102 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); | 1102 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
| 1103 } | 1103 } |
| 1104 } | 1104 } |
| 1105 | 1105 |
| 1106 | 1106 |
| 1107 new WebInspector.Main(); | 1107 new WebInspector.Main(); |
| OLD | NEW |