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

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 5 years 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: 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 569d190d7f16d89b876eda3f6fe22b6f68017ebf..dfa92890bf66c10bbf8ffb13ebf49b4dca9d8057 100644
--- a/third_party/WebKit/public/web/WebPluginContainer.h
+++ b/third_party/WebKit/public/web/WebPluginContainer.h
@@ -75,21 +75,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;
« third_party/WebKit/Source/web/WebBindings.cpp ('K') | « 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