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 (function() | 5 (function() |
6 { | 6 { |
7 | 7 |
8 /** | 8 /** |
9 * @suppressGlobalPropertiesCheck | 9 * @suppressGlobalPropertiesCheck |
10 */ | 10 */ |
11 function toolboxLoaded() | 11 function toolboxLoaded() |
12 { | 12 { |
13 if (!window.opener) | 13 if (!window.opener) |
14 return; | 14 return; |
15 var app = window.opener.WebInspector["AdvancedApp"]["_instance"](); | 15 var app = window.opener.WebInspector["AdvancedApp"]["_instance"](); |
16 app["toolboxLoaded"](document); | 16 app["toolboxLoaded"](document); |
17 } | 17 } |
18 | 18 |
19 runOnWindowLoad(toolboxLoaded); | 19 runOnWindowLoad(toolboxLoaded); |
20 | 20 |
21 })(); | 21 })(); |
OLD | NEW |