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

Unified Diff: content/renderer/npapi/webplugin_delegate_proxy.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/plugin_channel_host.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_delegate_proxy.h
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.h b/content/renderer/npapi/webplugin_delegate_proxy.h
index d980de850663776ecdd63af609b2f4bcab7f8a8d..a2dfc012460065600b99feaccfc6cfc3315f0307 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.h
+++ b/content/renderer/npapi/webplugin_delegate_proxy.h
@@ -40,7 +40,6 @@ class WaitableEvent;
namespace content {
-class NPObjectStub;
class PluginChannelHost;
class RenderFrameImpl;
class RenderViewImpl;
@@ -69,8 +68,6 @@ class WebPluginDelegateProxy
void UpdateGeometry(const gfx::Rect& window_rect,
const gfx::Rect& clip_rect) override;
void Paint(SkCanvas* canvas, const gfx::Rect& rect) override;
- NPObject* GetPluginScriptableObject() override;
- struct _NPP* GetPluginNPP() override;
bool GetFormValue(base::string16* value) override;
void SetFocus(bool focused) override;
bool HandleInputEvent(const blink::WebInputEvent& event,
@@ -119,9 +116,7 @@ class WebPluginDelegateProxy
bool* result);
void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params);
void OnInvalidateRect(const gfx::Rect& rect);
- void OnGetWindowScriptNPObject(int route_id, bool* success);
void OnResolveProxy(const GURL& url, bool* result, std::string* proxy_list);
- void OnGetPluginElement(int route_id, bool* success);
void OnSetCookie(const GURL& url,
const GURL& first_party_for_cookies,
const std::string& cookie);
@@ -217,11 +212,6 @@ class WebPluginDelegateProxy
gfx::Rect plugin_rect_;
gfx::Rect clip_rect_;
- NPObject* npobject_;
-
- // Dummy NPP used to uniquely identify this plugin.
- scoped_ptr<NPP_t> npp_;
-
// Bitmap for crashed plugin
SkBitmap* sad_plugin_;
« no previous file with comments | « content/renderer/npapi/plugin_channel_host.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698