| 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..26efb919f11a8e2c074c2a234b815e90e782e6fc
|
| --- /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 {
|
| + long mDocumentMarkerID;
|
| + int mSuggestionIndex;
|
| + String mPrefix;
|
| + String mText;
|
| + String mSuffix;
|
| +
|
| + SuggestionInfo(
|
| + long documentMarkerID, int suggestionIndex, String prefix, String text, String suffix) {
|
| + mDocumentMarkerID = documentMarkerID;
|
| + mSuggestionIndex = suggestionIndex;
|
| + mPrefix = prefix;
|
| + mText = text;
|
| + mSuffix = suffix;
|
| + }
|
| +}
|
|
|