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

Issue 468923002: Restore window size after accessbility keyboard hides. (Closed)

Created:
6 years, 4 months ago by Peter Wen
Modified:
6 years, 4 months ago
Reviewers:
flackr, kevers
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Project:
chromium
Visibility:
Public.

Description

Restore window size after accessbility keyboard hides. BUG=366886 R=kevers@chromium.org TEST: Open any non-maximized window covering at least the lower portion of the screen (so that normally on-screen keyboard would obscure part of the window). Turn on accessibility keyboard. Click on a text box, notice that keyboard shows up and window is resized so keyboard does not obscure any part of it. Click outside the text box (defocus), keyboard disappears and window bounds are restored to state before the keyboard showed up. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291087

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Test passing. #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Fix per reviewer. #

Total comments: 5

Patch Set 6 : Fix per review. #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -16 lines) Patch
M ash/wm/workspace/workspace_layout_manager.cc View 1 2 3 4 5 1 chunk +21 lines, -9 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 1 2 3 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Peter Wen
Working on rewriting/fixing unit test (still has a few LOG(ERROR) lines). PTAL.
6 years, 4 months ago (2014-08-13 14:26:01 UTC) #1
Peter Wen
Ready for review. PTAL. :)
6 years, 4 months ago (2014-08-14 14:04:26 UTC) #2
kevers
lgtm
6 years, 4 months ago (2014-08-14 14:59:39 UTC) #3
Peter Wen
+flackr@ for OWNERS.
6 years, 4 months ago (2014-08-14 15:01:36 UTC) #4
flackr
https://codereview.chromium.org/468923002/diff/60001/ash/wm/workspace/workspace_layout_manager.cc File ash/wm/workspace/workspace_layout_manager.cc (right): https://codereview.chromium.org/468923002/diff/60001/ash/wm/workspace/workspace_layout_manager.cc#newcode148 ash/wm/workspace/workspace_layout_manager.cc:148: if (new_bounds.height() > 0) { nit: Use !new_bounds.IsEmpty() Can't ...
6 years, 4 months ago (2014-08-14 18:20:55 UTC) #5
Peter Wen
PTAL. https://codereview.chromium.org/468923002/diff/60001/ash/wm/workspace/workspace_layout_manager.cc File ash/wm/workspace/workspace_layout_manager.cc (right): https://codereview.chromium.org/468923002/diff/60001/ash/wm/workspace/workspace_layout_manager.cc#newcode148 ash/wm/workspace/workspace_layout_manager.cc:148: if (new_bounds.height() > 0) { On 2014/08/14 18:20:55, ...
6 years, 4 months ago (2014-08-14 19:13:31 UTC) #6
flackr
https://codereview.chromium.org/468923002/diff/80001/ash/wm/workspace/workspace_layout_manager.cc File ash/wm/workspace/workspace_layout_manager.cc (right): https://codereview.chromium.org/468923002/diff/80001/ash/wm/workspace/workspace_layout_manager.cc#newcode151 ash/wm/workspace/workspace_layout_manager.cc:151: if (!toplevel_window_state->HasRestoreBounds()) { nit: no curlies { } for ...
6 years, 4 months ago (2014-08-14 19:17:59 UTC) #7
Peter Wen
PTAL. https://codereview.chromium.org/468923002/diff/80001/ash/wm/workspace/workspace_layout_manager.cc File ash/wm/workspace/workspace_layout_manager.cc (right): https://codereview.chromium.org/468923002/diff/80001/ash/wm/workspace/workspace_layout_manager.cc#newcode151 ash/wm/workspace/workspace_layout_manager.cc:151: if (!toplevel_window_state->HasRestoreBounds()) { On 2014/08/14 19:17:58, flackr wrote: ...
6 years, 4 months ago (2014-08-15 13:44:48 UTC) #8
Peter Wen
Friendly ping. :)
6 years, 4 months ago (2014-08-20 14:55:15 UTC) #9
flackr
Have you checked that if you move or resize the window while the keyboard is ...
6 years, 4 months ago (2014-08-20 15:02:14 UTC) #10
Peter Wen
On 2014/08/20 15:02:14, flackr wrote: > Have you checked that if you move or resize ...
6 years, 4 months ago (2014-08-20 15:42:33 UTC) #11
flackr
lgtm
6 years, 4 months ago (2014-08-20 15:42:49 UTC) #12
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 4 months ago (2014-08-20 15:54:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wnwen@chromium.org/468923002/100001
6 years, 4 months ago (2014-08-20 15:54:52 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-20 17:31:56 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 19:16:47 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/3738)
6 years, 4 months ago (2014-08-20 19:16:48 UTC) #17
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 4 months ago (2014-08-20 19:18:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wnwen@chromium.org/468923002/120001
6 years, 4 months ago (2014-08-20 19:19:49 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-20 21:19:52 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 21:23:43 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/55111)
6 years, 4 months ago (2014-08-20 21:23:45 UTC) #22
Peter Wen
The CQ bit was checked by wnwen@chromium.org
6 years, 4 months ago (2014-08-21 13:57:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wnwen@chromium.org/468923002/140001
6 years, 4 months ago (2014-08-21 13:58:04 UTC) #24
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 16:23:31 UTC) #25
Message was sent while issue was closed.
Committed patchset #8 (140001) as 291087

Powered by Google App Engine
This is Rietveld 408576698