Bug 478038: Have secondary (arbitrary) zoom mechanism [r=gavin.sharp]
authorMark Finkle <mfinkle@mozilla.com>
Fri, 23 Oct 2009 09:11:17 -0400
changeset 65701 ab03ded470c23eda646a3215ed4033c6ab5a9b3a
parent 65700 270759dec1360e8a64d7b044327496560a811ad5
child 65702 1dbd7b0bed258eaeacc486ca3162fcb7013a5a82
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs478038
Bug 478038: Have secondary (arbitrary) zoom mechanism [r=gavin.sharp]
mobile/chrome/content/browser.xul
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -138,29 +138,31 @@
 #ifndef MOZ_PLATFORM_HILDON
     <key id="key_reload" keycode="VK_F5" command="cmd_reload"/>
 #else
     <!-- F5 on maemo is "home" which is a task switching key -->
 #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"/>
+    <key id="key_pageUp" keycode="VK_UP" modifiers="shift" command="cmd_scrollPageUp"/>
+    <key id="key_pageDown" keycode="VK_DOWN" modifiers="shift" command="cmd_scrollPageDown"/>
 
     <!-- misc -->
+    <key id="key_zoomin" keycode="VK_UP" modifiers="accel" command="cmd_zoomin"/>
+    <key id="key_zoomout" keycode="VK_DOWN" modifiers="accel" command="cmd_zoomout"/>
 #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"/>
+    <key id="key_zoomin2" keycode="VK_F7" command="cmd_zoomin"/>
+    <key id="key_zoomout2" 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_zoomin2" keycode="VK_F1" command="cmd_zoomin"/>
+    <key id="key_zoomout2" 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"/>
   </keyset>