Home
last modified time | relevance | path

Searched refs:TranslateErrors (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/translate/
Dtranslate_infobar_delegate.cc43 new TranslateInfoBarDelegate(type, TranslateErrors::NONE, tab_contents, in CreateDelegate()
50 TranslateErrors::Type error, in CreateErrorDelegate()
207 case TranslateErrors::NETWORK: in GetMessageInfoBarText()
210 case TranslateErrors::INITIALIZATION_ERROR: in GetMessageInfoBarText()
211 case TranslateErrors::TRANSLATION_ERROR: in GetMessageInfoBarText()
214 case TranslateErrors::UNKNOWN_LANGUAGE: in GetMessageInfoBarText()
217 case TranslateErrors::UNSUPPORTED_LANGUAGE: in GetMessageInfoBarText()
221 case TranslateErrors::IDENTICAL_LANGUAGES: in GetMessageInfoBarText()
234 } else if ((error_ != TranslateErrors::IDENTICAL_LANGUAGES) && in GetMessageInfoBarButtonText()
235 (error_ != TranslateErrors::UNKNOWN_LANGUAGE)) { in GetMessageInfoBarButtonText()
[all …]
Dtranslate_infobar_delegate.h51 TranslateErrors::Type error_type,
71 TranslateErrors::Type error() const { return error_; } in error()
152 TranslateErrors::Type error,
199 TranslateErrors::Type error_;
Dpage_translated_details.h17 TranslateErrors::Type in_error_type) in PageTranslatedDetails()
24 TranslateErrors::Type error_type;
Dtranslate_manager_browsertest.cc311 TranslateErrors::NONE)); in TEST_F()
327 new_original_lang, "en", TranslateErrors::NONE)); in TEST_F()
342 new_original_lang, new_target_lang, TranslateErrors::NONE)); in TEST_F()
400 TranslateErrors::NONE)); in TEST_F()
416 TranslateErrors::IDENTICAL_LANGUAGES)); in TEST_F()
420 EXPECT_EQ(TranslateErrors::IDENTICAL_LANGUAGES, infobar->error()); in TEST_F()
429 TranslateErrors::UNKNOWN_LANGUAGE)); in TEST_F()
433 EXPECT_EQ(TranslateErrors::UNKNOWN_LANGUAGE, infobar->error()); in TEST_F()
518 TranslateErrors::NONE)); in TEST_F()
689 TranslateErrors::NONE)); in TEST_F()
[all …]
Dtranslate_tab_helper.h32 TranslateErrors::Type error_type);
Dtranslate_tab_helper.cc53 TranslateErrors::Type error_type) { in OnPageTranslated()
Dtranslate_manager.cc340 TranslateErrors::NETWORK, tab, in OnURLFetchComplete()
559 if (details->error_type != TranslateErrors::NONE) { in PageTranslated()
568 TranslateErrors::UNSUPPORTED_LANGUAGE, tab, in PageTranslated()
/external/chromium/chrome/common/
Dtranslate_errors.h11 class TranslateErrors {
26 TranslateErrors() {} in TranslateErrors() function
28 DISALLOW_COPY_AND_ASSIGN(TranslateErrors);
Drender_messages.h94 IPC_ENUM_TRAITS(TranslateErrors::Type)
411 TranslateErrors::Type /* the error type if available */)
/external/chromium/chrome/browser/ui/cocoa/translate/
Dtranslate_infobar_unittest.mm36 TranslateErrors::Type error,
94 TranslateErrors::Type error = TranslateErrors::NONE;
96 error = TranslateErrors::NETWORK;
Dtranslate_infobar_base.mm156 - (void)loadLabelText:(TranslateErrors::Type)error;
/external/chromium/chrome/browser/tab_contents/
Dtab_contents.h821 TranslateErrors::Type error_type);
/external/chromium/chrome/browser/automation/
Dautomation_provider_observers.cc1294 translated_details->error_type == TranslateErrors::NONE); in Observe()