|
Embed keyboard shortcut bit in WebKeyboardEvent
Before a WebKeyboardEvent is forwarded to the renderer, the content
embedder can tag it as a keyboard shortcut. This shortcut bit is passed
along with the input event to the renderer, allowing the renderer to
suppress follow-up Char events for unhandled RawKeyDown events that are
part of a keyboard shortcut.
However, passing around this keyboard shortcut bit separately is awkward
and pollutes a number of input-related methods. Instead, just embed the
shortcut bit directly in the WebKeyboardEvent.
BUG= 302492
Committed: https://crrev.com/0cf1e6644924c89bc2fcb288f45e59cf2612c63c
Cr-Commit-Position: refs/heads/master@{#354384}
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+151 lines, -133 lines) |
Patch |
 |
M |
content/browser/renderer_host/input/input_router.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl.h
|
View
|
|
3 chunks |
+5 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl.cc
|
View
|
|
7 chunks |
+13 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl_unittest.cc
|
View
|
1
|
6 chunks |
+7 lines, -25 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/mock_input_router_client.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_unittest.cc
|
View
|
1
2
|
8 chunks |
+80 lines, -23 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/input/input_event.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/input/input_event.cc
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/input/input_param_traits_unittest.cc
|
View
|
1
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/input_messages.h
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/public/test/render_view_test.cc
|
View
|
1
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/idle_user_detector.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/idle_user_detector.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/input/input_event_filter.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/input/input_event_filter_unittest.cc
|
View
|
1
|
3 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebInputEvent.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (5 generated)
|