summaryrefslogtreecommitdiffstats
path: root/dom/plugins/base/nsPluginInstanceOwner.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-20 12:44:29 -0500
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:49:22 +0200
commit2f23073a3a4d00f0f46849045aad41913f977b5a (patch)
tree207ed283735ff6c5c54e7c977f172d82cd47f74a /dom/plugins/base/nsPluginInstanceOwner.h
parent496fbaf738fb00824d7e972e874bfdbe85caaee5 (diff)
downloadUXP-2f23073a3a4d00f0f46849045aad41913f977b5a.tar
UXP-2f23073a3a4d00f0f46849045aad41913f977b5a.tar.gz
UXP-2f23073a3a4d00f0f46849045aad41913f977b5a.tar.lz
UXP-2f23073a3a4d00f0f46849045aad41913f977b5a.tar.xz
UXP-2f23073a3a4d00f0f46849045aad41913f977b5a.zip
Issue #1053 - Remove android support from NPAPI
Diffstat (limited to 'dom/plugins/base/nsPluginInstanceOwner.h')
-rw-r--r--dom/plugins/base/nsPluginInstanceOwner.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/dom/plugins/base/nsPluginInstanceOwner.h b/dom/plugins/base/nsPluginInstanceOwner.h
index 589bcb02c..2fa67c86e 100644
--- a/dom/plugins/base/nsPluginInstanceOwner.h
+++ b/dom/plugins/base/nsPluginInstanceOwner.h
@@ -29,7 +29,7 @@ class nsPluginDOMContextMenuListener;
class nsPluginFrame;
class nsDisplayListBuilder;
-#if defined(MOZ_X11) || defined(ANDROID)
+#ifdef MOZ_X11
class gfxContext;
#endif
@@ -108,7 +108,7 @@ public:
void Paint(const gfxRect& aDirtyRect, CGContextRef cgContext);
void RenderCoreAnimation(CGContextRef aCGContext, int aWidth, int aHeight);
void DoCocoaEventDrawRect(const gfxRect& aDrawRect, CGContextRef cgContext);
-#elif defined(MOZ_X11) || defined(ANDROID)
+#elif defined(MOZ_X11)
void Paint(gfxContext* aContext,
const gfxRect& aFrameRect,
const gfxRect& aDirtyRect);
@@ -254,21 +254,6 @@ public:
already_AddRefed<nsIURI> GetBaseURI() const;
-#ifdef MOZ_WIDGET_ANDROID
- // Returns the image container for the specified VideoInfo
- void GetVideos(nsTArray<nsNPAPIPluginInstance::VideoInfo*>& aVideos);
- already_AddRefed<mozilla::layers::ImageContainer> GetImageContainerForVideo(nsNPAPIPluginInstance::VideoInfo* aVideoInfo);
-
- void Invalidate();
- void Recomposite();
-
- void RequestFullScreen();
- void ExitFullScreen();
-
- // Called from nsAppShell when we removed the fullscreen view.
- static void ExitFullScreen(jobject view);
-#endif
-
void NotifyHostAsyncInitFailed();
void NotifyHostCreateWidget();
void NotifyDestroyPending();
@@ -306,16 +291,7 @@ private:
size == nsIntSize(mPluginWindow->width, mPluginWindow->height);
}
-#ifdef MOZ_WIDGET_ANDROID
- mozilla::LayoutDeviceRect GetPluginRect();
- bool AddPluginView(const mozilla::LayoutDeviceRect& aRect = mozilla::LayoutDeviceRect(0, 0, 0, 0));
- void RemovePluginView();
-
- bool mFullScreen;
- void* mJavaView;
-#endif
-
-#if defined(XP_WIN)
+#ifdef XP_WIN
nsIWidget* GetContainingWidgetIfOffset();
already_AddRefed<mozilla::TextComposition> GetTextComposition();
void HandleNoConsumedCompositionMessage(