mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
parent
b586913598
commit
2531de02eb
85 changed files with 68 additions and 1357 deletions
|
|
@ -379,7 +379,7 @@ NS_EVENT_MESSAGE(eDeviceMotion)
|
|||
NS_EVENT_MESSAGE(eDeviceProximity)
|
||||
NS_EVENT_MESSAGE(eUserProximity)
|
||||
NS_EVENT_MESSAGE(eDeviceLight)
|
||||
#if defined(MOZ_WIDGET_ANDROID) || defined(MOZ_WIDGET_GONK)
|
||||
#if defined(MOZ_WIDGET_ANDROID)
|
||||
NS_EVENT_MESSAGE(eOrientationChange)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -541,10 +541,6 @@ PuppetWidget::ExecuteNativeKeyBinding(NativeKeyBindingsType aType,
|
|||
DoCommandCallback aCallback,
|
||||
void* aCallbackData)
|
||||
{
|
||||
// B2G doesn't have native key bindings.
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
return false;
|
||||
#else // #ifdef MOZ_WIDGET_GONK
|
||||
AutoCacheNativeKeyCommands autoCache(this);
|
||||
if (!aEvent.mWidget && !mNativeKeyCommandsValid) {
|
||||
MOZ_ASSERT(!aEvent.mFlags.mIsSynthesizedForTests);
|
||||
|
|
@ -581,7 +577,6 @@ PuppetWidget::ExecuteNativeKeyBinding(NativeKeyBindingsType aType,
|
|||
aCallback(static_cast<mozilla::Command>((*commands)[i]), aCallbackData);
|
||||
}
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
LayerManager*
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@
|
|||
using namespace mozilla;
|
||||
using namespace mozilla::widget;
|
||||
|
||||
#ifndef MOZ_WIDGET_GONK
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsClipboardProxy)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsColorPickerProxy)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDragServiceProxy)
|
||||
|
|
@ -68,4 +66,3 @@ static const mozilla::Module kWidgetModule = {
|
|||
|
||||
NSMODULE_DEFN(nsContentProcessWidgetModule) = &kWidgetModule;
|
||||
|
||||
#endif /* MOZ_WIDGET_GONK */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue