Chromium Code Reviews| Index: Source/bindings/v8/ScriptController.h |
| diff --git a/Source/bindings/v8/ScriptController.h b/Source/bindings/v8/ScriptController.h |
| index 38421d46213a958f14765e7cc7811fa597190524..94057d568b93235db32bbf8512f25a1952a6e627 100644 |
| --- a/Source/bindings/v8/ScriptController.h |
| +++ b/Source/bindings/v8/ScriptController.h |
| @@ -96,6 +96,8 @@ public: |
| // Evaluate JavaScript in the main world. |
| // The caller must hold an execution context. |
| ScriptValue evaluate(const ScriptSourceCode&); |
| + // Evaluate Web-origin JavaScript in the main world. (Not for system uses) |
|
pfeldman
2013/05/29 15:03:52
Insert blank line above the comment. I think this
|
| + ScriptValue evaluateFromWebPage(const ScriptSourceCode&); |
| // Executes JavaScript in an isolated world. The script gets its own global scope, |
| // its own prototypes for intrinsic JavaScript objects (String, Array, and so-on), |