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.cc70 last_results_.assign(blink::WebVector<blink::WebTextCheckingResult>()); in RequestTextChecking()
237 last_results_.swap(textcheck_results); in OnRespondSpellingService()
323 completion->didFinishCheckingText(last_results_); in SatisfyRequestFromCache()
340 for (size_t i = 0; i < last_results_.size(); ++i) { in SatisfyRequestFromCache()
341 size_t start = last_results_[i].location; in SatisfyRequestFromCache()
342 size_t end = start + last_results_[i].length; in SatisfyRequestFromCache()
349 results[i].decoration = last_results_[i].decoration; in SatisfyRequestFromCache()
350 results[i].location = last_results_[i].location; in SatisfyRequestFromCache()
351 results[i].length = last_results_[i].length; in SatisfyRequestFromCache()
352 results[i].replacement = last_results_[i].replacement; in SatisfyRequestFromCache()
Dspellcheck_unittest.cc120 last_results_ = results; in didFinishCheckingText()
128 blink::WebVector<blink::WebTextCheckingResult> last_results_; member in MockTextCheckingCompletion
1021 EXPECT_EQ(completion.last_results_.size(), 1U); in TEST_F()
1022 EXPECT_EQ(completion.last_results_[0].location, 7); in TEST_F()
1023 EXPECT_EQ(completion.last_results_[0].length, 2); in TEST_F()
1036 EXPECT_EQ(completion.last_results_.size(), 2U); in TEST_F()
1037 EXPECT_EQ(completion.last_results_[0].location, 7); in TEST_F()
1038 EXPECT_EQ(completion.last_results_[0].length, 2); in TEST_F()
1039 EXPECT_EQ(completion.last_results_[1].location, 19); in TEST_F()
1040 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