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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.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/core/editing/markers/DocumentMarker.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
index 329be706d13ea669efe7e7abfdd8ae0ae518cca7..8e605b7bc14b6a2634303ab9bb5fe0f8f5841f77 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
@@ -43,7 +43,6 @@ public:
SpellingMarkerIndex = 0,
GrammarMarkerIndex,
TextMatchMarkerIndex,
- InvisibleSpellcheckMarkerIndex,
CompositionMarkerIndex,
MarkerTypeIndexesCount
};
@@ -52,7 +51,6 @@ public:
Spelling = 1 << SpellingMarkerIndex,
Grammar = 1 << GrammarMarkerIndex,
TextMatch = 1 << TextMatchMarkerIndex,
- InvisibleSpellcheck = 1 << InvisibleSpellcheckMarkerIndex,
Composition = 1 << CompositionMarkerIndex,
};
@@ -75,7 +73,7 @@ public:
class AllMarkers : public MarkerTypes {
public:
AllMarkers()
- : MarkerTypes(Spelling | Grammar | TextMatch | InvisibleSpellcheck | Composition)
+ : MarkerTypes(Spelling | Grammar | TextMatch | Composition)
{
}
};
@@ -88,15 +86,7 @@ public:
}
};
- class SpellCheckClientMarkers : public MarkerTypes {
- public:
- SpellCheckClientMarkers()
- : MarkerTypes(Spelling | Grammar | InvisibleSpellcheck)
- {
- }
- };
-
- DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description, uint32_t hash);
+ DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description);
DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch);
DocumentMarker(unsigned startOffset, unsigned endOffset, Color underlineColor, bool thick, Color backgroundColor);
@@ -105,7 +95,6 @@ public:
MarkerType type() const { return m_type; }
unsigned startOffset() const { return m_startOffset; }
unsigned endOffset() const { return m_endOffset; }
- uint32_t hash() const { return m_hash; }
const String& description() const;
bool activeMatch() const;
@@ -140,7 +129,6 @@ private:
unsigned m_startOffset;
unsigned m_endOffset;
Member<DocumentMarkerDetails> m_details;
- uint32_t m_hash;
};
using DocumentMarkerVector = HeapVector<Member<DocumentMarker>>;
« no previous file with comments | « content/renderer/context_menu_params_builder.cc ('k') | third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698