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

Side by Side Diff: Source/core/editing/SpellChecker.h

Issue 350993002: Remove an unused argument from SpellChecker::spellCheckOldSelection. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | Source/core/editing/SpellChecker.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask, Range* s pellingRange, Range* grammarRange); 66 void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask, Range* s pellingRange, Range* grammarRange);
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&);
74 void removeSpellingMarkers(); 74 void removeSpellingMarkers();
75 void spellCheckAfterBlur(); 75 void spellCheckAfterBlur();
76 void spellCheckOldSelection(const VisibleSelection& oldSelection, const Visi bleSelection& newAdjacentWords, const VisibleSelection& newSelectedSentence); 76 void spellCheckOldSelection(const VisibleSelection& oldSelection, const Visi bleSelection& newAdjacentWords);
77 77
78 void didEndEditingOnTextField(Element*); 78 void didEndEditingOnTextField(Element*);
79 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, int from, int le ngth) const; 79 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, int from, int le ngth) const;
80 bool selectionStartHasSpellingMarkerFor(int from, int length) const; 80 bool selectionStartHasSpellingMarkerFor(int from, int length) const;
81 void updateMarkersForWordsAffectedByEditing(bool onlyHandleWordsContainingSe lection); 81 void updateMarkersForWordsAffectedByEditing(bool onlyHandleWordsContainingSe lection);
82 void cancelCheck(); 82 void cancelCheck();
83 void chunkAndMarkAllMisspellingsAndBadGrammar(Node*); 83 void chunkAndMarkAllMisspellingsAndBadGrammar(Node*);
84 void requestTextChecking(const Element&); 84 void requestTextChecking(const Element&);
85 85
86 // Exposed for testing only 86 // Exposed for testing only
(...skipping 10 matching lines...) Expand all
97 97
98 bool unifiedTextCheckerEnabled() const; 98 bool unifiedTextCheckerEnabled() const;
99 99
100 void chunkAndMarkAllMisspellingsAndBadGrammar(TextCheckingTypeMask textCheck ingOptions, const TextCheckingParagraph& fullParagraphToCheck, bool asynchronous ); 100 void chunkAndMarkAllMisspellingsAndBadGrammar(TextCheckingTypeMask textCheck ingOptions, const TextCheckingParagraph& fullParagraphToCheck, bool asynchronous );
101 void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask textCheck ingOptions, Range* checkingRange, Range* paragraphRange, bool asynchronous, int requestNumber, int* checkingLength = 0); 101 void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask textCheck ingOptions, Range* checkingRange, Range* paragraphRange, bool asynchronous, int requestNumber, int* checkingLength = 0);
102 }; 102 };
103 103
104 } // namespace WebCore 104 } // namespace WebCore
105 105
106 #endif // SpellChecker_h 106 #endif // SpellChecker_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/editing/SpellChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698