Send autocapitalize flags to the Android virtual keyboard based on Blink hints.
commitd1421a5faf9dc2d3b3cad10640576b24a092d9ba
authormlamouri <mlamouri@chromium.org>
Thu, 26 Mar 2015 17:42:17 +0000 (26 10:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 17:42:58 +0000 (26 17:42 +0000)
treea5b2606910c3f5178dc05da8213501a57cff0b9c
parentc72f158ec9163f075114451fc96ae5e336eca935
Send autocapitalize flags to the Android virtual keyboard based on Blink hints.

This changes the behaviour of AdapterInputConnection to pass a
InputType.TYPE_TEXT_FLAG_CAP_* based on the
WebTextInputFlags.Autocapitalize* instead of doing it purely based on the
element's type.

This CL requires the following Blink CL:
https://codereview.chromium.org/995363002

BUG=466930

Review URL: https://codereview.chromium.org/1003143002

Cr-Commit-Position: refs/heads/master@{#322414}
content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java