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

Unified Diff: chrome/renderer/user_script_slave.h

Issue 19624: Add early-injection capability to user scripts. I haven't yet (Closed)
Patch Set: Use new documentElementAvailable() callback Created 11 years, 10 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/renderer/user_script_slave.h
diff --git a/chrome/renderer/user_script_slave.h b/chrome/renderer/user_script_slave.h
index 3958b1975d28cadd08b9f8bad24bc10fcde9f5d1..fe036ac8b3aabf262724d33791d6cb2eb002aca4 100644
--- a/chrome/renderer/user_script_slave.h
+++ b/chrome/renderer/user_script_slave.h
@@ -29,7 +29,7 @@ class UserScriptSlave {
// Inject the appropriate scripts into a frame based on its URL.
// TODO(aa): Extract a UserScriptFrame interface out of this to improve
// testability.
- bool InjectScripts(WebFrame* frame);
+ bool InjectScripts(WebFrame* frame, UserScript::RunLocation location);
private:
// Shared memory containing raw script data.

Powered by Google App Engine
This is Rietveld 408576698