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

Unified Diff: chrome/renderer/plugins/webview_plugin.h

Issue 15007012: Track NPObject ownership by the originating plugins' NPP identifier. [2/3] (Chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing includes. Created 7 years, 7 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: chrome/renderer/plugins/webview_plugin.h
diff --git a/chrome/renderer/plugins/webview_plugin.h b/chrome/renderer/plugins/webview_plugin.h
index 9033fb1d2ec10c4351e5ed395a91fb92f712d785..9cd3c5a1e089a27e627a509ae8a9e457fea6310f 100644
--- a/chrome/renderer/plugins/webview_plugin.h
+++ b/chrome/renderer/plugins/webview_plugin.h
@@ -15,6 +15,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h"
+#include "third_party/npapi/bindings/npruntime.h"
struct WebPreferences;
@@ -74,6 +75,8 @@ class WebViewPlugin : public WebKit::WebPlugin,
virtual void destroy();
virtual NPObject* scriptableObject();
+ virtual NPP pluginNPP();
+
virtual bool getFormValue(WebKit::WebString& value);
virtual void paint(WebKit::WebCanvas* canvas, const WebKit::WebRect& rect);
« no previous file with comments | « no previous file | chrome/renderer/plugins/webview_plugin.cc » ('j') | content/renderer/browser_plugin/browser_plugin.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698