Move InsertCSS from RenderFrameHost to WebContents.

BUG=304341
[email protected]

Review URL: https://codereview.chromium.org/228603005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262486 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 623cb46..2090f55c 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2219,6 +2219,11 @@
   Send(new ViewMsg_StopFinding(GetRoutingID(), action));
 }
 
+void WebContentsImpl::InsertCSS(const std::string& css) {
+  GetMainFrame()->Send(new FrameMsg_CSSInsertRequest(
+      GetMainFrame()->GetRoutingID(), css));
+}
+
 bool WebContentsImpl::FocusLocationBarByDefault() {
   NavigationEntry* entry = controller_.GetVisibleEntry();
   if (entry && entry->GetURL() == GURL(kAboutBlankURL))