mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 729009 part 0 - remove dead code, r=josh
This commit is contained in:
parent
24ff4f10e4
commit
adad34f60d
@ -491,13 +491,6 @@ nsresult nsNPAPIPluginInstance::SetWindow(NPWindow* window)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsNPAPIPluginInstance::NewStreamToPlugin(nsIPluginStreamListener** listener)
|
||||
{
|
||||
// This method can be removed at the next opportunity.
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsNPAPIPluginInstance::NewStreamFromPlugin(const char* type, const char* target,
|
||||
nsIOutputStream* *result)
|
||||
@ -648,18 +641,6 @@ nsresult nsNPAPIPluginInstance::GetNPP(NPP* aNPP)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
nsNPAPIPluginInstance::SetURI(nsIURI* uri)
|
||||
{
|
||||
mURI = uri;
|
||||
}
|
||||
|
||||
nsIURI*
|
||||
nsNPAPIPluginInstance::GetURI()
|
||||
{
|
||||
return mURI.get();
|
||||
}
|
||||
|
||||
NPError nsNPAPIPluginInstance::SetWindowless(bool aWindowless)
|
||||
{
|
||||
mWindowless = aWindowless;
|
||||
|
@ -98,7 +98,6 @@ public:
|
||||
nsresult Start();
|
||||
nsresult Stop();
|
||||
nsresult SetWindow(NPWindow* window);
|
||||
nsresult NewStreamToPlugin(nsIPluginStreamListener** listener);
|
||||
nsresult NewStreamFromPlugin(const char* type, const char* target, nsIOutputStream* *result);
|
||||
nsresult Print(NPPrint* platformPrint);
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
@ -141,9 +140,6 @@ public:
|
||||
|
||||
nsresult GetNPP(NPP * aNPP);
|
||||
|
||||
void SetURI(nsIURI* uri);
|
||||
nsIURI* GetURI();
|
||||
|
||||
NPError SetWindowless(bool aWindowless);
|
||||
|
||||
NPError SetTransparent(bool aTransparent);
|
||||
@ -301,8 +297,6 @@ private:
|
||||
// This is only valid when the plugin is actually stopped!
|
||||
mozilla::TimeStamp mStopTime;
|
||||
|
||||
nsCOMPtr<nsIURI> mURI;
|
||||
|
||||
bool mUsePluginLayersPref;
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
void* mSurface;
|
||||
|
Loading…
Reference in New Issue
Block a user