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

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

Issue 2748083006: Minor revision related to SpellChecker::advanceToNextMisspelling() (Closed)
Patch Set: Wed Mar 15 11:19:30 PDT 2017 Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 SpellCheckerClient& spellCheckerClient() const; 58 SpellCheckerClient& spellCheckerClient() const;
59 TextCheckerClient& textChecker() const; 59 TextCheckerClient& textChecker() const;
60 60
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);
yosin_UTC9 2017/03/21 05:31:52 Thanks for removing default parameter! (^_^)b
69 void showSpellingGuessPanel(); 69 void showSpellingGuessPanel();
70 void didBeginEditing(Element*); 70 void didBeginEditing(Element*);
71 void clearMisspellingsForMovingParagraphs(const SelectionInDOMTree&); 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);
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 Member<LocalFrame> m_frame; 136 Member<LocalFrame> m_frame;
137 137
138 const Member<SpellCheckRequester> m_spellCheckRequester; 138 const Member<SpellCheckRequester> m_spellCheckRequester;
139 const Member<IdleSpellCheckCallback> m_idleSpellCheckCallback; 139 const Member<IdleSpellCheckCallback> m_idleSpellCheckCallback;
140 }; 140 };
141 141
142 } // namespace blink 142 } // namespace blink
143 143
144 #endif // SpellChecker_h 144 #endif // SpellChecker_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698