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

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 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 | « content/renderer/npapi/webplugin_delegate_proxy.cc ('k') | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_impl.h
diff --git a/content/renderer/npapi/webplugin_impl.h b/content/renderer/npapi/webplugin_impl.h
index 8d54cc3bef34332fe25e7349b62ee486db990afb..f642192f35f40b4affc5c74a7be52db68a7824bb 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,
@@ -193,9 +189,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_;
« no previous file with comments | « content/renderer/npapi/webplugin_delegate_proxy.cc ('k') | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698