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

Issue 2815833003: [SmartText selection] Add LocaleList to the provider interface (Closed)

Created:
3 years, 8 months ago by Tima Vaisburd
Modified:
3 years, 8 months ago
Reviewers:
Ted C, boliu
CC:
chromium-reviews, jam, darin-cc_chromium.org, agrieve+watch_chromium.org, sgurun-gerrit only, Theresa, Donn Denman
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[SmartText selection] Add Locale array to the provider interface Android TextClassifier API accepts optional LocaleList parameter, this CL passes locales as Locale array to the interface. There is no implementation that retrieves locales of the selection, we pass null to the provider. BUG=710505 Review-Url: https://codereview.chromium.org/2815833003 Cr-Commit-Position: refs/heads/master@{#464578} Committed: https://chromium.googlesource.com/chromium/src/+/0509fea9753de15947d230e379e2cc2338e108dc

Patch Set 1 #

Total comments: 3

Patch Set 2 : Pass Locale array instead of LocaleList in the interface #

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

Messages

Total messages: 36 (13 generated)
Tima Vaisburd
PTAL.
3 years, 8 months ago (2017-04-13 01:48:10 UTC) #4
boliu
https://codereview.chromium.org/2815833003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContextSelectionClient.java File content/public/android/java/src/org/chromium/content/browser/ContextSelectionClient.java (right): https://codereview.chromium.org/2815833003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContextSelectionClient.java#newcode140 content/public/android/java/src/org/chromium/content/browser/ContextSelectionClient.java:140: mProvider.sendSuggestAndClassifyRequest(text, start, end, null); so this is not implemented ...
3 years, 8 months ago (2017-04-13 02:52:31 UTC) #7
boliu
lgtm
3 years, 8 months ago (2017-04-13 02:55:48 UTC) #8
Ted C
https://codereview.chromium.org/2815833003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java File content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java (right): https://codereview.chromium.org/2815833003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java#newcode9 content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java:9: import android.os.LocaleList; LocaleList is api 24...are any of the ...
3 years, 8 months ago (2017-04-13 17:17:10 UTC) #9
Tima Vaisburd
https://codereview.chromium.org/2815833003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java File content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java (right): https://codereview.chromium.org/2815833003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java#newcode9 content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java:9: import android.os.LocaleList; On 2017/04/13 17:17:10, Ted C wrote: > ...
3 years, 8 months ago (2017-04-13 18:11:32 UTC) #10
Ted C
On 2017/04/13 18:11:32, Tima Vaisburd wrote: > https://codereview.chromium.org/2815833003/diff/1/content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java > File > content/public/android/java/src/org/chromium/content/browser/ContextSelectionProvider.java > (right): > ...
3 years, 8 months ago (2017-04-13 18:14:19 UTC) #11
boliu
side discussion.. it's not actually clear to me if the current code is safe or ...
3 years, 8 months ago (2017-04-13 18:17:15 UTC) #12
Ted C
On 2017/04/13 18:17:15, boliu wrote: > side discussion.. it's not actually clear to me if ...
3 years, 8 months ago (2017-04-13 18:20:10 UTC) #13
Tima Vaisburd
On 2017/04/13 18:20:10, Ted C wrote: > On 2017/04/13 18:17:15, boliu wrote: > > side ...
3 years, 8 months ago (2017-04-13 18:30:45 UTC) #14
boliu
On 2017/04/13 18:30:45, Tima Vaisburd wrote: > On 2017/04/13 18:20:10, Ted C wrote: > > ...
3 years, 8 months ago (2017-04-13 18:32:08 UTC) #15
Ted C
On 2017/04/13 18:30:45, Tima Vaisburd wrote: > On 2017/04/13 18:20:10, Ted C wrote: > > ...
3 years, 8 months ago (2017-04-13 18:35:16 UTC) #16
Tima Vaisburd
On 2017/04/13 18:32:08, boliu wrote: > On 2017/04/13 18:30:45, Tima Vaisburd wrote: > > As ...
3 years, 8 months ago (2017-04-13 18:36:54 UTC) #17
boliu
On 2017/04/13 18:36:54, Tima Vaisburd wrote: > On 2017/04/13 18:32:08, boliu wrote: > > On ...
3 years, 8 months ago (2017-04-13 18:38:11 UTC) #18
Tima Vaisburd
On 2017/04/13 18:38:11, boliu wrote: > On 2017/04/13 18:36:54, Tima Vaisburd wrote: > > On ...
3 years, 8 months ago (2017-04-13 18:46:14 UTC) #19
boliu
On 2017/04/13 18:46:14, Tima Vaisburd wrote: > On 2017/04/13 18:38:11, boliu wrote: > > On ...
3 years, 8 months ago (2017-04-13 18:49:53 UTC) #20
Tima Vaisburd
On 2017/04/13 18:49:53, boliu wrote: > why do you think List is better? it's not ...
3 years, 8 months ago (2017-04-13 19:02:01 UTC) #21
boliu
On 2017/04/13 19:02:01, Tima Vaisburd wrote: > On 2017/04/13 18:49:53, boliu wrote: > > why ...
3 years, 8 months ago (2017-04-13 19:04:07 UTC) #22
Tima Vaisburd
On 2017/04/13 19:04:07, boliu wrote: > On 2017/04/13 19:02:01, Tima Vaisburd wrote: > > On ...
3 years, 8 months ago (2017-04-13 19:11:21 UTC) #23
Tima Vaisburd
On 2017/04/13 19:11:21, Tima Vaisburd wrote: > On 2017/04/13 19:04:07, boliu wrote: > > On ...
3 years, 8 months ago (2017-04-13 21:11:09 UTC) #27
boliu
lgtm
3 years, 8 months ago (2017-04-13 21:13:12 UTC) #28
Ted C
lgtm
3 years, 8 months ago (2017-04-13 21:15:01 UTC) #29
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/2815833003/20001
3 years, 8 months ago (2017-04-13 22:04:02 UTC) #33
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 22:38:25 UTC) #36
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0509fea9753de15947d230e379e2...

Powered by Google App Engine
This is Rietveld 408576698