Description[SmartText selection] Implement TextClassifier getter and setter
Android API for WebView has the methods
setTextClassifier
getTextClassifier
If a user sets the text classifier to a WebView, this classifier
shall be used for smart selection. If none is set, then the system
one shall be used.
Here we create a separate TextClassifierProvider object that can be
created by ContentClassFactory and is owned by WebContents. This
object receives a TextClassifier from the user.
The TextClassifierProvider is passed to the class that request
the classification from the Android API.
BUG=710503
Patch Set 1 #
Total comments: 6
Messages
Total messages: 5 (1 generated)
|