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); | 68 void advanceToNextMisspelling(bool startBeforeSelection); |
69 void showSpellingGuessPanel(); | 69 void showSpellingGuessPanel(); |
70 void didBeginEditing(Element*); | 70 void didBeginEditing(Element*); |
71 void clearMisspellingsForMovingParagraphs(const SelectionInDOMTree&); | |
72 void markMisspellingsForMovingParagraphs(const VisibleSelection&); | 71 void markMisspellingsForMovingParagraphs(const VisibleSelection&); |
73 void respondToChangedContents(); | 72 void respondToChangedContents(); |
74 void respondToChangedSelection(const Position& oldSelectionStart, | 73 void respondToChangedSelection(const Position& oldSelectionStart, |
75 FrameSelection::SetSelectionOptions); | 74 FrameSelection::SetSelectionOptions); |
76 void replaceMisspelledRange(const String&); | 75 void replaceMisspelledRange(const String&); |
77 void removeSpellingMarkers(); | 76 void removeSpellingMarkers(); |
78 void removeSpellingMarkersUnderWords(const Vector<String>& words); | 77 void removeSpellingMarkersUnderWords(const Vector<String>& words); |
79 enum class ElementsType { kAll, kOnlyNonEditable }; | 78 enum class ElementsType { kAll, kOnlyNonEditable }; |
80 void removeSpellingAndGrammarMarkers(const HTMLElement&, | 79 void removeSpellingAndGrammarMarkers(const HTMLElement&, |
81 ElementsType = ElementsType::kAll); | 80 ElementsType = ElementsType::kAll); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 134 |
136 Member<LocalFrame> m_frame; | 135 Member<LocalFrame> m_frame; |
137 | 136 |
138 const Member<SpellCheckRequester> m_spellCheckRequester; | 137 const Member<SpellCheckRequester> m_spellCheckRequester; |
139 const Member<IdleSpellCheckCallback> m_idleSpellCheckCallback; | 138 const Member<IdleSpellCheckCallback> m_idleSpellCheckCallback; |
140 }; | 139 }; |
141 | 140 |
142 } // namespace blink | 141 } // namespace blink |
143 | 142 |
144 #endif // SpellChecker_h | 143 #endif // SpellChecker_h |
OLD | NEW |