| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 this.dispatchEventToListeners(SDK.RuntimeModel.Events.ExecutionContextCreate
d, executionContext); | 116 this.dispatchEventToListeners(SDK.RuntimeModel.Events.ExecutionContextCreate
d, executionContext); |
| 117 } | 117 } |
| 118 | 118 |
| 119 /** | 119 /** |
| 120 * @param {number} executionContextId | 120 * @param {number} executionContextId |
| 121 */ | 121 */ |
| 122 _executionContextDestroyed(executionContextId) { | 122 _executionContextDestroyed(executionContextId) { |
| 123 var executionContext = this._executionContextById.get(executionContextId); | 123 var executionContext = this._executionContextById.get(executionContextId); |
| 124 if (!executionContext) | 124 if (!executionContext) |
| 125 return; | 125 return; |
| 126 this.debuggerModel().executionContextDestroyed(executionContext); |
| 126 this._executionContextById.delete(executionContextId); | 127 this._executionContextById.delete(executionContextId); |
| 127 this.dispatchEventToListeners(SDK.RuntimeModel.Events.ExecutionContextDestro
yed, executionContext); | 128 this.dispatchEventToListeners(SDK.RuntimeModel.Events.ExecutionContextDestro
yed, executionContext); |
| 128 } | 129 } |
| 129 | 130 |
| 130 fireExecutionContextOrderChanged() { | 131 fireExecutionContextOrderChanged() { |
| 131 this.dispatchEventToListeners(SDK.RuntimeModel.Events.ExecutionContextOrderC
hanged, this); | 132 this.dispatchEventToListeners(SDK.RuntimeModel.Events.ExecutionContextOrderC
hanged, this); |
| 132 } | 133 } |
| 133 | 134 |
| 134 _executionContextsCleared() { | 135 _executionContextsCleared() { |
| 135 this.debuggerModel().globalObjectCleared(); | 136 this.debuggerModel().globalObjectCleared(); |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 this._type === 'wheel'; | 872 this._type === 'wheel'; |
| 872 } | 873 } |
| 873 }; | 874 }; |
| 874 | 875 |
| 875 /** @enum {string} */ | 876 /** @enum {string} */ |
| 876 SDK.EventListener.Origin = { | 877 SDK.EventListener.Origin = { |
| 877 Raw: 'Raw', | 878 Raw: 'Raw', |
| 878 Framework: 'Framework', | 879 Framework: 'Framework', |
| 879 FrameworkUser: 'FrameworkUser' | 880 FrameworkUser: 'FrameworkUser' |
| 880 }; | 881 }; |
| OLD | NEW |