• bshe@chromium.org's avatar
    Delay virtual keyboard hiding for 100ms · 357b18ca
    bshe@chromium.org authored
    
    This CL should fix this issue that we are experiencing(note it is not always reproducible):
    - In a maximized window, clicking button may not take any effect due to immediate
    keyboard relayout
    (go to http://unixpapa.com/js/testkey.html and try hit reset button after typed
    a bunch of keys)
    
    It also workarounds the other two issues:
    1. keyboard flicking when quickly switch from one input field to another field
    2. In webdev javascript console, the input feild temoporary lost focus when
    candidate popup window shows and it may try to hide and relayout keyboard, which
    makes the console unuseable with virtual keyboard.
    The root problem for the above two issues are tracked in issue 281493.
    
    BUG=
    
    Review URL: https://chromiumcodereview.appspot.com/22831045
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220648 0039d316-1c4b-4281-b951-d872f2087c98
    357b18ca
keyboard_controller.cc 7.63 KB