/external/chromium/chrome/common/ |
translate_errors.h | 11 class TranslateErrors { 26 TranslateErrors() {} 28 DISALLOW_COPY_AND_ASSIGN(TranslateErrors);
|
/external/chromium_org/chrome/common/translate/ |
translate_errors.h | 11 // Note: TranslateErrors is used for UMA and translate_internals.js. 16 class TranslateErrors { 36 TranslateErrors() {} 38 DISALLOW_COPY_AND_ASSIGN(TranslateErrors);
|
/external/chromium_org/chrome/browser/translate/ |
page_translated_details.h | 16 TranslateErrors::Type error_type;
|
translate_error_details.h | 20 TranslateErrors::Type error;
|
translate_infobar_delegate.cc | 41 TranslateErrors::Type error_type, 182 TranslateErrors::TRANSLATE_ERROR_MAX); 185 case TranslateErrors::NETWORK: 188 case TranslateErrors::INITIALIZATION_ERROR: 189 case TranslateErrors::TRANSLATION_ERROR: 192 case TranslateErrors::UNKNOWN_LANGUAGE: 195 case TranslateErrors::UNSUPPORTED_LANGUAGE: 199 case TranslateErrors::IDENTICAL_LANGUAGES: 212 } else if ((error_type_ != TranslateErrors::IDENTICAL_LANGUAGES) && 213 (error_type_ != TranslateErrors::UNKNOWN_LANGUAGE)) [all...] |
translate_infobar_delegate.h | 68 TranslateErrors::Type error_type, 87 TranslateErrors::Type error_type() const { return error_type_; } 181 TranslateErrors::Type error_type, 210 TranslateErrors::Type error_type_;
|
translate_tab_helper.h | 38 TranslateErrors::Type error_type);
|
translate_manager.cc | 425 TranslateErrors::NONE); 431 language_code, target_lang, TranslateErrors::NONE, profile->GetPrefs(), 487 TranslateErrors::NONE); 493 target_lang, TranslateErrors::NONE, profile->GetPrefs(), 601 if ((details->error_type == TranslateErrors::NONE) && 604 details->error_type = TranslateErrors::UNSUPPORTED_LANGUAGE; 609 (details->error_type == TranslateErrors::NONE) ? 618 (details->error_type == TranslateErrors::NONE) ? 625 if (details->error_type != TranslateErrors::NONE && 683 TranslateErrors::NETWORK) [all...] |
translate_ui_delegate.cc | 91 void TranslateUIDelegate::OnErrorShown(TranslateErrors::Type error_type) { 92 DCHECK_LE(TranslateErrors::NONE, error_type); 93 DCHECK_LT(error_type, TranslateErrors::TRANSLATE_ERROR_MAX); 95 if (error_type == TranslateErrors::NONE) 99 TranslateErrors::TRANSLATE_ERROR_MAX);
|
translate_tab_helper.cc | 60 TranslateErrors::Type error_type) {
|
translate_ui_delegate.h | 39 void OnErrorShown(TranslateErrors::Type error_type);
|
/external/chromium/chrome/browser/translate/ |
page_translated_details.h | 17 TranslateErrors::Type in_error_type) 24 TranslateErrors::Type error_type;
|
translate_infobar_delegate.h | 51 TranslateErrors::Type error_type, 71 TranslateErrors::Type error() const { return error_; } 152 TranslateErrors::Type error, 199 TranslateErrors::Type error_;
|
translate_tab_helper.h | 32 TranslateErrors::Type error_type);
|
translate_infobar_delegate.cc | 43 new TranslateInfoBarDelegate(type, TranslateErrors::NONE, tab_contents, 50 TranslateErrors::Type error, 207 case TranslateErrors::NETWORK: 210 case TranslateErrors::INITIALIZATION_ERROR: 211 case TranslateErrors::TRANSLATION_ERROR: 214 case TranslateErrors::UNKNOWN_LANGUAGE: 217 case TranslateErrors::UNSUPPORTED_LANGUAGE: 221 case TranslateErrors::IDENTICAL_LANGUAGES: 234 } else if ((error_ != TranslateErrors::IDENTICAL_LANGUAGES) && 235 (error_ != TranslateErrors::UNKNOWN_LANGUAGE)) [all...] |
translate_tab_helper.cc | 53 TranslateErrors::Type error_type) {
|
/external/chromium_org/chrome/browser/ui/translate/ |
translate_bubble_factory.h | 27 TranslateErrors::Type error_type); 39 TranslateErrors::Type error_type) = 0;
|
translate_bubble_factory.cc | 15 TranslateErrors::Type error_type) { 31 TranslateErrors::Type error_type) {
|
translate_bubble_model.h | 44 virtual void ShowError(TranslateErrors::Type error_type) = 0;
|
translate_bubble_model_impl.h | 26 virtual void ShowError(TranslateErrors::Type error_type) OVERRIDE;
|
/external/chromium_org/chrome/renderer/translate/ |
translate_script_browsertest.cc | 147 EXPECT_EQ(TranslateErrors::NONE, GetErrorCode()); 158 EXPECT_EQ(TranslateErrors::INITIALIZATION_ERROR, GetErrorCode()); 166 EXPECT_EQ(TranslateErrors::NONE, GetErrorCode()); 171 EXPECT_EQ(TranslateErrors::NONE, GetErrorCode()); 181 EXPECT_EQ(TranslateErrors::NONE, GetErrorCode()); 186 EXPECT_EQ(TranslateErrors::UNEXPECTED_SCRIPT_ERROR, GetErrorCode()); 197 EXPECT_EQ(TranslateErrors::NONE, GetErrorCode()); 202 EXPECT_EQ(TranslateErrors::TRANSLATION_ERROR, GetErrorCode()); 214 EXPECT_EQ(TranslateErrors::NONE, GetErrorCode()); 219 EXPECT_EQ(TranslateErrors::TRANSLATION_ERROR, GetErrorCode()) [all...] |
translate_helper_browsertest.cc | 72 TranslateErrors::Type* error) { 77 Tuple4<int, std::string, std::string, TranslateErrors::Type> 116 TranslateErrors::Type error; 119 EXPECT_EQ(TranslateErrors::INITIALIZATION_ERROR, error); 158 TranslateErrors::Type error; 166 EXPECT_EQ(TranslateErrors::NONE, error); 203 TranslateErrors::Type error; 206 EXPECT_EQ(TranslateErrors::TRANSLATION_ERROR, error); 241 TranslateErrors::Type error; 249 EXPECT_EQ(TranslateErrors::NONE, error) [all...] |
translate_helper.cc | 396 NotifyBrowserTranslationFailed(TranslateErrors::TRANSLATION_ERROR); 407 NotifyBrowserTranslationFailed(TranslateErrors::UNKNOWN_LANGUAGE); 410 NotifyBrowserTranslationFailed(TranslateErrors::IDENTICAL_LANGUAGES); 431 actual_source_lang, target_lang_, TranslateErrors::NONE)); 452 NotifyBrowserTranslationFailed(TranslateErrors::INITIALIZATION_ERROR); 472 NotifyBrowserTranslationFailed(TranslateErrors::TRANSLATION_ERROR); 484 TranslateErrors::Type error) {
|
/external/chromium_org/chrome/browser/ui/views/translate/ |
translate_bubble_view.h | 45 TranslateErrors::Type error_type, 123 TranslateErrors::Type error_type, 164 void SwitchToErrorView(TranslateErrors::Type error_type); 191 TranslateErrors::Type error_type_;
|
translate_bubble_view_unittest.cc | 22 error_type_(TranslateErrors::NONE), 45 virtual void ShowError(TranslateErrors::Type error_type) OVERRIDE { 115 TranslateErrors::Type error_type_; 154 TranslateErrors::NONE, 199 bubble_->SwitchToErrorView(TranslateErrors::NETWORK); 201 EXPECT_EQ(TranslateErrors::NETWORK, mock_model_->error_type_);
|