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

Issue 2830513002: Fix wrong viewport size on virtual keyboard IME change (Closed)

Created:
3 years, 8 months ago by oka
Modified:
3 years, 8 months ago
Reviewers:
bshe
CC:
chromium-reviews, yhanada+watchvk_chromium.org, dfaden+virtualkb_google.com, oka+watchvk_chromium.org, groby+virtualkb_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix wrong viewport size on virtual keyboard IME change On full width mode, the |requested_bounds| parameter passed to SetChildBounds can have different offsets from the |new_bounds| set to the keyboard container window, because only the height of the window matters in full width mode. Therefore the value passed to NotifyKeyboardBoundsChanging should be |new_bounds| instead of |requested_bounds|. Otherwise wrong insets values are set to RWHVAs managing overlapping aura windows and wrong viewports are calculated for those windows. BUG=709360 TEST=manually tested the bug is fixed. Review-Url: https://codereview.chromium.org/2830513002 Cr-Commit-Position: refs/heads/master@{#465648} Committed: https://chromium.googlesource.com/chromium/src/+/1137b41f7fc845c2e7c6555c1d6dee6f75fa8236

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/keyboard/keyboard_layout_manager.cc View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (13 generated)
oka
bshe@ PTAL.
3 years, 8 months ago (2017-04-18 23:06:11 UTC) #5
bshe
On 2017/04/18 23:06:11, oka wrote: > bshe@ PTAL. lgtm
3 years, 8 months ago (2017-04-19 13:44:45 UTC) #11
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/2830513002/1
3 years, 8 months ago (2017-04-19 17:10:21 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 17:16:49 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1137b41f7fc845c2e7c6555c1d6d...

Powered by Google App Engine
This is Rietveld 408576698