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

Issue 1080693002: Implementation of Smart GO NEXT feature in Android Chrome (Closed)

Created:
5 years, 8 months ago by AKV
Modified:
3 years, 8 months ago
CC:
aelias_OOO_until_Jul13, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, kochi, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, yosin_UTC9
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implementation of Smart GO NEXT feature in Android Chrome This change takes care of providing easy navigation among text input elements inside a form. Dependent blink side changes can be found at https://codereview.chromium.org/939603002/ BUG=410785

Patch Set 1 #

Total comments: 7

Patch Set 2 : Changed the direction variable to forward. #

Patch Set 3 : Kept ACTION_GO when there is no next/prev/enter Key. #

Total comments: 6

Patch Set 4 : Enabling GO button even if we have Previous element available. #

Total comments: 4

Patch Set 5 : Moved overridden function to correct location in header. #

Total comments: 6

Patch Set 6 : Fixed indentation and naming convention issues. #

Total comments: 4

Patch Set 7 : Removed duplicate comments and formatted the comments. #

Patch Set 8 : Updated based on blink side reviews. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -16 lines) Patch
M content/browser/renderer_host/ime_adapter_android.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 1 comment Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/input_messages.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java View 1 2 3 4 5 6 7 4 chunks +27 lines, -16 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java View 1 2 3 4 5 6 7 2 chunks +11 lines, -0 lines 0 comments Download
M content/public/browser/web_contents.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (7 generated)
AKV
@bcwhite PTAL
5 years, 8 months ago (2015-04-10 20:38:17 UTC) #2
bcwhite
https://codereview.chromium.org/1080693002/diff/1/content/common/input_messages.h File content/common/input_messages.h (right): https://codereview.chromium.org/1080693002/diff/1/content/common/input_messages.h#newcode190 content/common/input_messages.h:190: IPC_MESSAGE_ROUTED1(InputMsg_AdvanceFocusToNextInputField, bool /* direction */) "forward" instead of "direction" ...
5 years, 8 months ago (2015-04-13 16:51:34 UTC) #3
AKV
@bcwhite PTAL https://codereview.chromium.org/1080693002/diff/1/content/common/input_messages.h File content/common/input_messages.h (right): https://codereview.chromium.org/1080693002/diff/1/content/common/input_messages.h#newcode190 content/common/input_messages.h:190: IPC_MESSAGE_ROUTED1(InputMsg_AdvanceFocusToNextInputField, bool /* direction */) On 2015/04/13 ...
5 years, 8 months ago (2015-04-13 18:35:46 UTC) #4
bcwhite
https://codereview.chromium.org/1080693002/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/1080693002/diff/1/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode125 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:125: } On 2015/04/13 18:35:46, AKV wrote: > On 2015/04/13 ...
5 years, 8 months ago (2015-04-13 18:56:50 UTC) #5
AKV
@bcwhite - PTAL. I made the changes related to GO button status.
5 years, 8 months ago (2015-04-14 17:44:49 UTC) #6
bcwhite
https://codereview.chromium.org/1080693002/diff/40001/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/1080693002/diff/40001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode126 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:126: if (mSingleLine && (inputFlags & WebTextInputFlags.WantEnterEvents) == 0) { ...
5 years, 8 months ago (2015-04-14 18:22:08 UTC) #7
AKV
@bcwhite - PTAL https://codereview.chromium.org/1080693002/diff/40001/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/1080693002/diff/40001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode126 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:126: if (mSingleLine && (inputFlags & WebTextInputFlags.WantEnterEvents) ...
5 years, 8 months ago (2015-04-14 18:41:26 UTC) #8
bcwhite
LGTM https://codereview.chromium.org/1080693002/diff/40001/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/1080693002/diff/40001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode126 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:126: if (mSingleLine && (inputFlags & WebTextInputFlags.WantEnterEvents) == 0) ...
5 years, 8 months ago (2015-04-14 18:56:59 UTC) #9
AKV
On 2015/04/14 18:56:59, bcwhite wrote: > LGTM > > https://codereview.chromium.org/1080693002/diff/40001/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 > ...
5 years, 8 months ago (2015-04-14 19:05:37 UTC) #10
AKV
@Avi & Yaron PTAL this change.
5 years, 8 months ago (2015-04-14 19:10:48 UTC) #12
Avi (use Gerrit)
It would be nice to see some trybots. https://codereview.chromium.org/1080693002/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/1080693002/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: void ...
5 years, 8 months ago (2015-04-14 20:42:04 UTC) #13
bcwhite
On 2015/04/14 19:05:37, AKV wrote: > On 2015/04/14 18:56:59, bcwhite wrote: > > LGTM > ...
5 years, 8 months ago (2015-04-15 15:06:11 UTC) #14
jdduke (slow)
This is not ready for landing. Playing with a toy example form here, http://jsbin.com/kenozu/1/quiet, I ...
5 years, 8 months ago (2015-04-15 18:42:46 UTC) #16
AKV
On 2015/04/15 18:42:46, jdduke wrote: > This is not ready for landing. > > Playing ...
5 years, 8 months ago (2015-04-15 18:49:14 UTC) #17
AKV
On 2015/04/15 18:49:14, AKV wrote: > On 2015/04/15 18:42:46, jdduke wrote: > > This is ...
5 years, 8 months ago (2015-04-15 18:52:05 UTC) #18
jdduke (slow)
I also noticed that with the stock keyboard on Android L, once I get to ...
5 years, 8 months ago (2015-04-15 19:02:19 UTC) #19
AKV
On 2015/04/14 20:42:04, Avi wrote: > It would be nice to see some trybots. > ...
5 years, 8 months ago (2015-04-16 18:59:12 UTC) #20
AKV
@Avi & jdduke - PTAL! https://codereview.chromium.org/1080693002/diff/60001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/1080693002/diff/60001/content/browser/web_contents/web_contents_impl.h#newcode982 content/browser/web_contents/web_contents_impl.h:982: void AdvanceFocusToNextInputField(bool forward); On ...
5 years, 8 months ago (2015-04-17 15:48:16 UTC) #21
Avi (use Gerrit)
https://codereview.chromium.org/1080693002/diff/80001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://codereview.chromium.org/1080693002/diff/80001/content/browser/renderer_host/ime_adapter_android.cc#newcode304 content/browser/renderer_host/ime_adapter_android.cc:304: jboolean forward) { fix indentation https://codereview.chromium.org/1080693002/diff/80001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): ...
5 years, 8 months ago (2015-04-17 16:26:38 UTC) #22
AKV
@Avi PTAL. https://codereview.chromium.org/1080693002/diff/80001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://codereview.chromium.org/1080693002/diff/80001/content/browser/renderer_host/ime_adapter_android.cc#newcode304 content/browser/renderer_host/ime_adapter_android.cc:304: jboolean forward) { On 2015/04/17 16:26:38, Avi ...
5 years, 8 months ago (2015-04-17 16:40:37 UTC) #23
Avi (use Gerrit)
LGTM with fixed nits. https://codereview.chromium.org/1080693002/diff/100001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/1080693002/diff/100001/content/browser/web_contents/web_contents_impl.h#newcode297 content/browser/web_contents/web_contents_impl.h:297: void AdvanceFocusToNextFormControl(bool forward) override; Drop ...
5 years, 8 months ago (2015-04-17 16:46:27 UTC) #24
AKV
@Avi Thanks for your review. https://codereview.chromium.org/1080693002/diff/100001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/1080693002/diff/100001/content/browser/web_contents/web_contents_impl.h#newcode297 content/browser/web_contents/web_contents_impl.h:297: void AdvanceFocusToNextFormControl(bool forward) override; ...
5 years, 8 months ago (2015-04-17 16:50:03 UTC) #25
AKV
@bcwhite & avi Could you please take final look. I have updated based on blink ...
5 years, 7 months ago (2015-04-28 14:53:49 UTC) #26
Avi (use Gerrit)
On 2015/04/28 14:53:49, AKV wrote: > @bcwhite & avi Could you please take final look. ...
5 years, 7 months ago (2015-04-28 15:40:30 UTC) #27
AKV
@Avi Thank you. @dcheng - PTAL IPC related changes.
5 years, 7 months ago (2015-04-28 15:48:23 UTC) #29
dcheng
ipc changes lgtm https://codereview.chromium.org/1080693002/diff/140001/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://codereview.chromium.org/1080693002/diff/140001/content/browser/web_contents/web_contents_impl.h#newcode295 content/browser/web_contents/web_contents_impl.h:295: void AdvanceFocusInForm(bool forward) override; Nit: I ...
5 years, 7 months ago (2015-04-28 20:30:55 UTC) #30
bcwhite
LGTM (java) sorry for the delay
5 years, 7 months ago (2015-05-13 15:16:45 UTC) #31
AKVT
3 years, 8 months ago (2017-04-25 14:21:36 UTC) #35
On 2015/05/13 15:16:45, bcwhite wrote:
> LGTM (java)
> sorry for the delay

Closing this issue. As there is another review is active which includes both
Chromium and blink changes together @
https://codereview.chromium.org/2839993002/

Powered by Google App Engine
This is Rietveld 408576698