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

Unified Diff: webkit/glue/webframe.h

Issue 18183: First pass as implementing the greasemonkey API. This patch (Closed)
Patch Set: Created 11 years, 11 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/user_script_slave.cc ('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
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h
index 212bcab096cd67b2f8d0412e7f76af13517f19de..a2a902acc4891bf51816fd997aeee4ba7d9fbdcc 100644
--- a/webkit/glue/webframe.h
+++ b/webkit/glue/webframe.h
@@ -95,9 +95,11 @@ class WebFrame : public base::RefCounted<WebFrame> {
// 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.
+ // request this URL to show the developer the source of the error. The
+ // start_line parameter is the base line number to use for error reporting.
virtual void ExecuteJavaScript(const std::string& js_code,
- const GURL& script_url) = 0;
+ const GURL& script_url,
+ int start_line) = 0;
// Returns a string representing the state of the previous page load for
// later use when loading. The previous page is the page that was loaded
« no previous file with comments | « chrome/renderer/user_script_slave.cc ('k') | webkit/glue/webframe_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698