• bshe@chromium.org's avatar
    Use 41% of screen height as all system VK height · 5821b658
    bshe@chromium.org authored
    
    Previously, accessibility keyboard uses 30 percent of screen
    height as its height and compact keyboard uses 41 percent.
    
    The IME VKs always use 41 percent for both full and compact
    keyboards. This CL uses 41 percent for all system virtual
    keyboards to make it consistent with IME VKs.
    
    
    BUG=367947
    TEST=
    1. in about://flags disable input view flag and enable virtual
    keyboard flag
    2. click any text input area
    3. a 4 rows virtual keyboard should show up and will occupy
    about 41 percent of screen
    4. enable accessibility virtual keyboard in chrome://settings
    5. refocus a text input area
    6. a 5 rows virtual keyboard should show up and will occupy
    about 41 percent of screen
    
    Review URL: https://codereview.chromium.org/258063006
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266986 0039d316-1c4b-4281-b951-d872f2087c98
    5821b658
main.js 20.7 KB