зеркало из https://github.com/mozilla/gecko-dev.git
Fix back/forward navigation keys, bug=75232, author=Sairuh <siaruh@netscape.com>, r=jag, sr=ben
This commit is contained in:
Родитель
9781d51e70
Коммит
9c14254453
|
@ -5,10 +5,10 @@
|
||||||
|
|
||||||
<keyset id="navigationKeys">
|
<keyset id="navigationKeys">
|
||||||
<!-- proper arrow key navigation, 4.xP -->
|
<!-- proper arrow key navigation, 4.xP -->
|
||||||
<key id="goBackKb" keycode="VK_LEFT" observes="canGoBack" modifiers="accel"/>
|
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="accel"/>
|
||||||
<key id="goForwardKb" keycode="VK_RIGHT" observes="canGoForward" modifiers="accel"/>
|
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="accel"/>
|
||||||
<key key="[" observes="canGoBack" modifiers="accel"/>
|
<key key="[" command="Browser:Back" modifiers="accel"/>
|
||||||
<key key="]" observes="canGoForward" modifiers="accel"/>
|
<key key="]" command="Browser:Forward" modifiers="accel"/>
|
||||||
<key key="." oncommand="BrowserStop();" modifiers="accel"/>
|
<key key="." oncommand="BrowserStop();" modifiers="accel"/>
|
||||||
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="meta"/>
|
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="meta"/>
|
||||||
</keyset>
|
</keyset>
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
<keyset id="navigationKeys">
|
<keyset id="navigationKeys">
|
||||||
<!-- proper arrow key navigation, 4.xP -->
|
<!-- proper arrow key navigation, 4.xP -->
|
||||||
<key id="goBackKb" keycode="VK_LEFT" observes="canGoBack" modifiers="alt"/>
|
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
|
||||||
<key id="goForwardKb" keycode="VK_RIGHT" observes="canGoForward" modifiers="alt"/>
|
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
|
||||||
|
|
||||||
<!-- Some people apparently use this combination too on Unix...
|
<!-- Some people apparently use this combination too on Unix...
|
||||||
we live and learn. -->
|
we live and learn. -->
|
||||||
<key key="&goBackCmd.commandKey;" observes="canGoBack" modifiers="accel"/>
|
<key key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
|
||||||
<key key="&goForwardCmd.commandKey;" observes="canGoForward" modifiers="accel"/>
|
<key key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>
|
||||||
|
|
||||||
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
|
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
|
||||||
</keyset>
|
</keyset>
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
<keyset id="navigationKeys">
|
<keyset id="navigationKeys">
|
||||||
<!-- back and forward accelerators on Windows, strangely enough, are
|
<!-- back and forward accelerators on Windows, strangely enough, are
|
||||||
Alt+Left arrow and Alt+Right arrow. -->
|
Alt+Left arrow and Alt+Right arrow. -->
|
||||||
<key id="goBackKb" keycode="VK_LEFT" observes="canGoBack" modifiers="alt"/>
|
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
|
||||||
<key id="goForwardKb" keycode="VK_RIGHT" observes="canGoForward" modifiers="alt"/>
|
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
|
||||||
|
|
||||||
<!-- Supporting IE forward and back accelerators out of courtesy
|
<!-- Supporting IE forward and back accelerators out of courtesy
|
||||||
to transitioning IE users -->
|
to transitioning IE users -->
|
||||||
<key keycode="VK_BACK" observes="canGoBack"/>
|
<key keycode="VK_BACK" command="Browser:Back"/>
|
||||||
<key keycode="VK_BACK" observes="canGoForward" modifiers="shift"/>
|
<key keycode="VK_BACK" command="Browser:Forward" modifiers="shift"/>
|
||||||
|
|
||||||
<!-- Supporting IE 'refresh' shortcut key -->
|
<!-- Supporting IE 'refresh' shortcut key -->
|
||||||
<key keycode="VK_F5" oncommand="BrowserReload();"/>
|
<key keycode="VK_F5" oncommand="BrowserReload();"/>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче