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

Issue 2882583004: [SmartText selection] Implement TextClassifier getter and setter (Closed)

Created:
3 years, 7 months ago by Tima Vaisburd
Modified:
3 years, 7 months ago
Reviewers:
Ted C, boliu
CC:
chromium-reviews, donnd+watch_chromium.org, jam, twellington+watch_chromium.org, darin-cc_chromium.org, agrieve+watch_chromium.org, android-webview-reviews_chromium.org, sgurun-gerrit only
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[SmartText selection] Implement TextClassifier getter and setter Pass the text classifier object by the chain AwContents -> ContentViewCore -> SelectionPopupController -> SmartSelectionClient -> SmartSelectionProvider. The classifier is supposed to be owned by the implementation of SmartSelectionProvider. Move the classifier object to the new popup contents in case of popup creation. BUG=710503 Review-Url: https://codereview.chromium.org/2882583004 Cr-Commit-Position: refs/heads/master@{#472643} Committed: https://chromium.googlesource.com/chromium/src/+/0d7d2b26b79f0d75280911e80ccc22c77fe80cb5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix null ref crash #

Patch Set 3 : Rebased #

Patch Set 4 : Rebased again #

Messages

Total messages: 36 (23 generated)
Tima Vaisburd
This CL replaces https://codereview.chromium.org/2835323003
3 years, 7 months ago (2017-05-13 02:45:04 UTC) #3
Tima Vaisburd
Reimplemented and hopefully simplified. PTAL.
3 years, 7 months ago (2017-05-13 03:05:15 UTC) #5
boliu
https://codereview.chromium.org/2882583004/diff/1/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java File content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java (right): https://codereview.chromium.org/2882583004/diff/1/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java#newcode1110 content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java:1110: mSelectionClient.setTextClassifier(textClassifier); null checks, as found out by tests: 05-13 ...
3 years, 7 months ago (2017-05-15 16:50:21 UTC) #8
Tima Vaisburd
https://codereview.chromium.org/2882583004/diff/1/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java File content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java (right): https://codereview.chromium.org/2882583004/diff/1/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java#newcode1110 content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java:1110: mSelectionClient.setTextClassifier(textClassifier); On 2017/05/15 16:50:21, boliu wrote: > null checks, ...
3 years, 7 months ago (2017-05-16 08:42:00 UTC) #17
boliu
lgtm
3 years, 7 months ago (2017-05-16 14:17:22 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/2882583004/40001
3 years, 7 months ago (2017-05-17 19:20:12 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/440140)
3 years, 7 months ago (2017-05-17 19:53:21 UTC) #23
Tima Vaisburd
Ted, may I ask for the owner review, please?
3 years, 7 months ago (2017-05-17 19:58:18 UTC) #25
Ted C
lgtm
3 years, 7 months ago (2017-05-18 00:11:08 UTC) #26
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/2882583004/40001
3 years, 7 months ago (2017-05-18 00:17:11 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/440550)
3 years, 7 months ago (2017-05-18 00:28:48 UTC) #30
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/2882583004/60001
3 years, 7 months ago (2017-05-18 01:50:16 UTC) #33
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 03:42:38 UTC) #36
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/0d7d2b26b79f0d75280911e80ccc...

Powered by Google App Engine
This is Rietveld 408576698