| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 static bool isSpellCheckingEnabledAt(const Position&); | 61 static bool isSpellCheckingEnabledAt(const Position&); |
| 62 bool isSpellCheckingEnabled() const; | 62 bool isSpellCheckingEnabled() const; |
| 63 void toggleSpellCheckingEnabled(); | 63 void toggleSpellCheckingEnabled(); |
| 64 void ignoreSpelling(); | 64 void ignoreSpelling(); |
| 65 bool isSpellCheckingEnabledInFocusedNode() const; | 65 bool isSpellCheckingEnabledInFocusedNode() const; |
| 66 void markMisspellingsAfterApplyingCommand(const CompositeEditCommand&); | 66 void markMisspellingsAfterApplyingCommand(const CompositeEditCommand&); |
| 67 void markAndReplaceFor(SpellCheckRequest*, const Vector<TextCheckingResult>&); | 67 void markAndReplaceFor(SpellCheckRequest*, const Vector<TextCheckingResult>&); |
| 68 void advanceToNextMisspelling(bool startBeforeSelection = false); | 68 void advanceToNextMisspelling(bool startBeforeSelection = false); |
| 69 void showSpellingGuessPanel(); | 69 void showSpellingGuessPanel(); |
| 70 void didBeginEditing(Element*); | 70 void didBeginEditing(Element*); |
| 71 void clearMisspellingsForMovingParagraphs(const VisibleSelection&); | 71 void clearMisspellingsForMovingParagraphs(const SelectionInDOMTree&); |
| 72 void markMisspellingsForMovingParagraphs(const VisibleSelection&); | 72 void markMisspellingsForMovingParagraphs(const VisibleSelection&); |
| 73 void respondToChangedContents(); | 73 void respondToChangedContents(); |
| 74 void respondToChangedSelection(const Position& oldSelectionStart, | 74 void respondToChangedSelection(const Position& oldSelectionStart, |
| 75 FrameSelection::SetSelectionOptions); | 75 FrameSelection::SetSelectionOptions); |
| 76 void replaceMisspelledRange(const String&); | 76 void replaceMisspelledRange(const String&); |
| 77 void removeSpellingMarkers(); | 77 void removeSpellingMarkers(); |
| 78 void removeSpellingMarkersUnderWords(const Vector<String>& words); | 78 void removeSpellingMarkersUnderWords(const Vector<String>& words); |
| 79 enum class ElementsType { kAll, kOnlyNonEditable }; | 79 enum class ElementsType { kAll, kOnlyNonEditable }; |
| 80 void removeSpellingAndGrammarMarkers(const HTMLElement&, | 80 void removeSpellingAndGrammarMarkers(const HTMLElement&, |
| 81 ElementsType = ElementsType::kAll); | 81 ElementsType = ElementsType::kAll); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 Member<LocalFrame> m_frame; | 137 Member<LocalFrame> m_frame; |
| 138 | 138 |
| 139 const Member<SpellCheckRequester> m_spellCheckRequester; | 139 const Member<SpellCheckRequester> m_spellCheckRequester; |
| 140 const Member<IdleSpellCheckCallback> m_idleSpellCheckCallback; | 140 const Member<IdleSpellCheckCallback> m_idleSpellCheckCallback; |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 } // namespace blink | 143 } // namespace blink |
| 144 | 144 |
| 145 #endif // SpellChecker_h | 145 #endif // SpellChecker_h |
| OLD | NEW |