Index: chrome/renderer/render_view.h |
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h |
index 71faf63b92885e538fc5bc6b20ea6a8f131d0d68..7ed124725083e0d9016f3040e7b93646e7fb64ec 100644 |
--- a/chrome/renderer/render_view.h |
+++ b/chrome/renderer/render_view.h |
@@ -270,9 +270,10 @@ class RenderView : public RenderWidget, public WebViewDelegate, |
// periodic timer so we don't send too many messages. |
void SyncNavigationState(); |
- // Evaluates a javascript: URL |
- void EvaluateScriptUrl(const std::wstring& frame_xpath, |
- const std::wstring& jscript); |
+ // Evaluates javascript in the specified frame |
+ void EvaluateScript(const std::wstring& frame_xpath, |
+ const std::wstring& script, |
+ const std::wstring& url); |
// Called when the Javascript debugger is no longer attached. |
// This is called from within the renderer, not via an IPC message. |
@@ -403,7 +404,8 @@ class RenderView : public RenderWidget, public WebViewDelegate, |
void OnGetApplicationInfo(int page_id); |
void OnScriptEvalRequest(const std::wstring& frame_xpath, |
- const std::wstring& jscript); |
+ const std::wstring& jscript, |
+ const std::wstring& filename); |
void OnAddMessageToConsole(const std::wstring& frame_xpath, |
const std::wstring& msg, |
ConsoleMessageLevel level); |