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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.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
Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
index 6bb530b6c7e34785a167085af8825dc23c2e66cc..3a3deb5efb49436773b04a1aa2c1ef98a2746b03 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
@@ -30,8 +30,6 @@
#include <v8.h>
-struct NPObject;
-
namespace blink {
class HTMLImageLoader;
@@ -49,10 +47,10 @@ public:
DECLARE_VIRTUAL_TRACE();
void resetInstance();
+ // TODO(dcheng): Consider removing this, since HTMLEmbedElementLegacyCall
+ // and HTMLObjectElementLegacyCall usage is extremely low.
SharedPersistent<v8::Object>* pluginWrapper();
Widget* pluginWidget() const;
- NPObject* getNPObject();
- void setPluginFocus(bool focused);
bool canProcessDrag() const;
const String& url() const { return m_url; }
@@ -140,7 +138,6 @@ private:
void setPersistedPluginWidget(Widget*);
mutable RefPtr<SharedPersistent<v8::Object>> m_pluginWrapper;
- NPObject* m_NPObject;
bool m_needsWidgetUpdate;
bool m_shouldPreferPlugInsForImages;
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698