Bug 507000: Hardware Key mapping for volume Up/Down getting overridden (wince) [r=mark.finkle]
authorkantha kanchiraju <kkanchir@sta.samsung.com>
Tue, 28 Jul 2009 19:55:53 -0400
changeset 65338 e9024a6c60c2c5e84a7537f3655928621aa656e8
parent 65337 fd439365e3848afdece4419e6b77e225004e3b3d
child 65339 955e7b0b5f9496f696b25607ad0fefab43f19596
push idunknown
push userunknown
push dateunknown
reviewersmark.finkle
bugs507000
Bug 507000: Hardware Key mapping for volume Up/Down getting overridden (wince) [r=mark.finkle]
mobile/chrome/content/browser.xul
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -145,21 +145,27 @@
 #endif
     <key id="key_focusURL" key="l" modifiers="accel" command="cmd_openLocation"/>
 
     <!-- scrolling -->
     <key id="key_pageUp" keycode="VK_UP" command="cmd_scrollPageUp" modifiers="shift"/>
     <key id="key_pageDown" keycode="VK_DOWN" command="cmd_scrollPageDown" modifiers="shift"/>
 
     <!-- misc -->
+#ifndef WINCE
     <key id="key_quit" key="q" modifiers="accel" command="cmd_quit"/>
     <key id="key_menu" keycode="VK_F4" command="cmd_menu"/>
     <key id="key_fullscreen" keycode="VK_F6" command="cmd_fullscreen"/>
     <key id="key_zoomin" keycode="VK_F7" command="cmd_zoomin"/>
     <key id="key_zoomout" keycode="VK_F8" command="cmd_zoomout"/>
+#else
+    <key id="key_zoomin" keycode="VK_F1" command="cmd_zoomin"/>
+    <key id="key_zoomout" keycode="VK_F2" command="cmd_zoomout"/>
+    <key id="key_quit" keycode="VK_F4" command="cmd_quit"/>
+#endif
 
     <!-- tabs -->
     <key id="key_newTab" key="t" modifiers="accel" command="cmd_newTab"/>
     <key id="key_closeTab" key="w" modifiers="accel" command="cmd_closeTab"/>
 
     <!-- find -->
     <key id="key_find" key="&findOnCmd.commandkey;" command="cmd_find" modifiers="accel"/>
     <key id="key_findAgain" key="&findAgainCmd.commandkey;" command="cmd_findAgain" modifiers="accel"/>