suite/common/mac/platformBrowserBindings.xul
author Ian Neal <iann_cvs@blueyonder.co.uk>
Tue, 22 Feb 2011 21:58:09 +0000
changeset 7206 68e7befc812c2c1e5d61775eabc15577c9ca310b
parent 2428 40efa12a940f56403bb35146cafea617d7375da9
permissions -rw-r--r--
Bug 635619 - Mac platformBrowserBindings has incorrect keyset id r=stefanh

<?xml version="1.0"?> 
<!-- mac version of platformBrowserBindings.xul -->

<keybinding id="platformBrowserBindings"
	 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<!-- Mac-specific key bindings -->
<keyset id="globalKeySet">

<!-- Mac bindings for home and end -->
<key id="macHomekb" keycode="VK_HOME"   
   oncommand="
     var controller = document.commandDispatcher.getControllerForCommand('cmd_scrollTop');
     controller.doCommand('cmd_scrollTop');"/>
<key id="macEndkb" keycode="VK_END"   
   oncommand="
     var controller = document.commandDispatcher.getControllerForCommand('cmd_scrollBottom');
     controller.doCommand('cmd_scrollBottom');"/>

</keyset>
<!-- End Mac-specific key bindings -->

</keybinding>