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

Unified Diff: content/renderer/npapi/webplugin_impl.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: content/renderer/npapi/webplugin_impl.h
diff --git a/content/renderer/npapi/webplugin_impl.h b/content/renderer/npapi/webplugin_impl.h
index a7408cb69c6d70796c7ba444d876cacf0718e8d7..db85bbcaa9bf4b39a9237872cc6e1363b5a83681 100644
--- a/content/renderer/npapi/webplugin_impl.h
+++ b/content/renderer/npapi/webplugin_impl.h
@@ -73,8 +73,6 @@ class WebPluginImpl : public WebPlugin,
// blink::WebPlugin methods:
bool initialize(blink::WebPluginContainer* container) override;
void destroy() override;
- NPObject* scriptableObject() override;
- struct _NPP* pluginNPP() override;
bool getFormValue(blink::WebString& value) override;
void layoutIfNeeded() override;
void paint(blink::WebCanvas* canvas,
@@ -103,8 +101,6 @@ class WebPluginImpl : public WebPlugin,
void CancelResource(unsigned long id) override;
void Invalidate() override;
void InvalidateRect(const gfx::Rect& rect) override;
- NPObject* GetWindowScriptNPObject() override;
- NPObject* GetPluginElement() override;
bool FindProxyForUrl(const GURL& url, std::string* proxy_list) override;
void SetCookie(const GURL& url,
const GURL& first_party_for_cookies,
@@ -251,9 +247,6 @@ class WebPluginImpl : public WebPlugin,
// This is just a weak reference.
blink::WebPluginContainer* container_;
- // Unique identifier for this plugin, used to track script objects.
- struct _NPP* npp_;
-
typedef std::map<WebPluginResourceClient*, MultipartResponseDelegate*>
MultiPartResponseHandlerMap;
// Tracks HTTP multipart response handlers instantiated for

Powered by Google App Engine
This is Rietveld 408576698