| 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 // FIXME: This stub is invoked from the backend and should be removed | |
| 6 // once we migrate to the "pull" model for extensions retrieval. | |
| 7 WebInspector = {}; | |
| 8 WebInspector.addExtensions = function() {}; | |
| 9 | |
| 10 (function() | 5 (function() |
| 11 { | 6 { |
| 12 | 7 |
| 13 /** | 8 /** |
| 14 * @suppressGlobalPropertiesCheck | 9 * @suppressGlobalPropertiesCheck |
| 15 */ | 10 */ |
| 16 function toolboxLoaded() | 11 function toolboxLoaded() |
| 17 { | 12 { |
| 18 if (!window.opener) | 13 if (!window.opener) |
| 19 return; | 14 return; |
| 20 window.opener.WebInspector["app"]["toolboxLoaded"](document); | 15 window.opener.WebInspector["app"]["toolboxLoaded"](document); |
| 21 } | 16 } |
| 22 | 17 |
| 23 runOnWindowLoad(toolboxLoaded); | 18 runOnWindowLoad(toolboxLoaded); |
| 24 | 19 |
| 25 })(); | 20 })(); |
| OLD | NEW |