Bug 1027477 Don't map "Exit" key value to HOME button of smartphones r=mwu+nchen+smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 30 Dec 2014 10:47:56 +0900
changeset 221636 d010d4c66c7f4751be57ae9cc96c9b5eb3153368
parent 221635 f2dbe9ace508676eb83b7de434fe94ce46f73b22
child 221637 facf85b61c3762f32212d7fab840071bba1df184
push id10617
push userkwierso@gmail.com
push dateWed, 31 Dec 2014 00:06:35 +0000
treeherderfx-team@edccc126caae [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmwu
bugs1027477
milestone37.0a1
Bug 1027477 Don't map "Exit" key value to HOME button of smartphones r=mwu+nchen+smaug
dom/events/KeyNameList.h
widget/NativeKeyToDOMKeyName.h
--- a/dom/events/KeyNameList.h
+++ b/dom/events/KeyNameList.h
@@ -287,17 +287,17 @@ DEFINE_KEYNAME_WITH_SAME_NAME(ColorF0Red
 DEFINE_KEYNAME_WITH_SAME_NAME(ColorF1Green)
 DEFINE_KEYNAME_WITH_SAME_NAME(ColorF2Yellow)
 DEFINE_KEYNAME_WITH_SAME_NAME(ColorF3Blue)
 // DEFINE_KEYNAME_WITH_SAME_NAME(ColorF4Grey)
 // DEFINE_KEYNAME_WITH_SAME_NAME(ColorF5Brown)
 // DEFINE_KEYNAME_WITH_SAME_NAME(ClosedCaptionToggle)
 DEFINE_KEYNAME_WITH_SAME_NAME(Dimmer)
 // DEFINE_KEYNAME_WITH_SAME_NAME(DisplaySwap)
-DEFINE_KEYNAME_WITH_SAME_NAME(Exit)
+// DEFINE_KEYNAME_WITH_SAME_NAME(Exit)
 // DEFINE_KEYNAME_WITH_SAME_NAME(FavoriteClear0)
 // DEFINE_KEYNAME_WITH_SAME_NAME(FavoriteClear1)
 // DEFINE_KEYNAME_WITH_SAME_NAME(FavoriteClear2)
 // DEFINE_KEYNAME_WITH_SAME_NAME(FavoriteClear3)
 // DEFINE_KEYNAME_WITH_SAME_NAME(FavoriteRecall0)
 // DEFINE_KEYNAME_WITH_SAME_NAME(FavoriteRecall1)
 // DEFINE_KEYNAME_WITH_SAME_NAME(FavoriteRecall2)
 // DEFINE_KEYNAME_WITH_SAME_NAME(FavoriteRecall3)
--- a/widget/NativeKeyToDOMKeyName.h
+++ b/widget/NativeKeyToDOMKeyName.h
@@ -1161,19 +1161,16 @@ KEY_MAP_ANDROID (ColorF2Yellow, AKEYCODE
 KEY_MAP_GTK     (ColorF3Blue, GDK_Blue)
 KEY_MAP_QT      (ColorF3Blue, Qt::Key_Blue)
 KEY_MAP_ANDROID (ColorF3Blue, AKEYCODE_PROG_BLUE)
 
 // Dimmer
 KEY_MAP_GTK     (Dimmer, GDK_BrightnessAdjust)
 KEY_MAP_QT      (Dimmer, Qt::Key_BrightnessAdjust)
 
-// Exit
-KEY_MAP_ANDROID (Exit, AKEYCODE_HOME)
-
 // Guide
 KEY_MAP_ANDROID (Guide, AKEYCODE_GUIDE)
 
 // Info
 KEY_MAP_ANDROID (Info, AKEYCODE_INFO)
 
 // MediaFastForward
 KEY_MAP_QT      (MediaFastForward, Qt::Key_AudioForward)