| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 Vector<TextCheckingResult> findMisspellings(const String&); | 106 Vector<TextCheckingResult> findMisspellings(const String&); |
| 107 std::pair<String, int> findFirstMisspelling(const Position&, const Position&
); | 107 std::pair<String, int> findFirstMisspelling(const Position&, const Position&
); |
| 108 | 108 |
| 109 void markMisspellingsAfterLineBreak(const VisibleSelection& wordSelection); | 109 void markMisspellingsAfterLineBreak(const VisibleSelection& wordSelection); |
| 110 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart); | 110 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart); |
| 111 void markMisspellingsAfterTypingCommand(const TypingCommand&); | 111 void markMisspellingsAfterTypingCommand(const TypingCommand&); |
| 112 void markMisspellingsAfterReplaceSelectionCommand(const ReplaceSelectionComm
and&); | 112 void markMisspellingsAfterReplaceSelectionCommand(const ReplaceSelectionComm
and&); |
| 113 | 113 |
| 114 void removeMarkers(const VisibleSelection&, DocumentMarker::MarkerTypes); | 114 void removeMarkers(const VisibleSelection&, DocumentMarker::MarkerTypes); |
| 115 | 115 |
| 116 void chunkAndMarkAllMisspellingsAndBadGrammar(const TextCheckingParagraph& f
ullParagraphToCheck); | 116 void chunkAndMarkAllMisspellingsAndBadGrammar(const EphemeralRange&); |
| 117 void spellCheckOldSelection(const VisibleSelection& oldSelection, const Visi
bleSelection& newAdjacentWords); | 117 void spellCheckOldSelection(const VisibleSelection& oldSelection, const Visi
bleSelection& newAdjacentWords); |
| 118 | 118 |
| 119 Member<LocalFrame> m_frame; | 119 Member<LocalFrame> m_frame; |
| 120 const Member<SpellCheckRequester> m_spellCheckRequester; | 120 const Member<SpellCheckRequester> m_spellCheckRequester; |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| 124 | 124 |
| 125 #endif // SpellChecker_h | 125 #endif // SpellChecker_h |
| OLD | NEW |