Bug 1027474 Support "VideoModeNext" key value on GTK r=smaug+karlt
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 30 Dec 2014 10:47:56 +0900
changeset 249146 f2dbe9ace508676eb83b7de434fe94ce46f73b22
parent 249145 bf9c0ad8d4bb6bb4d1e8d6697479b71085675d0c
child 249147 d010d4c66c7f4751be57ae9cc96c9b5eb3153368
push id698
push userjlund@mozilla.com
push dateMon, 23 Mar 2015 22:08:11 +0000
treeherdermozilla-release@b0c0ae7b02a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1027474
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1027474 Support "VideoModeNext" key value on GTK r=smaug+karlt
dom/events/KeyNameList.h
widget/NativeKeyToDOMKeyName.h
--- a/dom/events/KeyNameList.h
+++ b/dom/events/KeyNameList.h
@@ -342,14 +342,14 @@ DEFINE_KEYNAME_WITH_SAME_NAME(Settings)
 // DEFINE_KEYNAME_WITH_SAME_NAME(SplitScreenToggle)
 DEFINE_KEYNAME_WITH_SAME_NAME(STBInput)
 DEFINE_KEYNAME_WITH_SAME_NAME(STBPower)
 DEFINE_KEYNAME_WITH_SAME_NAME(Subtitle)
 // DEFINE_KEYNAME_WITH_SAME_NAME(Teletext)
 DEFINE_KEYNAME_WITH_SAME_NAME(TV)
 DEFINE_KEYNAME_WITH_SAME_NAME(TVInput)
 DEFINE_KEYNAME_WITH_SAME_NAME(TVPower)
-// DEFINE_KEYNAME_WITH_SAME_NAME(VideoModeNext)
+DEFINE_KEYNAME_WITH_SAME_NAME(VideoModeNext)
 // DEFINE_KEYNAME_WITH_SAME_NAME(Wink)
 DEFINE_KEYNAME_WITH_SAME_NAME(ZoomToggle)
 
 #undef DEFINE_KEYNAME_WITH_SAME_NAME
 #undef DEFINE_KEYNAME_INTERNAL
--- a/widget/NativeKeyToDOMKeyName.h
+++ b/widget/NativeKeyToDOMKeyName.h
@@ -1227,16 +1227,19 @@ KEY_MAP_ANDROID (Subtitle, AKEYCODE_CAPT
 KEY_MAP_ANDROID (TV, AKEYCODE_TV)
 
 // TVInput
 KEY_MAP_ANDROID (TVInput, AKEYCODE_TV_INPUT)
 
 // TVPower
 KEY_MAP_ANDROID (TVPower, AKEYCODE_TV_POWER)
 
+// VideoModeNext
+KEY_MAP_GTK     (VideoModeNext, GDK_Next_VMode)
+
 // ZoomToggle
 KEY_MAP_WIN     (ZoomToggle, VK_ZOOM)
 KEY_MAP_QT      (ZoomToggle, Qt::Key_Zoom)
 
 #undef KEY_MAP_WIN
 #undef KEY_MAP_WIN_JPN
 #undef KEY_MAP_WIN_KOR
 #undef KEY_MAP_WIN_OTH