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

Unified Diff: third_party/WebKit/public/web/WebPluginContainer.h

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 | « third_party/WebKit/public/web/WebPlugin.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebPluginContainer.h
diff --git a/third_party/WebKit/public/web/WebPluginContainer.h b/third_party/WebKit/public/web/WebPluginContainer.h
index 47a0d37d5649a9edfa45c006acea52a7dd1d9407..2c5de8ea2b5bb3a1704968c6a900ae6e55647b61 100644
--- a/third_party/WebKit/public/web/WebPluginContainer.h
+++ b/third_party/WebKit/public/web/WebPluginContainer.h
@@ -72,21 +72,6 @@ public:
// WebPlugin::updateGeometry.
virtual void reportGeometry() = 0;
- // Allow the plugin to pass script objects to the browser. The container
- // tracks ownership of script objects in order to allow browser references
- // to them to be dropped when clearScriptObjects is called.
- virtual void allowScriptObjects() = 0;
-
- // Drop any references to script objects allocated by the plugin.
- // These are objects derived from WebPlugin::scriptableObject. This is
- // called when the plugin is being destroyed or if it needs to be
- // re-initialized.
- virtual void clearScriptObjects() = 0;
-
- // Returns the scriptable object associated with the DOM element
- // containing the plugin.
- virtual NPObject* scriptableObjectForElement() = 0;
-
// Returns the scriptable object associated with the DOM element
// containing the plugin as a native v8 object.
virtual v8::Local<v8::Object> v8ObjectForElement() = 0;
« no previous file with comments | « third_party/WebKit/public/web/WebPlugin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698