|
Revise ui::DomKey to unify character and non-character codes.
DomKey becomes a single integer value corresponding to the DOM
UI Events KeyboardEvent.key string; it can represent either a
Unicode code point or one of the defined non-printable values from
< https://w3c.github.io/DOM-Level-3-Events-key/>.
In the previous representation, ui::DomKey enumerated only the non-
printable values and had a sentinel to indicated that a character value
was held separately. Much of this CL therefore merely replaces
|key, character| pairs with a single |key| value. The most substantial
changes are to
ui/events/keycodes/dom/dom_key.h
ui/events/keycodes/dom/keycode_converter.h
ui/events/event.h
and associated implementations.
BUG= 227231
Committed: https://crrev.com/51d2e327f7a4ff8347867713e098ea81fd601df7
Cr-Commit-Position: refs/heads/master@{#346152}
Total comments: 44
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1778 lines, -2650 lines) |
Patch |
|
M |
chrome/browser/chromeos/events/event_rewriter.h
|
View
|
1
2
3
4
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/events/event_rewriter.cc
|
View
|
1
2
3
4
|
13 chunks |
+90 lines, -206 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/events/event_rewriter_unittest.cc
|
View
|
1
2
3
4
|
54 chunks |
+748 lines, -1543 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/input_method/input_method_engine.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/chromedriver/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/chromedriver/keycode_text_conversion_ozone.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/web_input_event_aura_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/base/ime/chromeos/character_composer.h
|
View
|
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
ui/base/ime/chromeos/character_composer.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
|
M |
ui/base/ime/chromeos/character_composer_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/event.h
|
View
|
1
2
3
4
5
6
|
10 chunks |
+41 lines, -49 lines |
0 comments
|
Download
|
|
M |
ui/events/event.cc
|
View
|
1
2
3
4
5
6
|
12 chunks |
+24 lines, -46 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/dom/dom_key.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+143 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/dom/dom_key_data.inc
|
View
|
1
2
3
|
6 chunks |
+22 lines, -18 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/dom/keycode_converter.h
|
View
|
1
2
3
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/dom/keycode_converter.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+44 lines, -8 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/dom/keycode_converter_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+57 lines, -7 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/dom_us_layout_data.h
|
View
|
1
2
3
4
|
7 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/keyboard_code_conversion.h
|
View
|
|
4 chunks |
+7 lines, -16 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/keyboard_code_conversion.cc
|
View
|
1
2
3
4
|
10 chunks |
+163 lines, -243 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/keyboard_code_conversion_unittest.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+269 lines, -275 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/keyboard_code_conversion_x.h
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/keyboard_code_conversion_x.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/keyboard_code_conversion_xkb.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/keycodes/keyboard_code_conversion_xkb.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+76 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/evdev/keyboard_evdev.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/events_ozone.gyp
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/keyboard_layout_engine.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/layout_util.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/no/no_keyboard_layout_engine.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/no/no_keyboard_layout_engine.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
D |
ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.h
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
|
D |
ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
|
View
|
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+16 lines, -23 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
ui/keyboard/keyboard_util.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
Total messages: 54 (15 generated)
|