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

Issue 1008453002: Allow javascript change the virtual keyboard window size and position freely in FLOATING mode (Closed)

Created:
5 years, 9 months ago by bshe
Modified:
5 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow javascript change the virtual keyboard window size and position freely in FLOATING mode This CL includes the following changes: 1. The virtual keyboard container window is no longer automatically set to full screen size. Instead, it will be set to the same size as the virtual keyboard window and will be positioned where that window was positioned. This is to allow window.moveTo to move the VK window correctly. 2. VK window and VK container is no longer always full width. In FLOATING mode, window.resizeTo can resize the VK window to specified size. 3. Added one test for FLOATING mode and other tests fixes BUG=466702 Committed: https://crrev.com/a0a5780fdc75676746d9e754424834a1812357eb Cr-Commit-Position: refs/heads/master@{#324253}

Patch Set 1 #

Patch Set 2 : tests #

Patch Set 3 : #

Patch Set 4 : Support window.moveTo #

Patch Set 5 : tests #

Patch Set 6 : rebase #

Total comments: 6

Patch Set 7 : reviews #

Patch Set 8 : nit: fix a compile error #

Total comments: 21

Patch Set 9 : reviews #

Patch Set 10 : Fix a crash #

Total comments: 4

Patch Set 11 : reviews #

Patch Set 12 : rebase #

Patch Set 13 : format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -322 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +0 lines, -7 lines 0 comments Download
M ash/root_window_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +18 lines, -15 lines 0 comments Download
M ash/wm/always_on_top_controller_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/lock_layout_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
D ash/wm/virtual_keyboard_container_layout_manager.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -33 lines 0 comments Download
M ash/wm/virtual_keyboard_container_layout_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -44 lines 0 comments Download
M ui/keyboard/keyboard_controller.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +54 lines, -57 lines 0 comments Download
M ui/keyboard/keyboard_controller_proxy.cc View 1 2 1 chunk +4 lines, -9 lines 0 comments Download
M ui/keyboard/keyboard_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 chunks +58 lines, -99 lines 0 comments Download
M ui/keyboard/keyboard_layout_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -28 lines 0 comments Download
M ui/keyboard/keyboard_util.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -8 lines 0 comments Download
M ui/keyboard/keyboard_util.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -14 lines 0 comments Download

Messages

Total messages: 33 (13 generated)
bshe
Hey Sadrul and Shu. Do you guys mind to take a look at this CL? ...
5 years, 9 months ago (2015-03-12 19:35:52 UTC) #2
bshe
On 2015/03/12 19:35:52, bshe wrote: > Hey Sadrul and Shu. > > Do you guys ...
5 years, 9 months ago (2015-03-13 15:46:53 UTC) #3
bshe
On 2015/03/13 15:46:53, bshe wrote: > On 2015/03/12 19:35:52, bshe wrote: > > Hey Sadrul ...
5 years, 9 months ago (2015-03-17 15:57:49 UTC) #4
Shu Chen
lgtm I'm not familiar enough with the code base to check the logic changes. Just ...
5 years, 9 months ago (2015-03-18 03:58:09 UTC) #5
bshe
On 2015/03/18 03:58:09, Shu Chen wrote: > lgtm > > I'm not familiar enough with ...
5 years, 9 months ago (2015-03-18 21:20:25 UTC) #6
sadrul
I feel like we are actually going to lose test-coverage because of the changes in ...
5 years, 9 months ago (2015-03-20 17:32:17 UTC) #7
bshe
PTAL. The latest patch should be more readable. And I have removed custom event targeter ...
5 years, 9 months ago (2015-03-27 16:29:16 UTC) #10
bshe
On 2015/03/27 16:29:16, bshe wrote: > PTAL. The latest patch should be more readable. And ...
5 years, 8 months ago (2015-03-31 12:26:25 UTC) #11
sadrul
https://codereview.chromium.org/1008453002/diff/180001/ash/wm/virtual_keyboard_container_layout_manager.cc File ash/wm/virtual_keyboard_container_layout_manager.cc (right): https://codereview.chromium.org/1008453002/diff/180001/ash/wm/virtual_keyboard_container_layout_manager.cc#newcode38 ash/wm/virtual_keyboard_container_layout_manager.cc:38: } // namespace ash Is this layout-manager necessary at ...
5 years, 8 months ago (2015-04-01 06:43:49 UTC) #12
bshe
Thanks for excellent review! PTAL https://codereview.chromium.org/1008453002/diff/180001/ash/wm/virtual_keyboard_container_layout_manager.cc File ash/wm/virtual_keyboard_container_layout_manager.cc (right): https://codereview.chromium.org/1008453002/diff/180001/ash/wm/virtual_keyboard_container_layout_manager.cc#newcode38 ash/wm/virtual_keyboard_container_layout_manager.cc:38: } // namespace ash ...
5 years, 8 months ago (2015-04-01 20:41:34 UTC) #15
sadrul
lgtm https://codereview.chromium.org/1008453002/diff/180001/ui/keyboard/keyboard_util.cc File ui/keyboard/keyboard_util.cc (right): https://codereview.chromium.org/1008453002/diff/180001/ui/keyboard/keyboard_util.cc#newcode79 ui/keyboard/keyboard_util.cc:79: keyboard_height); On 2015/04/01 20:41:33, bshe wrote: > On ...
5 years, 8 months ago (2015-04-07 17:35:51 UTC) #16
bshe
Thanks Sadrul! +jamescook for ash related files +pkotwicz for ash/wm related files Thanks! https://codereview.chromium.org/1008453002/diff/260001/ash/root_window_controller.cc File ...
5 years, 8 months ago (2015-04-07 18:46:15 UTC) #18
pkotwicz
ash/wm LGTM
5 years, 8 months ago (2015-04-08 15:03:30 UTC) #19
bshe
Thanks Peter! Switching to oshima for ash related files as James is not working on ...
5 years, 8 months ago (2015-04-08 15:07:46 UTC) #21
James Cook
ash/ lgtm
5 years, 8 months ago (2015-04-08 16:39:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008453002/280001
5 years, 8 months ago (2015-04-08 16:47:26 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/40893) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 8 months ago (2015-04-08 16:53:39 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008453002/320001
5 years, 8 months ago (2015-04-08 17:04:39 UTC) #31
commit-bot: I haz the power
Committed patchset #13 (id:320001)
5 years, 8 months ago (2015-04-08 18:21:52 UTC) #32
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 18:22:49 UTC) #33
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/a0a5780fdc75676746d9e754424834a1812357eb
Cr-Commit-Position: refs/heads/master@{#324253}

Powered by Google App Engine
This is Rietveld 408576698