зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1661450 - Copy NPAPI related definitions from Android for Wayland r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D88799
This commit is contained in:
Родитель
170ce998f6
Коммит
4684b3be1b
|
@ -1247,7 +1247,7 @@ mozilla::ipc::IPCResult PluginInstanceChild::AnswerNPP_SetWindow(
|
|||
|
||||
#elif defined(ANDROID)
|
||||
// TODO: Need Android impl
|
||||
#elif defined(MOZ_WIDGET_UIKIT)
|
||||
#elif defined(MOZ_WIDGET_UIKIT) || defined(MOZ_WAYLAND)
|
||||
// Don't care
|
||||
#else
|
||||
# error Implement me for your OS
|
||||
|
|
|
@ -230,8 +230,8 @@ PluginInstanceParent::AnswerNPN_GetValue_NPNVnetscapeWindow(
|
|||
XID id;
|
||||
#elif defined(XP_DARWIN)
|
||||
intptr_t id;
|
||||
#elif defined(ANDROID)
|
||||
// TODO: Need Android impl
|
||||
#elif defined(ANDROID) || defined(MOZ_WAYLAND)
|
||||
// TODO: Need impl
|
||||
int id;
|
||||
#else
|
||||
# warning Implement me
|
||||
|
|
|
@ -115,7 +115,7 @@ struct NPAudioDeviceStateChangedIPC {
|
|||
typedef HWND NativeWindowHandle;
|
||||
#elif defined(MOZ_X11)
|
||||
typedef XID NativeWindowHandle;
|
||||
#elif defined(XP_DARWIN) || defined(ANDROID)
|
||||
#elif defined(XP_DARWIN) || defined(ANDROID) || defined(MOZ_WAYLAND)
|
||||
typedef intptr_t NativeWindowHandle; // never actually used, will always be 0
|
||||
#else
|
||||
# error Need NativeWindowHandle for this platform
|
||||
|
|
Загрузка…
Ссылка в новой задаче