Home
last modified time | relevance | path

Searched refs:translate_driver_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/components/translate/core/browser/
Dtranslate_manager.cc78 translate_driver_(translate_client_->GetTranslateDriver()), in TranslateManager()
79 language_state_(translate_driver_), in TranslateManager()
118 if (translate_driver_->GetContentsMimeType() == "multipart/related") { in InitiateTranslation()
126 const GURL& page_url = translate_driver_->GetVisibleURL(); in InitiateTranslation()
184 if (!translate_driver_->IsOffTheRecord()) { in InitiateTranslation()
220 if (!translate_driver_->HasCurrentPage()) { in TranslatePage()
258 translate_driver_->RevertTranslation(page_seq_no_); in RevertTranslation()
270 translate_driver_->GetActiveURL().spec()); in ReportLanguageDetectionError()
287 translate_driver_->TranslatePage( in DoTranslatePage()
310 !translate_driver_->IsOffTheRecord()) { in PageTranslated()
[all …]
Dlanguage_state.cc14 translate_driver_(driver), in LanguageState()
20 DCHECK(translate_driver_); in LanguageState()
77 translate_driver_->IsLinkNavigation(); in InTranslateNavigation()
97 translate_driver_->OnTranslateEnabledChanged(); in SetTranslateEnabled()
109 translate_driver_->OnIsPageTranslatedChanged(); in SetIsPageTranslated()
Dtranslate_ui_delegate.cc40 : translate_driver_( in TranslateUIDelegate()
46 DCHECK(translate_driver_); in TranslateUIDelegate()
162 if (!translate_driver_->IsOffTheRecord()) { in Translate()
182 if (!translate_driver_->IsOffTheRecord()) { in TranslationDeclined()
258 if (!translate_driver_->HasCurrentPage()) in GetPageHost()
260 return translate_driver_->GetActiveURL().HostNoBrackets(); in GetPageHost()
Dlanguage_state.h97 TranslateDriver* translate_driver_; variable
Dtranslate_ui_delegate.h103 TranslateDriver* translate_driver_; variable
Dtranslate_manager.h122 TranslateDriver* translate_driver_; // Weak. variable
/external/chromium_org/chrome/browser/translate/
Dchrome_translate_client.cc59 translate_driver_(&web_contents->GetController()), in ChromeTranslateClient()
64 translate_driver_.AddObserver(this); in ChromeTranslateClient()
65 translate_driver_.set_translate_manager(translate_manager_.get()); in ChromeTranslateClient()
85 translate_driver_.RemoveObserver(this); in ~ChromeTranslateClient()
207 return &translate_driver_; in GetTranslateDriver()
Dchrome_translate_client.h52 return translate_driver_; in translate_driver()
119 translate::ContentTranslateDriver translate_driver_; variable