Index: webkit/glue/webframe.h |
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h |
index 21695494d03f76fa6f3db6766d64a5c7019c907a..8ba6be4de931261b3a75a93e662ebab10ba4ceff 100644 |
--- a/webkit/glue/webframe.h |
+++ b/webkit/glue/webframe.h |
@@ -53,6 +53,9 @@ class WebFrame : public base::RefCounted<WebFrame> { |
// TODO(fqian): Remove this method when V8 supports NP runtime. |
virtual void* GetFrameImplementation() = 0; |
+ virtual void ExecuteJavaScript(const std::wstring& code, |
+ const std::wstring& filename) = 0; |
+ |
// Loads the given WebRequest. |
virtual void LoadRequest(WebRequest* request) = 0; |