|
Move SetCursorLocation bypass code.
Current Chrome does not emit SetCursorLocation message to ibus-daemon because both candidate window and input context is in same process.
It was achieved by injecting IBusClient into ui::InputMethodIBus, but we are now able to bypass them only in chromeos/ directory.
With this refactoring, we can remove ui::internal::IBusClient, IBusChromeOSClientImpl and their injection code.
The concept of this refactoring is...
1) ui::InputMethodIBus should communicate with only chromeos::IBus*.
Do not bypass chromeos::IBus* even if bypassing ibus-daemon.
2) chrome/browser/chromeos/input_method should communicate with only chromeos::IBus*
current code handles SetCursorLocation as special case, but I think it shouldn't consider where the event is come from.
Such special logic should be in chromeos/.
With this patch, we can remove IBusUiController.
BUG=None
TEST=Manually done on lumpy.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179644
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+69 lines, -195 lines) |
Patch |
 |
M |
chrome/browser/chromeos/input_method/candidate_window_controller_impl.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
|
View
|
1
2
3
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/input_method/ibus_ui_controller.h
|
View
|
|
3 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/input_method/ibus_ui_controller.cc
|
View
|
|
3 chunks |
+7 lines, -62 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/input_method/input_method_manager_impl.cc
|
View
|
|
4 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/ibus/ibus_panel_service.h
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/ibus/ibus_panel_service.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/ibus/mock_ibus_input_context_client.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/ibus/mock_ibus_input_context_client.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
D |
ui/base/ime/ibus_client.h
|
View
|
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
 |
D |
ui/base/ime/ibus_client.cc
|
View
|
1
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/ime.gypi
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_ibus.h
|
View
|
1
|
3 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_ibus.cc
|
View
|
1
2
3
|
6 chunks |
+11 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_ibus_unittest.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|