| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 void advanceToNextMisspelling(bool startBeforeSelection = false); | 66 void advanceToNextMisspelling(bool startBeforeSelection = false); |
| 67 void showSpellingGuessPanel(); | 67 void showSpellingGuessPanel(); |
| 68 void didBeginEditing(Element*); | 68 void didBeginEditing(Element*); |
| 69 void clearMisspellingsForMovingParagraphs(const VisibleSelection&); | 69 void clearMisspellingsForMovingParagraphs(const VisibleSelection&); |
| 70 void markMisspellingsForMovingParagraphs(const VisibleSelection&); | 70 void markMisspellingsForMovingParagraphs(const VisibleSelection&); |
| 71 void respondToChangedSelection(const Position& oldSelectionStart, | 71 void respondToChangedSelection(const Position& oldSelectionStart, |
| 72 FrameSelection::SetSelectionOptions); | 72 FrameSelection::SetSelectionOptions); |
| 73 void replaceMisspelledRange(const String&); | 73 void replaceMisspelledRange(const String&); |
| 74 void removeSpellingMarkers(); | 74 void removeSpellingMarkers(); |
| 75 void removeSpellingMarkersUnderWords(const Vector<String>& words); | 75 void removeSpellingMarkersUnderWords(const Vector<String>& words); |
| 76 void removeSpellingAndGrammarMarkers(HTMLElement&); |
| 76 void spellCheckAfterBlur(); | 77 void spellCheckAfterBlur(); |
| 77 | 78 |
| 78 void didEndEditingOnTextField(Element*); | 79 void didEndEditingOnTextField(Element*); |
| 79 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, | 80 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, |
| 80 int from, | 81 int from, |
| 81 int length) const; | 82 int length) const; |
| 82 bool selectionStartHasSpellingMarkerFor(int from, int length) const; | 83 bool selectionStartHasSpellingMarkerFor(int from, int length) const; |
| 83 void updateMarkersForWordsAffectedByEditing( | 84 void updateMarkersForWordsAffectedByEditing( |
| 84 bool onlyHandleWordsContainingSelection); | 85 bool onlyHandleWordsContainingSelection); |
| 85 void cancelCheck(); | 86 void cancelCheck(); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 Member<LocalFrame> m_frame; | 127 Member<LocalFrame> m_frame; |
| 127 | 128 |
| 128 // TODO(xiaochengh): Move it to IdleSpellCheckCallback after idle time spell | 129 // TODO(xiaochengh): Move it to IdleSpellCheckCallback after idle time spell |
| 129 // checking reaches status=stable. | 130 // checking reaches status=stable. |
| 130 const Member<SpellCheckRequester> m_spellCheckRequester; | 131 const Member<SpellCheckRequester> m_spellCheckRequester; |
| 131 }; | 132 }; |
| 132 | 133 |
| 133 } // namespace blink | 134 } // namespace blink |
| 134 | 135 |
| 135 #endif // SpellChecker_h | 136 #endif // SpellChecker_h |
| OLD | NEW |