| 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 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 sourceMapInfobar.createDetailsRowMessage(WebInspector.UIStri
ng("Associated files are available via file tree or %s.", WebInspector.shortcutR
egistry.shortcutTitleForAction("sources.go-to-source"))); | 989 sourceMapInfobar.createDetailsRowMessage(WebInspector.UIStri
ng("Associated files are available via file tree or %s.", WebInspector.shortcutR
egistry.shortcutTitleForAction("sources.go-to-source"))); |
| 990 this.attachInfobars([sourceMapInfobar]); | 990 this.attachInfobars([sourceMapInfobar]); |
| 991 } | 991 } |
| 992 } | 992 } |
| 993 } | 993 } |
| 994 }, | 994 }, |
| 995 | 995 |
| 996 /** | 996 /** |
| 997 * @override | 997 * @override |
| 998 */ | 998 */ |
| 999 onTextEditorContentLoaded: function() | 999 onTextEditorContentSet: function() |
| 1000 { | 1000 { |
| 1001 WebInspector.UISourceCodeFrame.prototype.onTextEditorContentLoaded.call(
this); | 1001 WebInspector.UISourceCodeFrame.prototype.onTextEditorContentSet.call(thi
s); |
| 1002 if (this._executionLocation) | 1002 if (this._executionLocation) |
| 1003 this.setExecutionLocation(this._executionLocation); | 1003 this.setExecutionLocation(this._executionLocation); |
| 1004 | 1004 |
| 1005 var breakpointLocations = this._breakpointManager.breakpointLocationsFor
UISourceCode(this.uiSourceCode()); | 1005 var breakpointLocations = this._breakpointManager.breakpointLocationsFor
UISourceCode(this.uiSourceCode()); |
| 1006 for (var i = 0; i < breakpointLocations.length; ++i) | 1006 for (var i = 0; i < breakpointLocations.length; ++i) |
| 1007 this._breakpointAdded({data:breakpointLocations[i]}); | 1007 this._breakpointAdded({data:breakpointLocations[i]}); |
| 1008 | 1008 |
| 1009 var scriptFiles = this._scriptFileForTarget.valuesArray(); | 1009 var scriptFiles = this._scriptFileForTarget.valuesArray(); |
| 1010 for (var i = 0; i < scriptFiles.length; ++i) | 1010 for (var i = 0; i < scriptFiles.length; ++i) |
| 1011 scriptFiles[i].checkMapping(); | 1011 scriptFiles[i].checkMapping(); |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyChanged, this._workingCopyChanged, this); | 1132 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyChanged, this._workingCopyChanged, this); |
| 1133 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyCommitted, this._workingCopyCommitted, this); | 1133 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.WorkingCopyCommitted, this._workingCopyCommitted, this); |
| 1134 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.TitleChanged, this._showBlackboxInfobarIfNeeded, this); | 1134 this.uiSourceCode().removeEventListener(WebInspector.UISourceCode.Events
.TitleChanged, this._showBlackboxInfobarIfNeeded, this); |
| 1135 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene
r(this._showBlackboxInfobarIfNeeded, this); | 1135 WebInspector.moduleSetting("skipStackFramesPattern").removeChangeListene
r(this._showBlackboxInfobarIfNeeded, this); |
| 1136 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th
is._showBlackboxInfobarIfNeeded, this); | 1136 WebInspector.moduleSetting("skipContentScripts").removeChangeListener(th
is._showBlackboxInfobarIfNeeded, this); |
| 1137 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); | 1137 WebInspector.UISourceCodeFrame.prototype.dispose.call(this); |
| 1138 }, | 1138 }, |
| 1139 | 1139 |
| 1140 __proto__: WebInspector.UISourceCodeFrame.prototype | 1140 __proto__: WebInspector.UISourceCodeFrame.prototype |
| 1141 } | 1141 } |
| OLD | NEW |