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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/input/SuggestionInfo.java

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.content.browser.input;
6
7 /**
8 * Represents an entry in a text suggestion popup menu. Contains the information
9 * necessary to display the menu entry and the information necessary to apply
10 * the suggestion.
11 */
12 public class SuggestionInfo {
13 long mDocumentMarkerID;
14 int mSuggestionIndex;
15 String mPrefix;
16 String mText;
17 String mSuffix;
18
19 SuggestionInfo(
20 long documentMarkerID, int suggestionIndex, String prefix, String te xt, String suffix) {
21 mDocumentMarkerID = documentMarkerID;
22 mSuggestionIndex = suggestionIndex;
23 mPrefix = prefix;
24 mText = text;
25 mSuffix = suffix;
26 }
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698