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

Unified Diff: content/public/browser/render_frame_host.h

Issue 188923002: Move RenderViewHost::InsertCSS to RenderFrameHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 9 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: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index b661a1ab43635ea96e06327ce0e806bb31e61daf..f66fcb41ced906d000e85d40f5ece03cfa121250 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -60,6 +60,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
virtual void ExecuteCustomContextMenuCommand(
int action, const CustomContextMenuContext& context) = 0;
+ // Requests the renderer to insert CSS into the frame.
nasko 2014/03/06 19:31:55 nit: "into the frame's document."
Avi (use Gerrit) 2014/03/06 21:21:04 Done.
+ virtual void InsertCSS(const std::string& css) = 0;
+
// Temporary until we get rid of RenderViewHost.
virtual RenderViewHost* GetRenderViewHost() = 0;

Powered by Google App Engine
This is Rietveld 408576698