Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: webkit/glue/webframe.h

Issue 6274: Greasemonkey support. (Closed)
Patch Set: Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698