diff options
Diffstat (limited to 'dom/events/ShortcutKeyDefinitionsForBrowserCommon.h')
-rw-r--r-- | dom/events/ShortcutKeyDefinitionsForBrowserCommon.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/events/ShortcutKeyDefinitionsForBrowserCommon.h b/dom/events/ShortcutKeyDefinitionsForBrowserCommon.h new file mode 100644 index 0000000000..7b2e5dab3d --- /dev/null +++ b/dom/events/ShortcutKeyDefinitionsForBrowserCommon.h @@ -0,0 +1,16 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +{u"keypress", nullptr, u" ", u"shift", u"cmd_scrollPageUp"}, + {u"keypress", nullptr, u" ", nullptr, u"cmd_scrollPageDown"}, + {u"keypress", u"VK_UP", nullptr, nullptr, u"cmd_moveUp"}, + {u"keypress", u"VK_DOWN", nullptr, nullptr, u"cmd_moveDown"}, + {u"keypress", u"VK_LEFT", nullptr, nullptr, u"cmd_moveLeft"}, + {u"keypress", u"VK_RIGHT", nullptr, nullptr, u"cmd_moveRight"}, + {u"keypress", nullptr, u"x", u"accel", u"cmd_cut"}, + {u"keypress", nullptr, u"c", u"accel", u"cmd_copy"}, + {u"keypress", nullptr, u"v", u"accel", u"cmd_paste"}, + {u"keypress", nullptr, u"z", u"accel", u"cmd_undo"}, + {u"keypress", nullptr, u"z", u"accel,shift", u"cmd_redo"}, + {u"keypress", nullptr, u"a", u"accel", u"cmd_selectAll"}, |