Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Issue 1003143002: Send autocapitalize flags to the Android virtual keyboard based on Blink hints. (Closed)

Created:
5 years, 9 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, nona+watch_chromium.org, penghuang+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Also the following build fix CL: https://codereview.chromium.org/1040643003 BUG=466930 Committed: https://crrev.com/d1421a5faf9dc2d3b3cad10640576b24a092d9ba Cr-Commit-Position: refs/heads/master@{#322414} Committed: https://crrev.com/cf9d60e3d3d905de5ac5b1fc068ab3e61db41db5 Cr-Commit-Position: refs/heads/master@{#322718}

Patch Set 1 #

Total comments: 8

Patch Set 2 : review comments #

Total comments: 8

Patch Set 3 : review comment + no text_input_flags.h update #

Patch Set 4 : test #

Patch Set 5 : roooooll #

Patch Set 6 : rebase #

Patch Set 7 : add landmines :( #

Total comments: 1

Patch Set 8 : remove landmines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java View 1 2 2 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 40 (13 generated)
mlamouri (slow - plz ping)
aurimas@, PTAL at content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java nona@, PTAL at ui/base/ime/text_input_flags.h
5 years, 9 months ago (2015-03-13 10:45:54 UTC) #2
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/1003143002/diff/1/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://chromiumcodereview.appspot.com/1003143002/diff/1/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode84 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:84: } else if (inputType == TextInputType.TEXT_AREA Can we split ...
5 years, 9 months ago (2015-03-18 18:57:11 UTC) #3
mlamouri (slow - plz ping)
PTAL https://codereview.chromium.org/1003143002/diff/1/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/1003143002/diff/1/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode84 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:84: } else if (inputType == TextInputType.TEXT_AREA On 2015/03/18 ...
5 years, 9 months ago (2015-03-19 16:34:45 UTC) #4
aurimas (slooooooooow)
AdapterInputConnection LGTM % nits https://codereview.chromium.org/1003143002/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/1003143002/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode87 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:87: // Textarea autocapitalization is defined ...
5 years, 9 months ago (2015-03-19 22:12:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1003143002/40001
5 years, 9 months ago (2015-03-20 10:22:25 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_rel/builds/26531)
5 years, 9 months ago (2015-03-20 10:45:06 UTC) #11
mlamouri (slow - plz ping)
https://codereview.chromium.org/1003143002/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/1003143002/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode87 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:87: // Textarea autocapitalization is defined by WebTextInputFlags. On 2015/03/19 ...
5 years, 9 months ago (2015-03-20 11:04:13 UTC) #12
Shu Chen
Looks like no changes of IMF, so removing myself from reviewers.
5 years, 9 months ago (2015-03-23 02:18:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1003143002/80001
5 years, 9 months ago (2015-03-23 11:10:26 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/4313)
5 years, 9 months ago (2015-03-23 11:33:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1003143002/100001
5 years, 9 months ago (2015-03-26 17:18:19 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-26 17:42:24 UTC) #22
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d1421a5faf9dc2d3b3cad10640576b24a092d9ba Cr-Commit-Position: refs/heads/master@{#322414}
5 years, 9 months ago (2015-03-26 17:43:12 UTC) #23
scheib
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1008153003/ by scheib@chromium.org. ...
5 years, 9 months ago (2015-03-26 17:57:22 UTC) #24
mlamouri (slow - plz ping)
thakis@, could you have a look at that change? I am sad that I have ...
5 years, 9 months ago (2015-03-26 22:08:31 UTC) #26
Nico
can you fix the java header generation instead of adding a landmine? is it understood ...
5 years, 9 months ago (2015-03-26 22:11:32 UTC) #27
Nico
https://codereview.chromium.org/1003143002/diff/120001/build/get_landmines.py File build/get_landmines.py (right): https://codereview.chromium.org/1003143002/diff/120001/build/get_landmines.py#newcode31 build/get_landmines.py:31: # landmine. ^ also see this
5 years, 9 months ago (2015-03-26 22:11:46 UTC) #28
mlamouri (slow - plz ping)
On 2015/03/26 at 22:11:46, thakis wrote: > https://codereview.chromium.org/1003143002/diff/120001/build/get_landmines.py > File build/get_landmines.py (right): > > https://codereview.chromium.org/1003143002/diff/120001/build/get_landmines.py#newcode31 ...
5 years, 9 months ago (2015-03-26 22:20:41 UTC) #29
Nico
Not understanding what's going wrong is not an excuse to land broken stuff. (I'm away ...
5 years, 9 months ago (2015-03-26 22:27:27 UTC) #30
Nico
On Thu, Mar 26, 2015 at 3:27 PM, Nico Weber <thakis@chromium.org> wrote: > Not understanding ...
5 years, 9 months ago (2015-03-26 22:32:38 UTC) #31
mlamouri (slow - plz ping)
On 2015/03/26 at 22:27:27, thakis wrote: > Not understanding what's going wrong is not an ...
5 years, 9 months ago (2015-03-27 11:22:55 UTC) #32
mlamouri (slow - plz ping)
I finally found the cause of my troubles and sent a fix here: https://codereview.chromium.org/1040643003 I ...
5 years, 8 months ago (2015-03-28 20:27:58 UTC) #33
mlamouri (slow - plz ping)
On 2015/03/28 at 20:27:58, Mounir Lamouri wrote: > I finally found the cause of my ...
5 years, 8 months ago (2015-03-28 20:28:38 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1003143002/140001
5 years, 8 months ago (2015-03-29 11:25:34 UTC) #37
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 8 months ago (2015-03-29 12:09:40 UTC) #38
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/cf9d60e3d3d905de5ac5b1fc068ab3e61db41db5 Cr-Commit-Position: refs/heads/master@{#322718}
5 years, 8 months ago (2015-03-29 12:10:36 UTC) #39
Nico
5 years, 8 months ago (2015-03-30 19:03:35 UTC) #40
Message was sent while issue was closed.
Thank you very much for getting to the bottom of this.

Powered by Google App Engine
This is Rietveld 408576698