Bug 912860 Rename 'Zoom' key value to 'ZoomToggle' r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 30 Dec 2014 10:47:53 +0900
changeset 249128 f2e8c554b395e2346e8dde4115bb66f1b693bff0
parent 249127 f9e3557d56f88865a9ac2eba1ec561a6f49929aa
child 249129 607e30d0189fbda4ad403e6917fff6c7b72d4ab2
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
bugs912860
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 912860 Rename 'Zoom' key value to 'ZoomToggle' r=smaug
dom/events/KeyNameList.h
widget/NativeKeyToDOMKeyName.h
--- a/dom/events/KeyNameList.h
+++ b/dom/events/KeyNameList.h
@@ -344,17 +344,17 @@ DEFINE_KEYNAME_WITH_SAME_NAME(Settings)
 // 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(Wink)
-DEFINE_KEYNAME_WITH_SAME_NAME(Zoom) // Rename to ZoomToggle
+DEFINE_KEYNAME_WITH_SAME_NAME(ZoomToggle)
 
 /******************************************************************************
  * Deprecated
  ******************************************************************************/
 DEFINE_KEYNAME_WITH_SAME_NAME(DeadGrave)
 DEFINE_KEYNAME_WITH_SAME_NAME(DeadAcute)
 DEFINE_KEYNAME_WITH_SAME_NAME(DeadCircumflex)
 DEFINE_KEYNAME_WITH_SAME_NAME(DeadTilde)
--- a/widget/NativeKeyToDOMKeyName.h
+++ b/widget/NativeKeyToDOMKeyName.h
@@ -988,22 +988,22 @@ KEY_MAP_QT      (RandomToggle, Qt::Key_A
 // Settings
 KEY_MAP_ANDROID (Settings, AKEYCODE_SETTINGS)
 
 // Subtitle
 KEY_MAP_GTK     (Subtitle, GDK_Subtitle)
 KEY_MAP_QT      (Subtitle, Qt::Key_Subtitle)
 KEY_MAP_ANDROID (Subtitle, AKEYCODE_CAPTIONS)
 
-// Zoom
-KEY_MAP_WIN     (Zoom, VK_ZOOM)
-KEY_MAP_QT      (Zoom, Qt::Key_Zoom)
+// ZoomToggle
+KEY_MAP_WIN     (ZoomToggle, VK_ZOOM)
+KEY_MAP_QT      (ZoomToggle, Qt::Key_Zoom)
 
 /******************************************************************************
- * Deplicated
+ * Deprecated
  ******************************************************************************/
 // DeadGrave
 KEY_MAP_GTK     (DeadGrave, GDK_dead_grave)
 KEY_MAP_QT      (DeadGrave, Qt::Key_Dead_Grave)
 
 // DeadAcute
 KEY_MAP_GTK     (DeadAcute, GDK_dead_acute)
 KEY_MAP_QT      (DeadAcute, Qt::Key_Dead_Acute)