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

Unified Diff: third_party/WebKit/public/web/WebPlugin.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/WebPlugin.h
diff --git a/third_party/WebKit/public/web/WebPlugin.h b/third_party/WebKit/public/web/WebPlugin.h
index c25bc6c03116134a7b664bcaf746bd894f105ab4..3114269ee62760f7d8485f9cbf6dbc0b1381ea3c 100644
--- a/third_party/WebKit/public/web/WebPlugin.h
+++ b/third_party/WebKit/public/web/WebPlugin.h
@@ -83,12 +83,6 @@ public:
virtual WebPluginContainer* container() const { return nullptr; }
virtual void containerDidDetachFromParent() { }
- virtual NPObject* scriptableObject() { return nullptr; }
- virtual struct _NPP* pluginNPP() { return nullptr; }
-
- // The same as scriptableObject() but allows to expose scriptable interface
- // through plain v8 object instead of NPObject.
- // If you override this function, you must return nullptr in scriptableObject().
virtual v8::Local<v8::Object> v8ScriptableObject(v8::Isolate*) { return v8::Local<v8::Object>(); }
// Returns true if the form submission value is successfully obtained

Powered by Google App Engine
This is Rietveld 408576698