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

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

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 4 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 f05b87d4f6babb25c1cf45dd9daf8a8add55b2e2..f9423f5dd713fbb62847465538f85f54f8d2dbc4 100644
--- a/third_party/WebKit/Source/platform/text/TextChecking.h
+++ b/third_party/WebKit/Source/platform/text/TextChecking.h
@@ -67,7 +67,6 @@ struct TextCheckingResult {
int length;
Vector<GrammarDetail> details;
String replacement;
- uint32_t hash;
};
const int unrequestedTextCheckingSequence = -1;
@@ -81,13 +80,11 @@ public:
, m_mask(TextCheckingTypeNone)
, m_processType(TextCheckingProcessIncremental)
{ }
- TextCheckingRequestData(int sequence, const String& text, TextCheckingTypeMask mask, TextCheckingProcessType processType, const Vector<uint32_t>& markers, const Vector<unsigned>& offsets)
+ TextCheckingRequestData(int sequence, const String& text, TextCheckingTypeMask mask, TextCheckingProcessType processType)
: m_sequence(sequence)
, m_text(text)
, m_mask(mask)
, m_processType(processType)
- , m_markers(markers)
- , m_offsets(offsets)
{ }
int sequence() const { return m_sequence; }
@@ -95,16 +92,12 @@ public:
TextCheckingTypeMask mask() const { return m_mask; }
bool maskContains(TextCheckingType type) const { return m_mask & type; }
TextCheckingProcessType processType() const { return m_processType; }
- const Vector<uint32_t>& markers() const { return m_markers; }
- const Vector<unsigned>& offsets() const { return m_offsets; }
private:
int m_sequence;
String m_text;
TextCheckingTypeMask m_mask;
TextCheckingProcessType m_processType;
- Vector<uint32_t> m_markers;
- Vector<unsigned> m_offsets;
};
class TextCheckingRequest : public GarbageCollectedFinalized<TextCheckingRequest> {

Powered by Google App Engine
This is Rietveld 408576698