| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 this._showBlackboxInfobarIfNeeded(); | 76 this._showBlackboxInfobarIfNeeded(); |
| 77 /** @type {!Map.<number, !Element>} */ | 77 /** @type {!Map.<number, !Element>} */ |
| 78 this._valueWidgets = new Map(); | 78 this._valueWidgets = new Map(); |
| 79 } | 79 } |
| 80 | 80 |
| 81 WebInspector.JavaScriptSourceFrame.prototype = { | 81 WebInspector.JavaScriptSourceFrame.prototype = { |
| 82 /** | 82 /** |
| 83 * @override | 83 * @override |
| 84 * @return {!Array<!WebInspector.ToolbarItem>} | 84 * @return {!Array<!WebInspector.ToolbarItem>} |
| 85 */ | 85 */ |
| 86 toolbarItems: function() | 86 syncToolbarItems: function() |
| 87 { | 87 { |
| 88 var result = WebInspector.UISourceCodeFrame.prototype.toolbarItems.call(
this); | 88 var result = WebInspector.UISourceCodeFrame.prototype.syncToolbarItems.c
all(this); |
| 89 var originURL = WebInspector.CompilerScriptMapping.uiSourceCodeOrigin(th
is.uiSourceCode()); | 89 var originURL = WebInspector.CompilerScriptMapping.uiSourceCodeOrigin(th
is.uiSourceCode()); |
| 90 if (originURL) { | 90 if (originURL) { |
| 91 var parsedURL = originURL.asParsedURL(); | 91 var parsedURL = originURL.asParsedURL(); |
| 92 if (parsedURL) | 92 if (parsedURL) |
| 93 result.push(new WebInspector.ToolbarText(WebInspector.UIString("
(source mapped from %s)", parsedURL.displayName))); | 93 result.push(new WebInspector.ToolbarText(WebInspector.UIString("
(source mapped from %s)", parsedURL.displayName))); |
| 94 } | 94 } |
| 95 return result; | 95 return result; |
| 96 }, | 96 }, |
| 97 | 97 |
| 98 _updateInfobars: function() | 98 _updateInfobars: function() |
| (...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyChanged, this._workingCopyChanged, this); | 1130 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyChanged, this._workingCopyChanged, this); |
| 1131 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyCommitted, this._workingCopyCommitted, this); | 1131 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyCommitted, this._workingCopyCommitted, this); |
| 1132 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.TitleChanged, this._showBlackboxInfobarIfNeeded, this); | 1132 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.TitleChanged, this._showBlackboxInfobarIfNeeded, this); |
| 1133 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene
r(this._showBlackboxInfobarIfNeeded, this); | 1133 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene
r(this._showBlackboxInfobarIfNeeded, this); |
| 1134 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th
is._showBlackboxInfobarIfNeeded, this); | 1134 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th
is._showBlackboxInfobarIfNeeded, this); |
| 1135 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); | 1135 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); |
| 1136 }, | 1136 }, |
| 1137 | 1137 |
| 1138 __proto__: WebInspector.UISourceCodeFrame.prototype | 1138 __proto__: WebInspector.UISourceCodeFrame.prototype |
| 1139 } | 1139 } |
| OLD | NEW |