| Index: public/web/WebLocalFrame.h
|
| diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h
|
| index d8b56e1ed8cba63d2fc58b3312f0ac8c6331d7db..b6aac327a4cfcf52e8f9b406bbbbf7b74517f9ee 100644
|
| --- a/public/web/WebLocalFrame.h
|
| +++ b/public/web/WebLocalFrame.h
|
| @@ -9,6 +9,8 @@
|
|
|
| namespace blink {
|
|
|
| +class WebScriptCallback;
|
| +
|
| // Interface for interacting with in process frames. This contains methods that
|
| // require interacting with a frame's document.
|
| // FIXME: Move lots of methods from WebFrame in here.
|
| @@ -67,6 +69,11 @@ public:
|
|
|
|
|
| // Scripting --------------------------------------------------------------
|
| + virtual void asyncExecuteScriptAndReturnValue(const WebScriptSource&, WebScriptCallback*) = 0;
|
| + virtual void asyncExecuteScriptInIsolatedWorld(
|
| + int worldID, const WebScriptSource* sourceIn, unsigned numSources,
|
| + int extensionGroup, WebScriptCallback*) = 0;
|
| +
|
| // ONLY FOR TESTS: Forwards to executeScriptAndReturnValue, but sets a fake
|
| // UserGestureIndicator before execution.
|
| virtual v8::Handle<v8::Value> executeScriptAndReturnValueForTests(const WebScriptSource&) = 0;
|
|
|