OLD | NEW |
---|---|
(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 int mDocumentMarkerID; | |
Changwan Ryu
2017/02/14 00:58:01
nit: normally style convention for public variable
| |
14 int mSuggestionIndex; | |
15 String mPrefix; | |
16 String mText; | |
17 String mSuffix; | |
18 | |
19 SuggestionInfo( | |
20 int documentMarkerID, int suggestionIndex, String prefix, String tex t, String suffix) { | |
21 mDocumentMarkerID = documentMarkerID; | |
22 mSuggestionIndex = suggestionIndex; | |
23 mPrefix = prefix; | |
24 mText = text; | |
25 mSuffix = suffix; | |
26 } | |
27 } | |
OLD | NEW |