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

Issue 2896143002: Move batchedit related logics into InputConnection (Closed)

Created:
3 years, 7 months ago by Changwan Ryu
Modified:
3 years, 6 months ago
Reviewers:
Ted C
CC:
chromium-reviews, jdonnelly+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move batchedit related logics into InputConnection This helps reduce the number of API calls between View related logic and autocomplete logic, and thus makes the split easier. Also removes mention of URL bar from comments in AutocompleteEditText.java. BUG=722908 Review-Url: https://codereview.chromium.org/2896143002 Cr-Commit-Position: refs/heads/master@{#478173} Committed: https://chromium.googlesource.com/chromium/src/+/a5770d08b1a9c1c7157934f512714195396057fe

Patch Set 1 #

Patch Set 2 : rebased #

Patch Set 3 : test fixed in another CL and rebased #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -51 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java View 1 9 chunks +38 lines, -37 lines 2 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java View 1 9 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
Changwan Ryu
PTAL, I'm thinking of splitting view and the model as we discussed offline, and I ...
3 years, 7 months ago (2017-05-24 16:38:14 UTC) #12
Ted C
https://codereview.chromium.org/2896143002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java (right): https://codereview.chromium.org/2896143002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java#newcode46 chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java:46: private int mBatchEditNestCount; The thing I struggle with is ...
3 years, 7 months ago (2017-05-26 23:43:45 UTC) #15
Changwan Ryu
https://codereview.chromium.org/2896143002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java (right): https://codereview.chromium.org/2896143002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java#newcode46 chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java:46: private int mBatchEditNestCount; Hmm.. I didn’t really think much ...
3 years, 6 months ago (2017-06-05 19:07:39 UTC) #16
Changwan Ryu
Another rationale I found for moving this logic into InputConnection is due to #2 Span ...
3 years, 6 months ago (2017-06-08 18:24:02 UTC) #17
Ted C
lgtm
3 years, 6 months ago (2017-06-08 23:36:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2896143002/40001
3 years, 6 months ago (2017-06-09 00:58:54 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 02:50:34 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a5770d08b1a9c1c7157934f51271...

Powered by Google App Engine
This is Rietveld 408576698