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

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

Issue 208793005: Remove JavaScript execution from RenderViewHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index fabeed37083dc6bd5ccb4d9e647cd8bef4eda988..99f45a64d98d04230ad17c94089412951f0f3c2c 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -162,20 +162,6 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
const gfx::Point& location,
const blink::WebMediaPlayerAction& action) = 0;
- // Runs some javascript within the context of a frame in the page.
- // OBSOLETE; DO NOT USE! Use RenderFrameHost::ExecuteJavaScript instead.
- virtual void ExecuteJavascriptInWebFrame(const base::string16& frame_xpath,
- const base::string16& jscript) = 0;
-
- // Runs some javascript within the context of a frame in the page. The result
- // is sent back via the provided callback.
- // OBSOLETE; DO NOT USE! Use RenderFrameHost::ExecuteJavaScript instead.
- typedef base::Callback<void(const base::Value*)> JavascriptResultCallback;
- virtual void ExecuteJavascriptInWebFrameCallbackResult(
- const base::string16& frame_xpath,
- const base::string16& jscript,
- const JavascriptResultCallback& callback) = 0;
-
// Tells the renderer to perform the given action on the plugin located at
// the given point.
virtual void ExecutePluginActionAtLocation(
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698