Bug 1020142 Comment out unused .code value definition for reducing footprint of code name array r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Thu, 05 Jun 2014 02:47:30 +0900
changeset 206959 a82637fc77c9cab4bbef29c1e924e913874a3a37
parent 206958 31bc555dbc9e38cf96edd7b156fb174ec9f091c3
child 206960 39e24f12b36b223612e5395ef98e1e4b3feeaccf
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1020142
milestone32.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 1020142 Comment out unused .code value definition for reducing footprint of code name array r=smaug
dom/events/PhysicalKeyCodeNameList.h
--- a/dom/events/PhysicalKeyCodeNameList.h
+++ b/dom/events/PhysicalKeyCodeNameList.h
@@ -37,17 +37,17 @@ DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Digit4)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Digit5)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Digit6)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Digit7)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Digit8)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Digit9)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Equal)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(IntlBackslash)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(IntlHash)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(IntlHash)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(IntlRo)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(IntlYen)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(KeyA)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(KeyB)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(KeyC)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(KeyD)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(KeyE)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(KeyF)
@@ -92,19 +92,19 @@ DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Space)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Tab)
 
 // IME keys
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Convert)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(KanaMode)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Lang1)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Lang2)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Lang3)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Lang4)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Lang5)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Lang3)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Lang4)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Lang5)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NonConvert)
 
 // Control pad section
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Delete)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(End)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Help)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Home)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Insert)
@@ -126,31 +126,31 @@ DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Numpad4)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Numpad5)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Numpad6)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Numpad7)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Numpad8)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Numpad9)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadAdd)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadBackspace)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadClear)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadClearEntry)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadClear)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadClearEntry)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadComma)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadDecimal)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadDivide)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadEnter)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadEqual)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemoryAdd)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemoryClear)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemoryRecall)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemoryStore)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemoryAdd)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemoryClear)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemoryRecall)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemoryStore)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMemorySubtract)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadMultiply)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadParenLeft)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadParenRight)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadParenLeft)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadParenRight)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(NumpadSubtract)
 
 // Function section
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Escape)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F1)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F2)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F3)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F4)
@@ -170,17 +170,17 @@ DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F18)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F19)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F20)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F21)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F22)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F23)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(F24)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Fn)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(FLock)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(FLock)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(PrintScreen)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(ScrollLock)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Pause)
 
 // Media keys
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(BrowserBack)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(BrowserFavorites)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(BrowserForward)
@@ -200,18 +200,17 @@ DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Power)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Sleep)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(VolumeDown)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(VolumeMute)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(VolumeUp)
 DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(WakeUp)
 
 // Legacy keys
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Abort)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Hyper)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Meta)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Resume)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Super)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Suspend)
-DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Turbo)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Abort)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Hyper)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Resume)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Super)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Suspend)
+// DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME(Turbo)
 
 #undef DEFINE_PHYSICAL_KEY_CODE_NAME_WITH_SAME_NAME
 #undef NS_DEFINE_PHYSICAL_KEY_CODE_NAME_INTERNAL