Index: public/web/WebFrame.h |
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h |
index 152ba41805fee80d2b7a23727b68e7c805dae727..68954fb6fa88d8e1b71268af005ae37242c7a0a1 100644 |
--- a/public/web/WebFrame.h |
+++ b/public/web/WebFrame.h |
@@ -302,6 +302,11 @@ public: |
virtual v8::Handle<v8::Value> executeScriptAndReturnValue( |
const WebScriptSource&) = 0; |
+ // ONLY FOR TESTS: Same as above but sets a fake UserGestureIndicator before |
+ // execution. |
+ virtual v8::Handle<v8::Value> executeScriptAndReturnValueForTests( |
+ const WebScriptSource&); |
+ |
// worldID must be > 0 (as 0 represents the main world). |
// worldID must be < EmbedderWorldIdLimit, high number used internally. |
virtual void executeScriptInIsolatedWorld( |