[VK] Automatically set default size for virtual keyboard on first load.
The virtual keyboard extension is responsible for choosing the size of the keyboard window. In test code, we mock out the extension but we don't set a size. This means that test code has to manually set the bounds of the keyboard window, which is a bit weird. Failing to set the size result in very confusing test failures too. Therefore, we set a default virtual keyboard size in the test KeyboardUI implementations. If test code need a specific size, they can always resize the window themselves. Bug: 849995 Change-Id: I3794f11719bcfe722317174d43492141e6f75b80 Reviewed-on: https://chromium-review.googlesource.com/c/1278462 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#606642}
Showing
Please register or sign in to comment