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

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

Issue 2579713002: Remove unused function SpellChecker::requestTextChecking (Closed)
Patch Set: Created 4 years 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/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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void spellCheckAfterBlur(); 76 void spellCheckAfterBlur();
77 77
78 void didEndEditingOnTextField(Element*); 78 void didEndEditingOnTextField(Element*);
79 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, 79 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType,
80 int from, 80 int from,
81 int length) const; 81 int length) const;
82 bool selectionStartHasSpellingMarkerFor(int from, int length) const; 82 bool selectionStartHasSpellingMarkerFor(int from, int length) const;
83 void updateMarkersForWordsAffectedByEditing( 83 void updateMarkersForWordsAffectedByEditing(
84 bool onlyHandleWordsContainingSelection); 84 bool onlyHandleWordsContainingSelection);
85 void cancelCheck(); 85 void cancelCheck();
86 void requestTextChecking(const Element&);
87 86
88 // Exposed for testing only 87 // Exposed for testing only
89 SpellCheckRequester& spellCheckRequester() const { 88 SpellCheckRequester& spellCheckRequester() const {
90 return *m_spellCheckRequester; 89 return *m_spellCheckRequester;
91 } 90 }
92 91
93 // The leak detector will report leaks should queued requests be posted 92 // The leak detector will report leaks should queued requests be posted
94 // while it GCs repeatedly, as the requests keep their associated element 93 // while it GCs repeatedly, as the requests keep their associated element
95 // alive. 94 // alive.
96 // 95 //
(...skipping 27 matching lines...) Expand all
124 void spellCheckOldSelection(const Position& oldSelectionStart, 123 void spellCheckOldSelection(const Position& oldSelectionStart,
125 const VisibleSelection& newAdjacentWords); 124 const VisibleSelection& newAdjacentWords);
126 125
127 Member<LocalFrame> m_frame; 126 Member<LocalFrame> m_frame;
128 const Member<SpellCheckRequester> m_spellCheckRequester; 127 const Member<SpellCheckRequester> m_spellCheckRequester;
129 }; 128 };
130 129
131 } // namespace blink 130 } // namespace blink
132 131
133 #endif // SpellChecker_h 132 #endif // SpellChecker_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698