|
|
Make DispatchKeyEventPostIME() asynchronous.
This change:
- Adds an overloaded version of InputMethodDelegate::DispatchKeyEventPostIME()
with a callback option.
- Uses the async version of DispatchKeyEventPostIME() in InputMethodChromeOS.
- Adds ui.mojom.TextInputClient.DispatchKeyEventPostIME().
This is because DispatchKeyEventPostIME() isn't really *Post* IME, and calls
to it are sometimes intervened with the logic in InputMethodChromeOS to
provide KeyDown and KeyUp events in addition to KeyPress events to textfields.
This CL calls ui.mojom.TextInputClient.DispatchKeyEventPostIME() in these cases
and continues the logic after the dispatch finishes in the client side.
BUG= 723792
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+246 lines, -89 lines) |
Patch |
 |
M |
chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/ime_driver/remote_text_input_client.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/ime_driver/remote_text_input_client.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ime/ime_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/interfaces/ime/ime.mojom
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/input_method_mus.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/input_method_mus_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/mus/text_input_client_impl.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/mus/text_input_client_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_base.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_chromeos.h
|
View
|
1
2
|
2 chunks |
+27 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_chromeos.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+95 lines, -54 lines |
3 comments
|
Download
|
 |
M |
ui/base/ime/input_method_chromeos_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_delegate.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
1 comment
|
Download
|
 |
A |
ui/base/ime/input_method_delegate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
Total messages: 41 (33 generated)
|