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

Issue 2445293002: Make the virtual keyboard show up on the display with input focus. (Closed)

Created:
4 years, 1 month ago by yhanada
Modified:
4 years ago
Reviewers:
oshima, bshe
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let the virtual keyboard show up on the secondary screen. This CL let the virtual keyboard show up on a display if 1. the display has touch capability and the input focus goes to a window in that display. 2. the keyboard icon in the tray in that display is pressed. BUG=303429 TEST=Connect the secondary display. Verify that the virtual keyboard or the accessibility on-screen keyboard follows the input focus if the focused window is in the display which has touch capability. TEST=Added unit tests in root_window_controller_unittest.cc Committed: https://crrev.com/7e20c9b1abf3784127b729a7fcd820e11a78afc9 Cr-Commit-Position: refs/heads/master@{#434409}

Patch Set 1 #

Patch Set 2 : Added unit test #

Patch Set 3 : fix compilation error on windows #

Patch Set 4 : rebase and update commit comment #

Patch Set 5 : introduce KeyboardLayoutDelegate class #

Patch Set 6 : rebase & update #

Total comments: 28

Patch Set 7 : address the comments #

Total comments: 16

Patch Set 8 : address the review comments #

Patch Set 9 : rebase #

Patch Set 10 : fix BUILD.gn #

Patch Set 11 : fix a compilation error on Windows. #

Patch Set 12 : fix one more compilation error on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -35 lines) Patch
M ash/common/keyboard/keyboard_ui.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/keyboard/keyboard_ui.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_layout_manager.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -2 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/keyboard_ui_mus.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
M ash/mus/keyboard_ui_mus.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M ash/root_window_controller_unittest.cc View 1 2 3 4 5 6 7 4 chunks +168 lines, -4 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -3 lines 0 comments Download
M ash/virtual_keyboard_controller.h View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M ash/virtual_keyboard_controller.cc View 1 2 3 4 5 6 7 8 3 chunks +82 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/virtual_keyboard_private/chrome_virtual_keyboard_delegate.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_keyboard_ui.cc View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M ui/display/test/display_manager_test_api.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M ui/display/test/display_manager_test_api.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M ui/keyboard/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M ui/keyboard/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ui/keyboard/keyboard_controller.h View 1 2 3 4 5 6 7 chunks +12 lines, -5 lines 0 comments Download
M ui/keyboard/keyboard_controller.cc View 1 2 3 4 5 6 7 8 7 chunks +25 lines, -9 lines 0 comments Download
M ui/keyboard/keyboard_controller_unittest.cc View 1 2 3 4 5 6 5 chunks +18 lines, -3 lines 0 comments Download
A ui/keyboard/keyboard_layout_delegate.h View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (40 generated)
yhanada
Hi oshima@! Could you please take a look at this CL? As it's under discussion ...
4 years, 1 month ago (2016-10-26 12:12:09 UTC) #16
yhanada1
I found some issues on this CL and will fix it tomorrow. Please ignore this ...
4 years, 1 month ago (2016-10-26 15:39:40 UTC) #19
yhanada
I modified this CL to follow your idea in crbug.com/303429. PTAL. Thanks!
4 years, 1 month ago (2016-10-27 07:42:15 UTC) #22
oshima
https://codereview.chromium.org/2445293002/diff/100001/ash/common/keyboard/keyboard_ui.h File ash/common/keyboard/keyboard_ui.h (right): https://codereview.chromium.org/2445293002/diff/100001/ash/common/keyboard/keyboard_ui.h#newcode27 ash/common/keyboard/keyboard_ui.h:27: virtual void ShowInSpecificDisplay(const int64_t display_id) = 0; ShowInDisplay https://codereview.chromium.org/2445293002/diff/100001/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc ...
4 years, 1 month ago (2016-11-08 17:26:05 UTC) #28
yhanada
Thank you for reviewing. PTAL. https://codereview.chromium.org/2445293002/diff/100001/ash/common/keyboard/keyboard_ui.h File ash/common/keyboard/keyboard_ui.h (right): https://codereview.chromium.org/2445293002/diff/100001/ash/common/keyboard/keyboard_ui.h#newcode27 ash/common/keyboard/keyboard_ui.h:27: virtual void ShowInSpecificDisplay(const int64_t ...
4 years, 1 month ago (2016-11-14 22:48:48 UTC) #29
yhanada
Hi bshe@, could you take a look at ui/keyboard/* and chrome/browser/extensions/api/virtual_keyboard_private/* as an OWNER?
4 years, 1 month ago (2016-11-15 18:51:12 UTC) #31
oshima
lgtm https://codereview.chromium.org/2445293002/diff/120001/ash/root_window_controller_unittest.cc File ash/root_window_controller_unittest.cc (right): https://codereview.chromium.org/2445293002/diff/120001/ash/root_window_controller_unittest.cc#newcode822 ash/root_window_controller_unittest.cc:822: ASSERT_FALSE(Shell::GetContainer(primary_root_window, nit: EXPECT_ https://codereview.chromium.org/2445293002/diff/120001/ash/root_window_controller_unittest.cc#newcode825 ash/root_window_controller_unittest.cc:825: kShellWindowId_VirtualKeyboardContainer)); ditto https://codereview.chromium.org/2445293002/diff/120001/ash/root_window_controller_unittest.cc#newcode873 ...
4 years, 1 month ago (2016-11-16 22:05:02 UTC) #32
yhanada
https://codereview.chromium.org/2445293002/diff/120001/ash/root_window_controller_unittest.cc File ash/root_window_controller_unittest.cc (right): https://codereview.chromium.org/2445293002/diff/120001/ash/root_window_controller_unittest.cc#newcode822 ash/root_window_controller_unittest.cc:822: ASSERT_FALSE(Shell::GetContainer(primary_root_window, On 2016/11/16 22:05:02, oshima wrote: > nit: EXPECT_ ...
4 years, 1 month ago (2016-11-16 22:22:10 UTC) #33
yhanada
bshe@: ping?
4 years, 1 month ago (2016-11-17 18:17:21 UTC) #34
bshe
On 2016/11/17 18:17:21, yhanada wrote: > bshe@: ping? Sorry for the delay! lgtm
4 years, 1 month ago (2016-11-21 19:48:25 UTC) #35
yhanada
Thank you for reviewing!
4 years ago (2016-11-24 06:14:17 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2445293002/200001
4 years ago (2016-11-24 06:14:52 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2445293002/220001
4 years ago (2016-11-24 06:27:51 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) cast_shell_linux on ...
4 years ago (2016-11-24 08:28:52 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2445293002/220001
4 years ago (2016-11-24 23:16:51 UTC) #52
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years ago (2016-11-25 00:03:45 UTC) #55
commit-bot: I haz the power
4 years ago (2016-11-25 00:05:54 UTC) #57
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/7e20c9b1abf3784127b729a7fcd820e11a78afc9
Cr-Commit-Position: refs/heads/master@{#434409}

Powered by Google App Engine
This is Rietveld 408576698