Searched refs:SpellingServiceClient (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/spellchecker/
H A Dspelling_service_client.cc40 SpellingServiceClient::SpellingServiceClient() { function in class:SpellingServiceClient
43 SpellingServiceClient::~SpellingServiceClient() {
48 bool SpellingServiceClient::RequestTextCheck(
101 bool SpellingServiceClient::IsAvailable(Profile* profile, ServiceType type) {
136 bool SpellingServiceClient::ParseResponse(
227 SpellingServiceClient::TextCheckCallbackData::TextCheckCallbackData(
234 SpellingServiceClient::TextCheckCallbackData::~TextCheckCallbackData() {
237 void SpellingServiceClient
[all...]
H A Dspelling_service_client.h32 // callback method. A simple usage is creating a SpellingServiceClient and
48 // client_.reset(new SpellingServiceClient);
54 // scoped_ptr<SpellingServiceClient> client_;
57 class SpellingServiceClient : public net::URLFetcherDelegate { class in inherits:net::URLFetcherDelegate
75 SpellingServiceClient();
76 virtual ~SpellingServiceClient();
H A Dspelling_service_client_unittest.cc27 // verifies JSON-RPC requests when the SpellingServiceClient class sends them to
28 // the Spelling service. This class also verifies the SpellingServiceClient
113 // A class derived from the SpellingServiceClient class used by the
117 class TestingSpellingServiceClient : public SpellingServiceClient {
190 // A test class used for testing the SpellingServiceClient class. This class
191 // implements a callback function used by the SpellingServiceClient class to
210 // Verifies that SpellingServiceClient::RequestTextCheck() creates a JSON
215 // SpellingServiceClient::OnURLFetchComplete() with the parameters set by this
223 SpellingServiceClient::ServiceType request_type;
232 SpellingServiceClient
[all...]
H A Dspellcheck_message_filter_mac.cc33 SpellingRequest(SpellingServiceClient* client,
67 SpellingServiceClient* client_; // Owned by |destination|.
77 SpellingRequest::SpellingRequest(SpellingServiceClient* client,
119 SpellingServiceClient::SPELLCHECK,
195 client_(new SpellingServiceClient) {
H A Dspellcheck_message_filter.h73 scoped_ptr<SpellingServiceClient> client_;
H A Dspellcheck_message_filter_mac.h57 scoped_ptr<SpellingServiceClient> client_;
H A Dspellcheck_message_filter.cc28 client_(new SpellingServiceClient) {
183 SpellingServiceClient::SPELLCHECK,
/external/chromium_org/chrome/browser/tab_contents/
H A Dspelling_menu_observer.h56 SpellingServiceClient::ServiceType type,
104 scoped_ptr<SpellingServiceClient> client_;
H A Dspelling_menu_observer.cc42 client_(new SpellingServiceClient) {
73 bool use_suggestions = SpellingServiceClient::IsAvailable(
74 profile, SpellingServiceClient::SUGGEST);
87 // The service types |SpellingServiceClient::SPELLCHECK| and
88 // |SpellingServiceClient::SUGGEST| are mutually exclusive. Only one is
91 // When |SpellingServiceClient::SPELLCHECK| is available, the contextual
92 // suggestions from |SpellingServiceClient| are already stored in
95 // |SpellingMenuObserver| queried |SpellingServiceClient| again, then quality
99 // When |SpellingServiceClient::SUGGEST| is available,
101 // dictionary. |SpellingMenuObserver| queries |SpellingServiceClient| wit
[all...]
H A Dspelling_menu_observer_browsertest.cc319 // SpellingServiceClient::SUGGEST is on.
327 EXPECT_TRUE(SpellingServiceClient::IsAvailable(menu()->GetProfile(),
328 SpellingServiceClient::SUGGEST));
367 EXPECT_TRUE(SpellingServiceClient::IsAvailable(menu()->GetProfile(),
368 SpellingServiceClient::SPELLCHECK));
407 EXPECT_FALSE(SpellingServiceClient::IsAvailable(menu()->GetProfile(),
408 SpellingServiceClient::SUGGEST));
409 EXPECT_FALSE(SpellingServiceClient::IsAvailable(menu()->GetProfile(),
410 SpellingServiceClient::SPELLCHECK));
442 // or if the SpellingServiceClient i
[all...]

Completed in 292 milliseconds