Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h

Issue 2251693003: Rename "ContinuousSpellChecking" to "SpellChecking" in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { 46 class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> {
47 WTF_MAKE_NONCOPYABLE(SpellChecker); 47 WTF_MAKE_NONCOPYABLE(SpellChecker);
48 public: 48 public:
49 static SpellChecker* create(LocalFrame&); 49 static SpellChecker* create(LocalFrame&);
50 50
51 DECLARE_TRACE(); 51 DECLARE_TRACE();
52 52
53 SpellCheckerClient& spellCheckerClient() const; 53 SpellCheckerClient& spellCheckerClient() const;
54 TextCheckerClient& textChecker() const; 54 TextCheckerClient& textChecker() const;
55 55
56 bool isContinuousSpellCheckingEnabled() const; 56 bool isSpellCheckingEnabled() const;
57 void toggleContinuousSpellChecking(); 57 void toggleSpellCheckingEnabled();
58 void ignoreSpelling(); 58 void ignoreSpelling();
59 bool isSpellCheckingEnabledInFocusedNode() const; 59 bool isSpellCheckingEnabledInFocusedNode() const;
60 bool isSpellCheckingEnabledFor(Node*) const; 60 bool isSpellCheckingEnabledFor(Node*) const;
61 static bool isSpellCheckingEnabledFor(const VisibleSelection&); 61 static bool isSpellCheckingEnabledFor(const VisibleSelection&);
62 void markMisspellingsAfterLineBreak(const VisibleSelection& wordSelection); 62 void markMisspellingsAfterLineBreak(const VisibleSelection& wordSelection);
63 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, con st VisibleSelection& selectionAfterTyping); 63 void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, con st VisibleSelection& selectionAfterTyping);
64 void markAndReplaceFor(SpellCheckRequest*, const Vector<TextCheckingResult>& ); 64 void markAndReplaceFor(SpellCheckRequest*, const Vector<TextCheckingResult>& );
65 void advanceToNextMisspelling(bool startBeforeSelection = false); 65 void advanceToNextMisspelling(bool startBeforeSelection = false);
66 void showSpellingGuessPanel(); 66 void showSpellingGuessPanel();
67 void didBeginEditing(Element*); 67 void didBeginEditing(Element*);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void chunkAndMarkAllMisspellingsAndBadGrammar(const TextCheckingParagraph& f ullParagraphToCheck); 110 void chunkAndMarkAllMisspellingsAndBadGrammar(const TextCheckingParagraph& f ullParagraphToCheck);
111 void spellCheckOldSelection(const VisibleSelection& oldSelection, const Visi bleSelection& newAdjacentWords); 111 void spellCheckOldSelection(const VisibleSelection& oldSelection, const Visi bleSelection& newAdjacentWords);
112 112
113 Member<LocalFrame> m_frame; 113 Member<LocalFrame> m_frame;
114 const Member<SpellCheckRequester> m_spellCheckRequester; 114 const Member<SpellCheckRequester> m_spellCheckRequester;
115 }; 115 };
116 116
117 } // namespace blink 117 } // namespace blink
118 118
119 #endif // SpellChecker_h 119 #endif // SpellChecker_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698