diff --git a/dom/events/KeyNameList.h b/dom/events/KeyNameList.h index 2cb688ac6dae..cff9bcda5598 100644 --- a/dom/events/KeyNameList.h +++ b/dom/events/KeyNameList.h @@ -91,7 +91,7 @@ DEFINE_KEYNAME_WITH_SAME_NAME(Accept) // DEFINE_KEYNAME_WITH_SAME_NAME(Again) DEFINE_KEYNAME_WITH_SAME_NAME(Attn) DEFINE_KEYNAME_WITH_SAME_NAME(Cancel) -DEFINE_KEYNAME_WITH_SAME_NAME(Menu) // Rename to ContextMenu +DEFINE_KEYNAME_WITH_SAME_NAME(ContextMenu) DEFINE_KEYNAME_WITH_SAME_NAME(Esc) // Rename to Escape DEFINE_KEYNAME_WITH_SAME_NAME(Execute) DEFINE_KEYNAME_WITH_SAME_NAME(Find) diff --git a/widget/NativeKeyToDOMKeyName.h b/widget/NativeKeyToDOMKeyName.h index 5ddf5ffab8b0..f6cde43cae91 100644 --- a/widget/NativeKeyToDOMKeyName.h +++ b/widget/NativeKeyToDOMKeyName.h @@ -338,12 +338,12 @@ KEY_MAP_WIN (Cancel, VK_CANCEL) KEY_MAP_GTK (Cancel, GDK_Cancel) KEY_MAP_QT (Cancel, Qt::Key_Cancel) -// Menu -KEY_MAP_WIN (Menu, VK_APPS) -KEY_MAP_COCOA (Menu, kVK_PC_ContextMenu) -KEY_MAP_GTK (Menu, GDK_Menu) -KEY_MAP_QT (Menu, Qt::Key_Menu) -KEY_MAP_ANDROID (Menu, AKEYCODE_MENU) +// ContextMenu +KEY_MAP_WIN (ContextMenu, VK_APPS) +KEY_MAP_COCOA (ContextMenu, kVK_PC_ContextMenu) +KEY_MAP_GTK (ContextMenu, GDK_Menu) +KEY_MAP_QT (ContextMenu, Qt::Key_Menu) +KEY_MAP_ANDROID (ContextMenu, AKEYCODE_MENU) // Esc KEY_MAP_WIN (Esc, VK_ESCAPE)