| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 /** | 4 /** |
| 5 * @implements {WebInspector.TargetManager.Observer} | 5 * @implements {WebInspector.TargetManager.Observer} |
| 6 * @unrestricted | 6 * @unrestricted |
| 7 */ | 7 */ |
| 8 WebInspector.ExecutionContextSelector = class { | 8 WebInspector.ExecutionContextSelector = class { |
| 9 /** | 9 /** |
| 10 * @param {!WebInspector.TargetManager} targetManager | 10 * @param {!WebInspector.TargetManager} targetManager |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 newContext = executionContexts[0]; | 251 newContext = executionContexts[0]; |
| 252 break; | 252 break; |
| 253 } | 253 } |
| 254 } | 254 } |
| 255 } | 255 } |
| 256 this._ignoreContextChanged = true; | 256 this._ignoreContextChanged = true; |
| 257 this._context.setFlavor(WebInspector.ExecutionContext, newContext); | 257 this._context.setFlavor(WebInspector.ExecutionContext, newContext); |
| 258 this._ignoreContextChanged = false; | 258 this._ignoreContextChanged = false; |
| 259 } | 259 } |
| 260 }; | 260 }; |
| 261 | |
| 262 | |
| OLD | NEW |