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

Unified Diff: content/plugin/webplugin_proxy.h

Issue 1662013002: Remove some dead NPAPI code after r363119. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused functions Created 4 years, 11 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/plugin/webplugin_delegate_stub.cc ('k') | content/plugin/webplugin_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/webplugin_proxy.h
diff --git a/content/plugin/webplugin_proxy.h b/content/plugin/webplugin_proxy.h
index 3d3e65636f2eb1854c4db99d261c94cd32b0e03e..78814a790c3660bd533209d5466b301132029253 100644
--- a/content/plugin/webplugin_proxy.h
+++ b/content/plugin/webplugin_proxy.h
@@ -29,8 +29,6 @@
#include "base/mac/scoped_cftyperef.h"
#endif
-struct PluginMsg_FetchURL_Params;
-
namespace content {
class PluginChannel;
class WebPluginDelegateImpl;
@@ -58,7 +56,6 @@ class WebPluginProxy : public WebPlugin,
void SetWindow(gfx::PluginWindowHandle window) override;
void SetAcceptsInputEvents(bool accepts) override;
void WillDestroyWindow(gfx::PluginWindowHandle window) override;
- void CancelResource(unsigned long id) override;
void Invalidate() override;
void InvalidateRect(const gfx::Rect& rect) override;
NPObject* GetWindowScriptNPObject() override;
@@ -77,10 +74,7 @@ class WebPluginProxy : public WebPlugin,
void CancelDocumentLoad() override;
void DidStartLoading() override;
void DidStopLoading() override;
- void SetDeferResourceLoading(unsigned long resource_id, bool defer) override;
bool IsOffTheRecord() override;
- void ResourceClientDeleted(WebPluginResourceClient* resource_client) override;
- void URLRedirectResponse(bool allow, int resource_id) override;
#if defined(OS_WIN)
void SetWindowlessData(HANDLE pump_messages_event,
gfx::NativeViewId dummy_activation_window) override;
@@ -102,10 +96,6 @@ class WebPluginProxy : public WebPlugin,
// class-specific methods
- // Returns a WebPluginResourceClient object given its id, or NULL if no
- // object with that id exists.
- WebPluginResourceClient* GetResourceClient(int id);
-
// Returns the id of the renderer that contains this plugin.
int GetRendererId();
@@ -120,9 +110,6 @@ class WebPluginProxy : public WebPlugin,
// Callback from the renderer to let us know that a paint occurred.
void DidPaint();
- // Notification received on a plugin issued resource request creation.
- void OnResourceCreated(int resource_id, WebPluginResourceClient* client);
-
#if defined(OS_WIN) && !defined(USE_AURA)
// Retrieves the IME status from a windowless plugin and sends it to a
// renderer process. A renderer process will convert the coordinates from
@@ -173,9 +160,6 @@ class WebPluginProxy : public WebPlugin,
}
#endif
- typedef base::hash_map<int, WebPluginResourceClient*> ResourceClientMap;
- ResourceClientMap resource_clients_;
-
scoped_refptr<PluginChannel> channel_;
int route_id_;
NPObject* window_npobject_;
« no previous file with comments | « content/plugin/webplugin_delegate_stub.cc ('k') | content/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698