Home
last modified time | relevance | path

Searched refs:GetDelegate (Results 1 – 20 of 20) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/infobars/
Dafter_translate_infobar_gtk.cc36 CreateLanguageCombobox(GetDelegate()->original_language_index(), in Init()
37 GetDelegate()->target_language_index()); in Init()
41 CreateLanguageCombobox(GetDelegate()->target_language_index(), in Init()
42 GetDelegate()->original_language_index()); in Init()
73 if (index == GetDelegate()->original_language_index()) in OnOriginalLanguageModified()
85 if (index == GetDelegate()->target_language_index()) in OnTargetLanguageModified()
94 GetDelegate()->RevertTranslation(); in OnRevertPressed()
98 GetDelegate()->SetOriginalLanguage(language_index); in SetOriginalLanguage()
102 GetDelegate()->SetTargetLanguage(language_index); in SetTargetLanguage()
Dbefore_translate_infobar_gtk.cc35 CreateLanguageCombobox(GetDelegate()->original_language_index(), in Init()
36 GetDelegate()->target_language_index()); in Init()
54 TranslateInfoBarDelegate* delegate = GetDelegate(); in Init()
84 if (index == GetDelegate()->original_language_index()) in OnLanguageModified()
87 GetDelegate()->SetOriginalLanguage(index); in OnLanguageModified()
91 GetDelegate()->Translate(); in OnAcceptPressed()
95 GetDelegate()->TranslationDeclined(); in OnDenyPressed()
100 GetDelegate()->NeverTranslatePageLanguage(); in OnNeverTranslatePressed()
104 GetDelegate()->AlwaysTranslatePageLanguage(); in OnAlwaysTranslatePressed()
Dtranslate_message_infobar_gtk.cc25 std::string text = UTF16ToUTF8(GetDelegate()->GetMessageInfoBarText()); in Init()
27 string16 button_text = GetDelegate()->GetMessageInfoBarButtonText(); in Init()
37 GetDelegate()->MessageInfoBarButtonPressed(); in OnButtonPressed()
Dlink_infobar_gtk.cc31 if (GetDelegate()->LinkClicked( in OnLinkClicked()
37 LinkInfoBarDelegate* LinkInfoBarGtk::GetDelegate() { in GetDelegate() function in LinkInfoBarGtk
Dtranslate_infobar_base_gtk.cc144 TranslateInfoBarDelegate* delegate = GetDelegate(); in CreateLanguageCombobox()
187 TranslateInfoBarDelegate* TranslateInfoBarBase::GetDelegate() const { in GetDelegate() function in TranslateInfoBarBase
214 options_menu_model_.reset(new OptionsMenuModel(GetDelegate())); in OnOptionsClicked()
Dlink_infobar_gtk.h25 LinkInfoBarDelegate* GetDelegate();
Dtranslate_infobar_base_gtk.h60 TranslateInfoBarDelegate* GetDelegate() const;
/external/chromium/chrome/browser/ui/views/infobars/
Dextension_infobar.cc53 if (GetDelegate()) { in ~ExtensionInfoBar()
54 GetDelegate()->extension_host()->view()->SetContainer(NULL); in ~ExtensionInfoBar()
55 GetDelegate()->set_observer(NULL); in ~ExtensionInfoBar()
66 GetDelegate()->extension_host()->view()->SetBounds( in Layout()
83 ExtensionHost* extension_host = GetDelegate()->extension_host(); in ViewHierarchyChanged()
116 ExtensionInfoBarDelegate* delegate = GetDelegate(); in OnExtensionPreferredSizeChanged()
141 if (!GetDelegate()) in OnImageLoaded()
169 GetDelegate()->extension_host()->view()->SetContainer(NULL); in OnDelegateDeleted()
174 const Extension* extension = GetDelegate()->extension_host()->extension(); in RunMenu()
190 ExtensionInfoBarDelegate* ExtensionInfoBar::GetDelegate() { in GetDelegate() function in ExtensionInfoBar
Dtranslate_infobar_base.cc63 GetDelegate()->background_animation_type(); in ViewHierarchyChanged()
81 TranslateInfoBarDelegate* delegate = GetDelegate(); in UpdateLanguageButtonText()
91 TranslateInfoBarDelegate* TranslateInfoBarBase::GetDelegate() { in GetDelegate() function in TranslateInfoBarBase
122 return GetDelegate()->IsError() ? error_background_ : *background(); in GetBackground()
Dconfirm_infobar.cc66 ConfirmInfoBarDelegate* delegate = GetDelegate(); in ViewHierarchyChanged()
98 ConfirmInfoBarDelegate* delegate = GetDelegate(); in ButtonPressed()
124 if (GetDelegate()->LinkClicked( in LinkActivated()
129 ConfirmInfoBarDelegate* ConfirmInfoBar::GetDelegate() { in GetDelegate() function in ConfirmInfoBar
Dlink_infobar.cc51 LinkInfoBarDelegate* delegate = GetDelegate(); in ViewHierarchyChanged()
74 if (GetDelegate()->LinkClicked( in LinkActivated()
79 LinkInfoBarDelegate* LinkInfoBar::GetDelegate() { in GetDelegate() function in LinkInfoBar
Dtranslate_message_infobar.cc41 TranslateInfoBarDelegate* delegate = GetDelegate(); in ViewHierarchyChanged()
60 GetDelegate()->MessageInfoBarButtonPressed(); in ButtonPressed()
Dlink_infobar.h30 LinkInfoBarDelegate* GetDelegate();
Dafter_translate_infobar.cc90 GetDelegate()->GetAfterTranslateStrings(&strings, &swapped_language_buttons_); in ViewHierarchyChanged()
132 GetDelegate()->RevertTranslation(); in ButtonPressed()
Dconfirm_infobar.h38 ConfirmInfoBarDelegate* GetDelegate();
Dtranslate_infobar_base.h40 TranslateInfoBarDelegate* GetDelegate();
Dbefore_translate_infobar.cc117 TranslateInfoBarDelegate* delegate = GetDelegate(); in ViewHierarchyChanged()
165 TranslateInfoBarDelegate* delegate = GetDelegate(); in ButtonPressed()
Dextension_infobar.h53 ExtensionInfoBarDelegate* GetDelegate();
/external/chromium/chrome/browser/speech/
Dspeech_input_manager.cc143 SpeechInputManagerDelegate* GetDelegate(int caller_id) const;
196 SpeechInputManagerDelegate* SpeechInputManagerImpl::GetDelegate( in GetDelegate() function in speech_input::SpeechInputManagerImpl
287 GetDelegate(caller_id)->SetRecognitionResult(caller_id, result); in SetRecognitionResult()
294 GetDelegate(caller_id)->DidCompleteRecording(caller_id); in DidCompleteRecording()
299 GetDelegate(caller_id)->DidCompleteRecognition(caller_id); in DidCompleteRecognition()
358 SpeechInputManagerDelegate* cur_delegate = GetDelegate(caller_id); in CancelRecognitionAndInformDelegate()
/external/chromium/net/spdy/
Dspdy_stream.h102 Delegate* GetDelegate() { return delegate_; } in GetDelegate() function