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

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

Issue 2248413003: Stop SpellCheckRequest from checking canCheckAsynchronously() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SpellCheckerDebugInfo
Patch Set: Removed rebaselining of the unrelated test Created 4 years, 3 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 DECLARE_TRACE(); 54 DECLARE_TRACE();
55 55
56 SpellCheckerClient& spellCheckerClient() const; 56 SpellCheckerClient& spellCheckerClient() const;
57 TextCheckerClient& textChecker() const; 57 TextCheckerClient& textChecker() const;
58 58
59 bool isSpellCheckingEnabled() const; 59 bool isSpellCheckingEnabled() const;
60 void toggleSpellCheckingEnabled(); 60 void toggleSpellCheckingEnabled();
61 void ignoreSpelling(); 61 void ignoreSpelling();
62 bool isSpellCheckingEnabledInFocusedNode() const; 62 bool isSpellCheckingEnabledInFocusedNode() const;
63 bool isSpellCheckingEnabledFor(Node*) const; 63 bool isSpellCheckingEnabledFor(const Node*) const;
64 static bool isSpellCheckingEnabledFor(const VisibleSelection&); 64 static bool isSpellCheckingEnabledFor(const VisibleSelection&);
65 void markMisspellingsAfterApplyingCommand(const CompositeEditCommand&); 65 void markMisspellingsAfterApplyingCommand(const CompositeEditCommand&);
66 void markAndReplaceFor(SpellCheckRequest*, const Vector<TextCheckingResult>& ); 66 void markAndReplaceFor(SpellCheckRequest*, const Vector<TextCheckingResult>& );
67 void advanceToNextMisspelling(bool startBeforeSelection = false); 67 void advanceToNextMisspelling(bool startBeforeSelection = false);
68 void showSpellingGuessPanel(); 68 void showSpellingGuessPanel();
69 void didBeginEditing(Element*); 69 void didBeginEditing(Element*);
70 void clearMisspellingsAndBadGrammar(const VisibleSelection&); 70 void clearMisspellingsAndBadGrammar(const VisibleSelection&);
71 void markMisspellingsAndBadGrammar(const VisibleSelection&); 71 void markMisspellingsAndBadGrammar(const VisibleSelection&);
72 void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSe lection::SetSelectionOptions); 72 void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSe lection::SetSelectionOptions);
73 void replaceMisspelledRange(const String&); 73 void replaceMisspelledRange(const String&);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void chunkAndMarkAllMisspellingsAndBadGrammar(const TextCheckingParagraph& f ullParagraphToCheck); 116 void chunkAndMarkAllMisspellingsAndBadGrammar(const TextCheckingParagraph& f ullParagraphToCheck);
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698