Bug 1154182 - enable native keybindings for graphene. r=billm

This commit is contained in:
Paul Rouget 2015-04-15 21:17:00 +02:00
parent e49aae4ae4
commit 50ce0ca7b4
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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 */