[CRD iOS] Rework the HostView keyboard layout
When rotating the screen on iPad with the keyboard showing, for some reason the host view will become improperly laid out. Part of the view gets overlaid by the keyboard. My suspicion is the view frame becomes inconsistent when the rotation happens. This CL fixes the problem by reworking the keyboard layout using constraints. It also makes GLRenderer cache the view size before the canvas is created. Bug: 751273 Change-Id: I5146ff6bf602eef1857259e5e50ca6be1d952a68 Reviewed-on: https://chromium-review.googlesource.com/596913 Commit-Queue: Yuwei Huang <yuweih@chromium.org> Reviewed-by:Scott Nichols <nicholss@chromium.org> Cr-Commit-Position: refs/heads/master@{#491519}
Showing
Please register or sign in to comment