Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/ui/gtk/infobars/
Dafter_translate_infobar_gtk.cc43 size_t target_language_index = GetDelegate()->target_language_index(); in PlatformSpecificSetOwner() local
44 bool exclude_the_other = original_language_index != target_language_index; in PlatformSpecificSetOwner()
51 target_language_index : TranslateInfoBarDelegate::kNoIndex); in PlatformSpecificSetOwner()
56 target_language_index, in PlatformSpecificSetOwner()
118 if (index == GetDelegate()->target_language_index()) in OnTargetLanguageModified()
Dbefore_translate_infobar_gtk.cc37 size_t target_language_index = GetDelegate()->target_language_index(); in PlatformSpecificSetOwner() local
38 bool exclude_the_other = original_language_index != target_language_index; in PlatformSpecificSetOwner()
41 exclude_the_other ? target_language_index : in PlatformSpecificSetOwner()
/external/chromium/chrome/browser/ui/gtk/infobars/
Dafter_translate_infobar_gtk.cc37 GetDelegate()->target_language_index()); in Init()
41 CreateLanguageCombobox(GetDelegate()->target_language_index(), in Init()
85 if (index == GetDelegate()->target_language_index()) in OnTargetLanguageModified()
Dbefore_translate_infobar_gtk.cc36 GetDelegate()->target_language_index()); in Init()
/external/chromium/chrome/browser/translate/
Dlanguages_menu_model.cc28 translate_infobar_delegate_->target_language_index()); in IsCommandIdChecked()
34 translate_infobar_delegate_->target_language_index() : in IsCommandIdEnabled()
Dtranslate_infobar_delegate.cc45 DCHECK_NE(kNoIndex, delegate->target_language_index()); in CreateDelegate()
79 return GetLanguageCodeAt(target_language_index()); in GetTargetLanguageCode()
109 GetLanguageCodeAt(target_language_index())); in Translate()
Doptions_menu_model.cc35 translate_delegate->target_language_index()); in OptionsMenuModel()
Dtranslate_infobar_delegate.h74 size_t target_language_index() const { return target_language_index_; } in target_language_index() function
/external/chromium_org/chrome/browser/ui/android/infobars/
Dtranslate_infobar.cc49 delegate->target_language_index(), delegate->ShouldAlwaysTranslate(), in CreateRenderInfoBar()
88 int target_language_index, in ApplyTranslateOptions() argument
94 delegate->UpdateTargetLanguageIndex(target_language_index); in ApplyTranslateOptions()
Dtranslate_infobar.h22 int target_language_index,
/external/chromium_org/chrome/browser/ui/views/infobars/
Dtranslate_language_menu_model.cc36 infobar_delegate_->target_language_index() : in IsCommandIdEnabled()
63 infobar_delegate_->target_language_index(); in GetLanguageIndex()
Dafter_translate_infobar.cc144 delegate->language_name_at(delegate->target_language_index())); in ViewHierarchyChanged()
/external/chromium_org/chrome/browser/translate/
Dtranslate_infobar_delegate.cc174 language_name_at(target_language_index()); in GetMessageInfoBarText()
198 language_name_at(target_language_index())); in GetMessageInfoBarText()
202 language_name_at(target_language_index())); in GetMessageInfoBarText()
Doptions_menu_model.cc34 translate_delegate->target_language_index()); in OptionsMenuModel()
Dtranslate_infobar_delegate.h94 size_t target_language_index() const { in target_language_index() function
/external/chromium/chrome/browser/ui/views/infobars/
Dtranslate_infobar_base.cc85 delegate->target_language_index()))); in UpdateLanguageButtonText()
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dtranslate_infobar_base.mm142 if (newLanguageIdxSizeT == [self delegate]->target_language_index())
263 i != [self delegate]->target_language_index(),
271 i == [self delegate]->target_language_index());
279 selectItemAtIndex:([self delegate]->target_language_index())];
/external/chromium/chrome/browser/ui/cocoa/translate/
Dtranslate_infobar_base.mm232 if (newLanguageIdxSizeT == [self delegate]->target_language_index())
383 static_cast<int>([self delegate]->target_language_index());
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc3693 size_t target_language_index = TranslateInfoBarDelegate::kNoIndex; in SelectTranslateOption() local
3696 target_language_index = i; in SelectTranslateOption()
3700 if (target_language_index == TranslateInfoBarDelegate::kNoIndex) { in SelectTranslateOption()
3710 translate_bar->SetTargetLanguage(target_language_index); in SelectTranslateOption()
3714 translate_bar->SetTargetLanguage(target_language_index); in SelectTranslateOption()