r=mkaply, a=blizzard
OS/2 missing platform specific navigation bindings stuff
This commit is contained in:
mkaply%us.ibm.com 2000-11-15 14:59:17 +00:00
parent 684ef11aeb
commit 9609963103
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,2 @@
Makefile

View File

@ -0,0 +1,37 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
CHROME_DIR=packages/core
CHROME_CONTENT_DIR=navigator/content
CHROME_CONTENT = \
platformNavigationBindings.xul \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -0,0 +1,2 @@
comm.jar:
content/navigator/platformNavigationBindings.xul

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<overlay id="platformNavigationBindings"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="keyset">
<!-- back and forward accelerators on Windows, strangely enough, are
Alt+Left arrow and Alt+Right arrow. -->
<key id="goBackKb" keycode="VK_LEFT" observes="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="VK_RIGHT" observes="Browser:Forward" modifiers="alt"/>
<!-- Supporting IE forward and back accelerators out of courtesy
to transitioning IE users -->
<key id="goBackKbIE" keycode="VK_BACK" observes="Browser:Back"/>
<key id="goForwardKbIE" keycode="VK_BACK" observes="Browser:Forward" modifiers="shift"/>
<!-- Supporting IE 'refresh' shortcut key -->
<key id="reloadIE" keycode="VK_F5" observes="canReload"/>
</keyset>
</overlay>