Home
last modified time | relevance | path

Searched refs:original_language_index (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/chrome/browser/ui/gtk/infobars/
Dafter_translate_infobar_gtk.cc31 GetDelegate()->original_language_index() == in PlatformSpecificSetOwner()
42 size_t original_language_index = GetDelegate()->original_language_index(); in PlatformSpecificSetOwner() local
44 bool exclude_the_other = original_language_index != target_language_index; in PlatformSpecificSetOwner()
49 original_language_index, in PlatformSpecificSetOwner()
57 exclude_the_other ? original_language_index : in PlatformSpecificSetOwner()
103 if (index == GetDelegate()->original_language_index()) in OnOriginalLanguageModified()
Dbefore_translate_infobar_gtk.cc36 size_t original_language_index = GetDelegate()->original_language_index(); in PlatformSpecificSetOwner() local
38 bool exclude_the_other = original_language_index != target_language_index; in PlatformSpecificSetOwner()
40 original_language_index, in PlatformSpecificSetOwner()
66 delegate->language_name_at(delegate->original_language_index())); in PlatformSpecificSetOwner()
76 delegate->language_name_at(delegate->original_language_index())); in PlatformSpecificSetOwner()
/external/chromium/chrome/browser/ui/gtk/infobars/
Dbefore_translate_infobar_gtk.cc35 CreateLanguageCombobox(GetDelegate()->original_language_index(), in Init()
59 delegate->original_language_index())); in Init()
70 delegate->original_language_index())); in Init()
84 if (index == GetDelegate()->original_language_index()) in OnLanguageModified()
Dafter_translate_infobar_gtk.cc36 CreateLanguageCombobox(GetDelegate()->original_language_index(), in Init()
42 GetDelegate()->original_language_index()); in Init()
73 if (index == GetDelegate()->original_language_index()) in OnOriginalLanguageModified()
/external/chromium/chrome/browser/translate/
Dlanguages_menu_model.cc27 translate_infobar_delegate_->original_language_index() : in IsCommandIdChecked()
35 translate_infobar_delegate_->original_language_index()); in IsCommandIdEnabled()
Dtranslate_infobar_delegate.cc73 return (original_language_index() == kNoIndex) ? in GetOriginalLanguageCode()
75 GetLanguageCodeAt(original_language_index()); in GetOriginalLanguageCode()
108 GetLanguageCodeAt(original_language_index()), in Translate()
Doptions_menu_model.cc33 translate_delegate->original_language_index()); in OptionsMenuModel()
Dtranslate_infobar_delegate.h73 size_t original_language_index() const { return original_language_index_; } in original_language_index() function
/external/chromium_org/chrome/browser/ui/views/infobars/
Dtranslate_language_menu_model.cc37 infobar_delegate_->original_language_index()); in IsCommandIdEnabled()
62 infobar_delegate_->original_language_index() : in GetLanguageIndex()
Dafter_translate_infobar.cc30 GetDelegate()->original_language_index() == in AfterTranslateInfoBar()
142 delegate->language_name_at(delegate->original_language_index())); in ViewHierarchyChanged()
Dbefore_translate_infobar.cc121 delegate->language_name_at(delegate->original_language_index())); in ViewHierarchyChanged()
148 delegate->language_name_at(delegate->original_language_index())); in ViewHierarchyChanged()
/external/chromium_org/chrome/browser/translate/
Doptions_menu_model.cc32 translate_delegate->original_language_index()); in OptionsMenuModel()
37 translate_delegate->original_language_index() == in OptionsMenuModel()
Dtranslate_infobar_delegate.h89 size_t original_language_index() const { in original_language_index() function
/external/chromium/chrome/browser/ui/views/infobars/
Dtranslate_infobar_base.cc84 delegate->original_language_index() : in UpdateLanguageButtonText()
Dbefore_translate_infobar.cc119 delegate->original_language_index())); in ViewHierarchyChanged()
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dtranslate_infobar_base.mm128 if (newLanguageIdxSizeT == [self delegate]->original_language_index())
264 i == [self delegate]->original_language_index());
270 i != [self delegate]->original_language_index(),
273 if ([self delegate]->original_language_index() !=
276 selectItemAtIndex:([self delegate]->original_language_index())];
Dafter_translate_infobar_controller.mm16 autodeterminedSourceLanguage_ = ([self delegate]->original_language_index() ==
Dbefore_translate_infobar_controller.mm50 delegate->language_name_at(delegate->original_language_index());
/external/chromium_org/chrome/browser/ui/android/infobars/
Dtranslate_infobar.cc48 delegate->infobar_type(), delegate->original_language_index(), in CreateRenderInfoBar()
/external/chromium/chrome/browser/ui/cocoa/translate/
Dbefore_translate_infobar_controller.mm39 delegate->original_language_index());
Dtranslate_infobar_base.mm221 if (newLanguageIdxSizeT == [self delegate]->original_language_index())
360 static_cast<int>([self delegate]->original_language_index());