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

Unified Diff: webkit/glue/webframe.h

Issue 7254: Initial Greasemonkey support (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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
« no previous file with comments | « chrome/renderer/renderer.vcproj ('k') | webkit/glue/webframe_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframe.h
===================================================================
--- webkit/glue/webframe.h (revision 3492)
+++ webkit/glue/webframe.h (working copy)
@@ -91,6 +91,12 @@
bool replace,
const GURL& fake_url) = 0;
+ // Executes a string of JavaScript in the web frame. The script_url param is
+ // the URL where the script in question can be found, if any. The renderer may
+ // request this URL to show the developer the source of the error.
+ virtual void ExecuteJavaScript(const std::string& js_code,
+ const std::string& script_url) = 0;
+
// Returns a string representing the state of the previous page load for
// later use when loading as well as the uri and title of the page. The
// previous page is the page that was loaded before DidCommitLoadForFrame was
« no previous file with comments | « chrome/renderer/renderer.vcproj ('k') | webkit/glue/webframe_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698