Home
last modified time | relevance | path

Searched refs:TranslateManager (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/components/translate/core/browser/
Dtranslate_manager.cc39 TranslateManager::TranslateErrorCallbackList* g_callback_list_ = NULL;
61 TranslateManager::~TranslateManager() {} in ~TranslateManager()
64 scoped_ptr<TranslateManager::TranslateErrorCallbackList::Subscription>
65 TranslateManager::RegisterTranslateErrorCallback( in RegisterTranslateErrorCallback()
66 const TranslateManager::TranslateErrorCallback& callback) { in RegisterTranslateErrorCallback()
72 TranslateManager::TranslateManager( in TranslateManager() function in translate::TranslateManager
83 base::WeakPtr<TranslateManager> TranslateManager::GetWeakPtr() { in GetWeakPtr()
87 void TranslateManager::InitiateTranslation(const std::string& page_lang) { in InitiateTranslation()
217 void TranslateManager::TranslatePage(const std::string& original_source_lang, in TranslatePage()
251 &TranslateManager::OnTranslateScriptFetchComplete, GetWeakPtr(), in TranslatePage()
[all …]
Dtranslate_manager.h33 class TranslateManager {
38 TranslateManager(TranslateClient* translate_client,
40 virtual ~TranslateManager();
43 base::WeakPtr<TranslateManager> GetWeakPtr();
126 base::WeakPtrFactory<TranslateManager> weak_method_factory_;
128 DISALLOW_COPY_AND_ASSIGN(TranslateManager);
Dtranslate_infobar_delegate.h30 class TranslateManager; variable
58 const base::WeakPtr<TranslateManager>& translate_manager,
181 const base::WeakPtr<TranslateManager>& translate_manager,
209 base::WeakPtr<TranslateManager> translate_manager_;
Dtranslate_ui_delegate.h22 class TranslateManager; variable
31 TranslateUIDelegate(const base::WeakPtr<TranslateManager>& translate_manager,
104 base::WeakPtr<TranslateManager> translate_manager_;
Dtranslate_infobar_delegate.cc55 const base::WeakPtr<TranslateManager>& translate_manager, in Create()
314 const base::WeakPtr<TranslateManager>& translate_manager, in TranslateInfoBarDelegate()
Dtranslate_ui_delegate.cc37 const base::WeakPtr<TranslateManager>& translate_manager, in TranslateUIDelegate()
/external/chromium_org/chrome/browser/translate/
Dchrome_translate_client.h35 class TranslateManager; variable
66 static translate::TranslateManager* GetManagerFromWebContents(
75 translate::TranslateManager* GetTranslateManager();
120 scoped_ptr<translate::TranslateManager> translate_manager_;
Dchrome_translate_client.cc61 new translate::TranslateManager(this, prefs::kAcceptLanguages)), in ChromeTranslateClient()
112 translate::TranslateManager* ChromeTranslateClient::GetManagerFromWebContents( in GetManagerFromWebContents()
145 translate::TranslateManager::GetAutoTargetLanguage( in GetTranslateLanguages()
157 translate::TranslateManager::GetTargetLanguage(accept_languages_list); in GetTranslateLanguages()
160 translate::TranslateManager* ChromeTranslateClient::GetTranslateManager() { in GetTranslateManager()
Dtranslate_service.cc109 return translate::TranslateManager::GetTargetLanguage(accept_languages_list); in GetTargetLanguage()
/external/chromium_org/components/translate/content/browser/
Dcontent_translate_driver.h23 class TranslateManager; variable
66 void set_translate_manager(TranslateManager* manager) { in set_translate_manager()
110 TranslateManager* translate_manager_;
/external/chromium_org/chrome/browser/ui/webui/translate_internals/
Dtranslate_internals_handler.h84 translate::TranslateManager::TranslateErrorCallbackList::Subscription>
Dtranslate_internals_handler.cc38 translate::TranslateManager::RegisterTranslateErrorCallback( in TranslateInternalsHandler()
/external/chromium_org/chrome/browser/renderer_context_menu/
Drender_view_context_menu.cc1571 translate::TranslateManager* manager = in ExecuteCommand()