| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright 2015 The Chromium Authors. All rights reserved. | 3 Copyright 2015 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <link rel="import" href="/tracing/base/extension_registry.html"> | 8 <link rel="import" href="/tracing/base/extension_registry.html"> |
| 9 <link rel="import" href="/tracing/core/scripting_object.html"> | 9 <link rel="import" href="/tracing/core/scripting_object.html"> |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 }, | 51 }, |
| 52 | 52 |
| 53 executeCommand: function(command) { | 53 executeCommand: function(command) { |
| 54 var f = new Function( | 54 var f = new Function( |
| 55 this.scriptObjectNames_, 'return eval(' + command + ')'); | 55 this.scriptObjectNames_, 'return eval(' + command + ')'); |
| 56 return f.apply(null, this.scriptObjectValues_); | 56 return f.apply(null, this.scriptObjectValues_); |
| 57 } | 57 } |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 return { | 60 return { |
| 61 ScriptingController: ScriptingController, | 61 ScriptingController, |
| 62 ScriptingObjectRegistry: ScriptingObjectRegistry | 62 ScriptingObjectRegistry, |
| 63 }; | 63 }; |
| 64 }); | 64 }); |
| 65 </script> | 65 </script> |
| OLD | NEW |