Searched defs:badGrammarLength (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/
H A DSpellCheckerClientImpl.cpp179 void SpellCheckerClientImpl::checkGrammarOfString(const String& text, WTF::Vector<GrammarDetail>& details, int* badGrammarLocation, int* badGrammarLength) argument
183 if (badGrammarLength)
184 *badGrammarLength = 0;
195 // badGrammarLocation and badGrammarLength to tell WebKit that the input
210 if (badGrammarLength)
211 *badGrammarLength = text.length();
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DTextCheckingHelper.cpp53 int badGrammarLength = 0; local
55 client.checkGrammarOfString(String(text + checkLocation, checkLength), badGrammarDetails, &badGrammarLocation, &badGrammarLength);
56 if (!badGrammarLength)
59 ASSERT(0 < badGrammarLength && badGrammarLocation + badGrammarLength <= checkLength);
63 badGrammar.length = badGrammarLength;
67 checkLocation += (badGrammarLocation + badGrammarLength);
68 checkLength -= (badGrammarLocation + badGrammarLength);

Completed in 75 milliseconds