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

Unified Diff: chrome/renderer/user_script_slave.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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_glue.cc ('k') | chrome/renderer/user_script_slave.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/user_script_slave.h
===================================================================
--- chrome/renderer/user_script_slave.h (revision 22886)
+++ chrome/renderer/user_script_slave.h (working copy)
@@ -14,7 +14,9 @@
#include "base/string_piece.h"
#include "chrome/common/extensions/user_script.h"
+namespace WebKit {
class WebFrame;
+}
// Manages installed UserScripts for a render process.
class UserScriptSlave {
@@ -27,7 +29,7 @@
// 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, UserScript::RunLocation location);
+ bool InjectScripts(WebKit::WebFrame* frame, UserScript::RunLocation location);
private:
// Shared memory containing raw script data.
« no previous file with comments | « chrome/renderer/renderer_glue.cc ('k') | chrome/renderer/user_script_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698