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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/TextClassifierProvider.java

Issue 2835323003: [SmartText selection] Implement TextClassifier getter and setter
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content_public/browser/TextClassifierProvider.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/TextClassifierProvider.java b/content/public/android/java/src/org/chromium/content_public/browser/TextClassifierProvider.java
new file mode 100644
index 0000000000000000000000000000000000000000..201c6e6aa66509faabcbab7de023e1f1b2143077
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content_public/browser/TextClassifierProvider.java
@@ -0,0 +1,17 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.content_public.browser;
+
+/**
+ * Stores and returns the TextClassifier object.
+ * The real functionality is implemented by subclass.
+ */
+public class TextClassifierProvider {
boliu 2017/04/25 20:30:28 why is this even needed? Can't WebContents take th
Tima Vaisburd 2017/04/25 20:58:02 I thought it that case WebContents would also have
+ public void setTextClassifier(Object textClassifier) {}
+
+ public Object getTextClassifier() {
+ return null;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698