Bug 900374 Rename 'Menu' key value to 'ContextMenu' r=smaug

This commit is contained in:
Masayuki Nakano 2014-12-30 10:47:53 +09:00
parent 30b2a5794b
commit 56f6a215f4
2 changed files with 7 additions and 7 deletions

View File

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

View File

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