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

Unified Diff: chrome/browser/render_view_host.cc

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: chrome/browser/render_view_host.cc
diff --git a/chrome/browser/render_view_host.cc b/chrome/browser/render_view_host.cc
index d2690179cf06862f3dbd33ba4662f6ab90cc3e76..bf99d54d499fb462af855065f41ca0b82244e969 100644
--- a/chrome/browser/render_view_host.cc
+++ b/chrome/browser/render_view_host.cc
@@ -381,8 +381,10 @@ void RenderViewHost::ReservePageIDRange(int size) {
}
void RenderViewHost::ExecuteJavascriptInWebFrame(
- const std::wstring& frame_xpath, const std::wstring& jscript) {
- Send(new ViewMsg_ScriptEvalRequest(routing_id_, frame_xpath, jscript));
+ const std::wstring& frame_xpath, const std::wstring& jscript,
+ const std::wstring& source_url) {
+ Send(new ViewMsg_ScriptEvalRequest(routing_id_, frame_xpath, jscript,
+ source_url));
}
void RenderViewHost::AddMessageToConsole(

Powered by Google App Engine
This is Rietveld 408576698