Try again to land "Implement script API:executeScript"
http://codereview.chromium.org/173556

[email protected]
Patch from Jerry Tang <[email protected]>.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26556 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 991b0e2..c7c1c37bf 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -845,6 +845,13 @@
     blocked_popups_->CloseAll();
 }
 
+void TabContents::ExecuteCode(int request_id, const std::string& extension_id,
+                              bool is_js_code, const std::string& code_string) {
+  render_view_host()->Send(
+      new ViewMsg_ExecuteCode(render_view_host()->routing_id(), request_id,
+                              extension_id, is_js_code, code_string));
+}
+
 void TabContents::PopupNotificationVisibilityChanged(bool visible) {
   render_view_host()->PopupNotificationVisibilityChanged(visible);
 }