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

Unified Diff: third_party/WebKit/Source/platform/text/TextChecking.h

Issue 2848943002: Allow storing multiple replacements on SpellCheckResult (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/text/TextChecking.h
diff --git a/third_party/WebKit/Source/platform/text/TextChecking.h b/third_party/WebKit/Source/platform/text/TextChecking.h
index 042dd22d2b3c6b162d88fe367e50c8a17e019e62..949f076b209ab5c680b3952a2af77830f5c343b0 100644
--- a/third_party/WebKit/Source/platform/text/TextChecking.h
+++ b/third_party/WebKit/Source/platform/text/TextChecking.h
@@ -53,7 +53,7 @@ struct TextCheckingResult {
int location;
int length;
Vector<GrammarDetail> details;
- String replacement;
+ Vector<String> replacements;
};
const int kUnrequestedTextCheckingSequence = -1;
@@ -73,7 +73,7 @@ class TextCheckingRequestData final {
String text_;
};
-class TextCheckingRequest
+class PLATFORM_EXPORT TextCheckingRequest
: public GarbageCollectedFinalized<TextCheckingRequest> {
public:
virtual ~TextCheckingRequest() {}

Powered by Google App Engine
This is Rietveld 408576698