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

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: Fix bad 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
Index: content/renderer/npapi/webplugin_impl.h
diff --git a/content/renderer/npapi/webplugin_impl.h b/content/renderer/npapi/webplugin_impl.h
index 3e695e61de08b87b547321b4c2f61b0e19746e87..ba05ead641bda2d319371ea43e3654b41acd1764 100644
--- a/content/renderer/npapi/webplugin_impl.h
+++ b/content/renderer/npapi/webplugin_impl.h
@@ -72,8 +72,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 updateAllLifecyclePhases() override;
void paint(blink::WebCanvas* canvas,
@@ -98,8 +96,6 @@ class WebPluginImpl : public WebPlugin,
// WebPlugin implementation:
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,
@@ -199,9 +195,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_;
-
// The plugin source URL.
GURL plugin_url_;

Powered by Google App Engine
This is Rietveld 408576698