mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1154182 - enable native keybindings for graphene. r=billm
This commit is contained in:
parent
e49aae4ae4
commit
50ce0ca7b4
@ -500,9 +500,9 @@ PuppetWidget::ExecuteNativeKeyBinding(NativeKeyBindingsType aType,
|
||||
void* aCallbackData)
|
||||
{
|
||||
// B2G doesn't have native key bindings.
|
||||
#ifdef MOZ_B2G
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
return false;
|
||||
#else // #ifdef MOZ_B2G
|
||||
#else // #ifdef MOZ_WIDGET_GONK
|
||||
MOZ_ASSERT(mNativeKeyCommandsValid);
|
||||
|
||||
nsTArray<mozilla::CommandInt>& commands = mSingleLineCommands;
|
||||
|
@ -17,7 +17,7 @@
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::widget;
|
||||
|
||||
#ifndef MOZ_B2G
|
||||
#ifndef MOZ_WIDGET_GONK
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsClipboardProxy)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsColorPickerProxy)
|
||||
@ -66,4 +66,4 @@ static const mozilla::Module kWidgetModule = {
|
||||
|
||||
NSMODULE_DEFN(nsContentProcessWidgetModule) = &kWidgetModule;
|
||||
|
||||
#endif /* MOZ_B2G */
|
||||
#endif /* MOZ_WIDGET_GONK */
|
||||
|
Loading…
Reference in New Issue
Block a user