Home
last modified time | relevance | path

Searched refs:last_results_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/renderer/spellchecker/
Dspellcheck_provider.cc71 last_results_.assign(blink::WebVector<blink::WebTextCheckingResult>()); in RequestTextChecking()
238 last_results_.swap(textcheck_results); in OnRespondSpellingService()
324 completion->didFinishCheckingText(last_results_); in SatisfyRequestFromCache()
341 for (size_t i = 0; i < last_results_.size(); ++i) { in SatisfyRequestFromCache()
342 size_t start = last_results_[i].location; in SatisfyRequestFromCache()
343 size_t end = start + last_results_[i].length; in SatisfyRequestFromCache()
350 results[i].decoration = last_results_[i].decoration; in SatisfyRequestFromCache()
351 results[i].location = last_results_[i].location; in SatisfyRequestFromCache()
352 results[i].length = last_results_[i].length; in SatisfyRequestFromCache()
353 results[i].replacement = last_results_[i].replacement; in SatisfyRequestFromCache()
Dspellcheck_unittest.cc119 last_results_ = results; in didFinishCheckingText()
127 blink::WebVector<blink::WebTextCheckingResult> last_results_; member in MockTextCheckingCompletion
1034 EXPECT_EQ(completion.last_results_.size(), 1U); in TEST_F()
1035 EXPECT_EQ(completion.last_results_[0].location, 7); in TEST_F()
1036 EXPECT_EQ(completion.last_results_[0].length, 2); in TEST_F()
1049 EXPECT_EQ(completion.last_results_.size(), 2U); in TEST_F()
1050 EXPECT_EQ(completion.last_results_[0].location, 7); in TEST_F()
1051 EXPECT_EQ(completion.last_results_[0].length, 2); in TEST_F()
1052 EXPECT_EQ(completion.last_results_[1].location, 19); in TEST_F()
1053 EXPECT_EQ(completion.last_results_[1].length, 2); in TEST_F()
[all …]
Dspellcheck_provider_test.cc84 last_results_ = results; in OnCallSpellingService()
Dspellcheck_provider.h120 blink::WebVector<blink::WebTextCheckingResult> last_results_; variable