OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 Vector<TextCheckingResult> findMisspellings(const String&); | 104 Vector<TextCheckingResult> findMisspellings(const String&); |
105 std::pair<String, int> findFirstMisspelling(const Position&, const Position&
); | 105 std::pair<String, int> findFirstMisspelling(const Position&, const Position&
); |
106 | 106 |
107 void markMisspellingsAfterLineBreak(const VisibleSelection& wordSelection); | 107 void markMisspellingsAfterLineBreak(const VisibleSelection& wordSelection); |
108 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart); | 108 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart); |
109 void markMisspellingsAfterTypingCommand(const TypingCommand&); | 109 void markMisspellingsAfterTypingCommand(const TypingCommand&); |
110 void markMisspellingsAfterReplaceSelectionCommand(const ReplaceSelectionComm
and&); | 110 void markMisspellingsAfterReplaceSelectionCommand(const ReplaceSelectionComm
and&); |
111 | 111 |
112 void removeMarkers(const VisibleSelection&, DocumentMarker::MarkerTypes); | 112 void removeMarkers(const VisibleSelection&, DocumentMarker::MarkerTypes); |
113 | 113 |
114 void chunkAndMarkAllMisspellingsAndBadGrammar(const EphemeralRange&); | 114 void chunkAndMarkAllMisspellingsAndBadGrammar(const TextCheckingParagraph& f
ullParagraphToCheck); |
115 void spellCheckOldSelection(const VisibleSelection& oldSelection, const Visi
bleSelection& newAdjacentWords); | 115 void spellCheckOldSelection(const VisibleSelection& oldSelection, const Visi
bleSelection& newAdjacentWords); |
116 | 116 |
117 Member<LocalFrame> m_frame; | 117 Member<LocalFrame> m_frame; |
118 const Member<SpellCheckRequester> m_spellCheckRequester; | 118 const Member<SpellCheckRequester> m_spellCheckRequester; |
119 }; | 119 }; |
120 | 120 |
121 } // namespace blink | 121 } // namespace blink |
122 | 122 |
123 #endif // SpellChecker_h | 123 #endif // SpellChecker_h |
OLD | NEW |