Index: content/public/android/java/src/org/chromium/content/browser/input/SuggestionInfo.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/SuggestionInfo.java b/content/public/android/java/src/org/chromium/content/browser/input/SuggestionInfo.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0f85643f21be1e78504eac42412e130e3ce5389b |
--- /dev/null |
+++ b/content/public/android/java/src/org/chromium/content/browser/input/SuggestionInfo.java |
@@ -0,0 +1,27 @@ |
+// 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.browser.input; |
+ |
+/** |
+ * Represents an entry in a text suggestion popup menu. Contains the information |
+ * necessary to display the menu entry and the information necessary to apply |
+ * the suggestion. |
+ */ |
+public class SuggestionInfo { |
+ int mDocumentMarkerID; |
Changwan Ryu
2017/02/14 00:58:01
nit: normally style convention for public variable
|
+ int mSuggestionIndex; |
+ String mPrefix; |
+ String mText; |
+ String mSuffix; |
+ |
+ SuggestionInfo( |
+ int documentMarkerID, int suggestionIndex, String prefix, String text, String suffix) { |
+ mDocumentMarkerID = documentMarkerID; |
+ mSuggestionIndex = suggestionIndex; |
+ mPrefix = prefix; |
+ mText = text; |
+ mSuffix = suffix; |
+ } |
+} |