Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Issue 1236923003: Makes DesktopWindowTreeHostXxx to dispatch key event to InputMethod. (Closed)

Created:
5 years, 5 months ago by Shu Chen
Modified:
5 years, 5 months ago
Reviewers:
oshima, James Su, sadrul
CC:
chromium-reviews, kalyank, tdanderson+views_chromium.org, sadrul, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes DesktopWindowTreeHostXxx to dispatch key event to InputMethod. 1) AshWindowTreeHostXxx doesn't need to override the DeliverEventToProcessor(). 2) EventSource::DeliverEventToProcessor can be back as private method. BUG=474828 TEST=Verified no regression on win/linux/cros. Trybots green. Committed: https://crrev.com/2bfd5db6be15a4951e6cfa337b7c7040154a43d2 Cr-Commit-Position: refs/heads/master@{#340019}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : support dispatch event with input method in TestGenerator. #

Patch Set 6 : revert previous patchset. #

Patch Set 7 : addressed comments. #

Total comments: 2

Patch Set 8 : add TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -82 lines) Patch
M ash/host/ash_remote_window_tree_host_win.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ash/host/ash_remote_window_tree_host_win.cc View 1 2 3 4 5 6 2 chunks +5 lines, -6 lines 0 comments Download
M ash/host/ash_window_tree_host_ozone.cc View 1 2 3 4 5 6 3 chunks +5 lines, -6 lines 0 comments Download
M ash/host/ash_window_tree_host_unified.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ash/host/ash_window_tree_host_unified.cc View 1 2 3 4 5 6 1 chunk +4 lines, -6 lines 0 comments Download
M ash/host/ash_window_tree_host_win.cc View 1 2 3 4 5 6 2 chunks +5 lines, -6 lines 0 comments Download
M ash/host/ash_window_tree_host_x11.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ash/host/ash_window_tree_host_x11.cc View 1 2 3 4 5 6 1 chunk +4 lines, -6 lines 0 comments Download
M ui/aura/window_tree_host.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/aura/window_tree_host.cc View 1 2 chunks +1 line, -14 lines 0 comments Download
M ui/events/event_source.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/controls/textfield/textfield_unittest.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -6 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.h View 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 chunk +3 lines, -9 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 5 chunks +9 lines, -3 lines 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/win/hwnd_message_handler_delegate.h View 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 35 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236923003/20001
5 years, 5 months ago (2015-07-15 09:39:44 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/78521) (exceeded global ...
5 years, 5 months ago (2015-07-15 10:13:19 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236923003/40001
5 years, 5 months ago (2015-07-15 13:54:42 UTC) #6
Shu Chen
Please help to review this cl. Thanks
5 years, 5 months ago (2015-07-15 14:00:40 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236923003/60001
5 years, 5 months ago (2015-07-15 14:25:16 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-15 15:37:04 UTC) #12
oshima
lgtm
5 years, 5 months ago (2015-07-16 00:54:26 UTC) #13
James Su
lgtm
5 years, 5 months ago (2015-07-16 02:21:14 UTC) #14
sadrul
https://codereview.chromium.org/1236923003/diff/60001/ash/host/ash_window_tree_host_x11.cc File ash/host/ash_window_tree_host_x11.cc (right): https://codereview.chromium.org/1236923003/diff/60001/ash/host/ash_window_tree_host_x11.cc#newcode244 ash/host/ash_window_tree_host_x11.cc:244: DCHECK(!details.dispatcher_destroyed); Do these DCHECK()s not trip when, for example, ...
5 years, 5 months ago (2015-07-19 01:07:30 UTC) #15
Shu Chen
https://codereview.chromium.org/1236923003/diff/60001/ash/host/ash_window_tree_host_x11.cc File ash/host/ash_window_tree_host_x11.cc (right): https://codereview.chromium.org/1236923003/diff/60001/ash/host/ash_window_tree_host_x11.cc#newcode244 ash/host/ash_window_tree_host_x11.cc:244: DCHECK(!details.dispatcher_destroyed); On 2015/07/19 01:07:30, sadrul wrote: > Do these ...
5 years, 5 months ago (2015-07-20 05:46:09 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236923003/80001
5 years, 5 months ago (2015-07-20 05:47:33 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/40176)
5 years, 5 months ago (2015-07-20 06:22:13 UTC) #20
Shu Chen
By investigating how to solve the chromeos bots failures, I found it is not easy ...
5 years, 5 months ago (2015-07-20 14:26:13 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236923003/100001
5 years, 5 months ago (2015-07-21 03:00:58 UTC) #23
Shu Chen
Sadrul, can you please take another look? Testability effort will be tracked by crbug.com/512315. Thanks ...
5 years, 5 months ago (2015-07-21 03:05:52 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-21 05:44:45 UTC) #26
sadrul
https://codereview.chromium.org/1236923003/diff/60001/ash/host/ash_window_tree_host_x11.cc File ash/host/ash_window_tree_host_x11.cc (right): https://codereview.chromium.org/1236923003/diff/60001/ash/host/ash_window_tree_host_x11.cc#newcode244 ash/host/ash_window_tree_host_x11.cc:244: DCHECK(!details.dispatcher_destroyed); On 2015/07/20 05:46:09, Shu Chen wrote: > On ...
5 years, 5 months ago (2015-07-22 01:04:39 UTC) #27
Shu Chen
Sadrul, thanks for your review. Can you please take another look? https://codereview.chromium.org/1236923003/diff/60001/ash/host/ash_window_tree_host_x11.cc File ash/host/ash_window_tree_host_x11.cc (right): ...
5 years, 5 months ago (2015-07-22 01:19:06 UTC) #28
sadrul
lgtm https://codereview.chromium.org/1236923003/diff/120001/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/1236923003/diff/120001/ui/views/controls/textfield/textfield_unittest.cc#newcode471 ui/views/controls/textfield/textfield_unittest.cc:471: input_method_->DispatchKeyEvent(event); Please add a TODO and reference the ...
5 years, 5 months ago (2015-07-22 19:32:49 UTC) #29
Shu Chen
https://codereview.chromium.org/1236923003/diff/120001/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/1236923003/diff/120001/ui/views/controls/textfield/textfield_unittest.cc#newcode471 ui/views/controls/textfield/textfield_unittest.cc:471: input_method_->DispatchKeyEvent(event); On 2015/07/22 19:32:49, sadrul wrote: > Please add ...
5 years, 5 months ago (2015-07-23 00:15:04 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236923003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1236923003/140001
5 years, 5 months ago (2015-07-23 00:16:01 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 5 months ago (2015-07-23 01:28:48 UTC) #34
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 01:29:51 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/2bfd5db6be15a4951e6cfa337b7c7040154a43d2
Cr-Commit-Position: refs/heads/master@{#340019}

Powered by Google App Engine
This is Rietveld 408576698