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

Side by Side Diff: third_party/WebKit/Source/core/editing/TextSuggestionInfo.h

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 found
3 // in the LICENSE file.
4
5 #ifndef TextSuggestionInfo_h
6 #define TextSuggestionInfo_h
7
8 #include "wtf/text/WTFString.h"
9
10 namespace blink {
11
12 // make sure to keep in sync with the list of fields in
13 // content/common/input_messages.h
14
15 struct TextSuggestionInfo {
16 int suggestionID;
17
18 int suggestionStart;
19 int suggestionEnd;
20
21 int spanStart;
22 int spanEnd;
23
24 int suggestionIndex;
25
26 String prefix;
27 String suggestion;
28 String suffix;
29 };
30
31 } // namespace blink
32
33 #endif // TextSuggestionList_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698