Home
last modified time | relevance | path

Searched refs:TRANSLATION_ERROR (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/translate/
Dtranslate_infobar_delegate.cc45 if (infobar_type != TRANSLATION_ERROR) { in Create()
179 DCHECK_EQ(TRANSLATION_ERROR, infobar_type_); in GetMessageInfoBarText()
189 case TranslateErrors::TRANSLATION_ERROR: in GetMessageInfoBarText()
210 if (infobar_type_ != TRANSLATION_ERROR) { in GetMessageInfoBarButtonText()
222 DCHECK_EQ(TRANSLATION_ERROR, infobar_type_); in MessageInfoBarButtonPressed()
308 DCHECK_NE((infobar_type_ == TRANSLATION_ERROR), in TranslateInfoBarDelegate()
Dtranslate_infobar_delegate.h36 TRANSLATION_ERROR enumerator
109 bool is_error() const { return infobar_type_ == TRANSLATION_ERROR; } in is_error()
Dtranslate_manager_browsertest.cc519 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, in TEST_F()
544 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, in TEST_F()
570 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, in TEST_F()
584 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, in TEST_F()
964 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, in TEST_F()
Dtranslate_manager.cc620 TranslateInfoBarDelegate::TRANSLATION_ERROR, in PageTranslated()
688 true, web_contents, TranslateInfoBarDelegate::TRANSLATION_ERROR, in OnTranslateScriptFetchComplete()
/external/chromium/chrome/browser/translate/
Dtranslate_infobar_delegate.cc32 DCHECK_NE(TRANSLATION_ERROR, type); in CreateDelegate()
54 return new TranslateInfoBarDelegate(TRANSLATION_ERROR, error, tab_contents, in CreateErrorDelegate()
205 DCHECK_EQ(TRANSLATION_ERROR, type_); in GetMessageInfoBarText()
211 case TranslateErrors::TRANSLATION_ERROR: in GetMessageInfoBarText()
232 if (type_ != TRANSLATION_ERROR) { in GetMessageInfoBarButtonText()
244 DCHECK_EQ(TRANSLATION_ERROR, type_); in MessageInfoBarButtonPressed()
322 DCHECK_NE((type_ == TRANSLATION_ERROR), (error == TranslateErrors::NONE)); in TranslateInfoBarDelegate()
Dtranslate_infobar_delegate.h26 TRANSLATION_ERROR enumerator
87 bool IsError() const { return type_ == TRANSLATION_ERROR; } in IsError()
Dtranslate_manager_browsertest.cc369 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, infobar->type()); in TEST_F()
392 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, infobar->type()); in TEST_F()
419 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, infobar->type()); in TEST_F()
432 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, infobar->type()); in TEST_F()
770 EXPECT_EQ(TranslateInfoBarDelegate::TRANSLATION_ERROR, infobar->type()); in TEST_F()
/external/chromium/chrome/common/
Dtranslate_errors.h21 TRANSLATION_ERROR, // An error was reported by the translation script enumerator
/external/chromium_org/chrome/common/translate/
Dtranslate_errors.h26 TRANSLATION_ERROR, // An error was reported by the translation script enumerator
/external/chromium_org/chrome/renderer/translate/
Dtranslate_script_browsertest.cc202 EXPECT_EQ(TranslateErrors::TRANSLATION_ERROR, GetErrorCode()); in TEST_F()
219 EXPECT_EQ(TranslateErrors::TRANSLATION_ERROR, GetErrorCode()); in TEST_F()
Dtranslate_helper.cc396 NotifyBrowserTranslationFailed(TranslateErrors::TRANSLATION_ERROR); in CheckTranslateStatus()
472 NotifyBrowserTranslationFailed(TranslateErrors::TRANSLATION_ERROR); in TranslatePageImpl()
Dtranslate_helper_browsertest.cc206 EXPECT_EQ(TranslateErrors::TRANSLATION_ERROR, error); in TEST_F()
/external/chromium/chrome/browser/ui/cocoa/translate/
Dtranslate_infobar_unittest.mm30 TranslateInfoBarDelegate::TRANSLATION_ERROR
95 if (type == TranslateInfoBarDelegate::TRANSLATION_ERROR)
130 CreateInfoBar(TranslateInfoBarDelegate::TRANSLATION_ERROR);
Dtranslate_infobar_base.mm124 case TRANSLATION_ERROR:
515 state == TranslateInfoBarDelegate::TRANSLATION_ERROR);
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dtranslate_infobar_unittest.mm34 TranslateInfoBarDelegate::TRANSLATION_ERROR
88 if (type == TranslateInfoBarDelegate::TRANSLATION_ERROR)
143 CreateInfoBar(TranslateInfoBarDelegate::TRANSLATION_ERROR);
Dtranslate_infobar_base.mm46 case TRANSLATION_ERROR:
406 state == TranslateInfoBarDelegate::TRANSLATION_ERROR);
/external/chromium/chrome/browser/ui/views/infobars/
Dtranslate_infobar_base.cc32 case TRANSLATION_ERROR: in CreateInfoBar()
/external/chromium/chrome/browser/ui/gtk/infobars/
Dtranslate_infobar_base_gtk.cc231 case TRANSLATION_ERROR: in CreateInfoBar()
/external/chromium/chrome/browser/automation/
Dautomation_provider_observers.cc1343 type_to_string[TranslateInfoBarDelegate::TRANSLATION_ERROR] = in Observe()