Use #ifdef in a file to declare shortcut keys in dom/xbl/builtin instead of using ShortcutKeyDefinitions.cpp per platform
Categories
(Core :: DOM: UI Events & Focus Handling, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(15 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Because of the fix of bug 1419091, some shortcut keys (mainly for editor) are declared with array of C++ instead of XUL files. However, for making the review easier in the bug, platform specific shortcut keys are declared in separated ShortcutKeyDefinitions.cpp for each platform. Therefore, when I investigate shortcut keys, it's not unclear which shortcut key won't work in which platforms with synthesized key events, etc. So, I'd like to combine them into a C++ file and using #ifdefs to enable/disable some of them only on specific platforms.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Resetting assignee which I don't work on in this several months.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Making the following changes and future changes to the shortcut key definitions
safer, we should have a GTest for checking unexpected changes.
Assignee | ||
Comment 3•3 years ago
|
||
This will have shortcut keys definitions for the other platforms with #if
s.
Depends on D103982
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D103983
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D103984
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D103985
Assignee | ||
Comment 7•3 years ago
|
||
Depends on D103986
Assignee | ||
Comment 8•3 years ago
|
||
Then, we can delete duplicated entries in some platforms.
Depends on D103987
Assignee | ||
Comment 9•3 years ago
|
||
For making the definitions easier to read, same definition across platforms
should be merged. For doing it and making each change review easier, we should
same things for each key group.
Depends on D103988
Assignee | ||
Comment 10•3 years ago
|
||
Depends on D103989
Updated•3 years ago
|
Assignee | ||
Comment 11•3 years ago
|
||
Depends on D103990
Assignee | ||
Comment 12•3 years ago
|
||
Depends on D103991
Assignee | ||
Comment 13•3 years ago
|
||
Depends on D103992
Assignee | ||
Comment 14•3 years ago
|
||
Depends on D103993
Assignee | ||
Comment 15•3 years ago
|
||
Depends on D103994
Assignee | ||
Comment 16•3 years ago
|
||
Depends on D103995
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 17•3 years ago
|
||
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/332db3910c59 part 1: Add GTest for checking no unexpected changes in `ShortcutKeyDefinitions.cpp` r=edgar https://hg.mozilla.org/integration/autoland/rev/82fb047175b2 part 2: Move ShortcutKeyDefinitions.cpp for Windows to XP part r=edgar https://hg.mozilla.org/integration/autoland/rev/04ca138667bb part 3: Move ShortcutKeyDefinitions.cpp for Linux to the XP ShortcutKeyDefinitions.cpp r=edgar https://hg.mozilla.org/integration/autoland/rev/4da1a785ff65 part 4: Move ShortcutKeyDefinitions.cpp for Android to the XP ShortcutKeyDefinitions.cpp r=edgar https://hg.mozilla.org/integration/autoland/rev/57910e3df62a part 5: Move ShortcutKeyDefinitions.cpp for Emacs to the XP ShortcutKeyDefinitions.cpp r=edgar https://hg.mozilla.org/integration/autoland/rev/f85c65d972a3 part 6: Move ShortcutKeyDefinitions.cpp for macOS to the XP ShortcutKeyDefinitions.cpp r=edgar https://hg.mozilla.org/integration/autoland/rev/8673c1c954e6 part 7: Move all `ShortcutKeyDefinitionsFor*.h` into the XP `ShortcutKeyDefinitions.cpp` r=edgar https://hg.mozilla.org/integration/autoland/rev/84e422db7674 part 8: Group arrow key shortcut definitions r=edgar https://hg.mozilla.org/integration/autoland/rev/0b0a21b506b4 part 9: Group PageDown/PageUp key shortcut definitions r=edgar https://hg.mozilla.org/integration/autoland/rev/2c28bee095f9 part 10: Group Home/End key shortcut definitions r=edgar https://hg.mozilla.org/integration/autoland/rev/80eae543a485 part 11: Group Insert key shortcut definitions r=edgar https://hg.mozilla.org/integration/autoland/rev/d05f359fb25c part 12: Group Delete/Backspace key shortcut definitions r=edgar https://hg.mozilla.org/integration/autoland/rev/c5a9cd3aef19 part 13: Group Accel(-Shift)-C/X/V/Z key shortcut definitions r=edgar https://hg.mozilla.org/integration/autoland/rev/c5cd3697e6d8 part 14: Group space key shortcut definitions r=edgar https://hg.mozilla.org/integration/autoland/rev/7da855a143d6 part 15: Group the other shortcut definitions r=edgar
Comment 18•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/332db3910c59
https://hg.mozilla.org/mozilla-central/rev/82fb047175b2
https://hg.mozilla.org/mozilla-central/rev/04ca138667bb
https://hg.mozilla.org/mozilla-central/rev/4da1a785ff65
https://hg.mozilla.org/mozilla-central/rev/57910e3df62a
https://hg.mozilla.org/mozilla-central/rev/f85c65d972a3
https://hg.mozilla.org/mozilla-central/rev/8673c1c954e6
https://hg.mozilla.org/mozilla-central/rev/84e422db7674
https://hg.mozilla.org/mozilla-central/rev/0b0a21b506b4
https://hg.mozilla.org/mozilla-central/rev/2c28bee095f9
https://hg.mozilla.org/mozilla-central/rev/80eae543a485
https://hg.mozilla.org/mozilla-central/rev/d05f359fb25c
https://hg.mozilla.org/mozilla-central/rev/c5a9cd3aef19
https://hg.mozilla.org/mozilla-central/rev/c5cd3697e6d8
https://hg.mozilla.org/mozilla-central/rev/7da855a143d6
Description
•