• mazda@chromium.org's avatar
    Fix the bug of the hide key on Omnibox. · a9f090b9
    mazda@chromium.org authored
    Fix a bug of hide key where the keyboard does now show up after the hide key is
    pressed while Omnibox has the focus and Omnibox is touched.
    I changed the way of retrieving the text input type to use
    InputMethod::GetTextInputType rather than TextInputClient::GetTextInputType
    because NULL is always set to touch_pressed_handler when omnibox is touched.
    I also added code to check the touch event type so that the notification is sent
    only when text element is touched.
    
    BUG=none
    TEST=manually
    
    
    Review URL: http://codereview.chromium.org/7324029
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91854 0039d316-1c4b-4281-b951-d872f2087c98
    a9f090b9
browser_root_view.cc 6.46 KB