Home
last modified time | relevance | path

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

/external/chromium_org/components/translate/content/browser/
Dcontent_translate_driver.cc55 if (translate_manager_->GetLanguageState().translation_pending()) in InitiateTranslation()
180 translate_manager_->GetLanguageState().translation_declined()) { in NavigationEntryCommitted()
193 if (!translate_manager_->GetLanguageState().page_needs_translation()) in NavigationEntryCommitted()
204 translate_manager_->GetLanguageState().original_language(), in NavigationEntryCommitted()
215 translate_manager_->GetLanguageState().DidNavigate( in DidNavigateAnyFrame()
240 translate_manager_->GetLanguageState().LanguageDetermined( in OnLanguageDetermined()
/external/chromium_org/chrome/browser/translate/
Dchrome_translate_client.cc88 translate::LanguageState& ChromeTranslateClient::GetLanguageState() { in GetLanguageState() function in ChromeTranslateClient
89 return translate_manager_->GetLanguageState(); in GetLanguageState()
135 chrome_translate_client->GetLanguageState().original_language()); in GetTranslateLanguages()
178 GetLanguageState().SetTranslateEnabled(true); in ShowTranslateUI()
179 if (!GetLanguageState().HasLanguageChanged()) in ShowTranslateUI()
337 if (GetLanguageState().InTranslateNavigation()) in ShowBubble()
Dtranslate_manager_browsertest.cc57 chrome_translate_client->GetLanguageState().original_language()); in IN_PROC_BROWSER_TEST_F()
Dchrome_translate_client.h47 translate::LanguageState& GetLanguageState();
Dtranslate_manager_render_view_host_unittest.cc386 chrome_translate_client->GetLanguageState().original_language(); in ShowImplementation()
/external/chromium_org/components/translate/core/browser/
Dtranslate_ui_delegate.cc106 const LanguageState& TranslateUIDelegate::GetLanguageState() { in GetLanguageState() function in translate::TranslateUIDelegate
107 return translate_manager_->GetLanguageState(); in GetLanguageState()
194 translate_manager_->GetLanguageState().set_translation_declined(true); in TranslationDeclined()
210 translate_manager_->GetLanguageState().SetTranslateEnabled(false); in SetLanguageBlocked()
232 translate_manager_->GetLanguageState().SetTranslateEnabled(false); in SetSiteBlacklist()
Dtranslate_ui_delegate.h40 const LanguageState& GetLanguageState();
Dtranslate_manager.h100 LanguageState& GetLanguageState();
Dtranslate_infobar_delegate.cc83 translate_manager->GetLanguageState().InTranslateNavigation()) { in Create()
Dtranslate_manager.cc389 LanguageState& TranslateManager::GetLanguageState() { in GetLanguageState() function in translate::TranslateManager
/external/chromium_org/chrome/browser/ui/
Dbrowser_content_translate_driver_observer.cc27 chrome_translate_client->GetLanguageState(); in OnIsPageTranslatedChanged()
Dbrowser_commands.cc798 if (chrome_translate_client->GetLanguageState().translation_pending()) in Translate()
800 else if (chrome_translate_client->GetLanguageState().IsPageTranslated()) in Translate()
Dbrowser_browsertest.cc1432 chrome_translate_client->GetLanguageState().original_language()); in IN_PROC_BROWSER_TEST_F()
1438 chrome_translate_client->GetLanguageState().original_language()); in IN_PROC_BROWSER_TEST_F()
1453 chrome_translate_client->GetLanguageState().original_language()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/translate/
Dtranslate_bubble_model_impl.cc112 ui_delegate_->GetLanguageState(); in IsPageTranslatedInCurrentLanguages()
/external/chromium_org/chrome/browser/renderer_context_menu/
Drender_view_context_menu.cc1044 chrome_translate_client->GetLanguageState().original_language(); in IsCommandIdEnabled()
1054 !chrome_translate_client->GetLanguageState().IsPageTranslated() && in IsCommandIdEnabled()
1555 chrome_translate_client->GetLanguageState().IsPageTranslated() || in ExecuteCommand()
1556 chrome_translate_client->GetLanguageState().translation_pending()) { in ExecuteCommand()
1560 chrome_translate_client->GetLanguageState().original_language(); in ExecuteCommand()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc1616 if (!chrome_translate_client->GetLanguageState() in RunAsync()
1626 chrome_translate_client->GetLanguageState().original_language())); in RunAsync()
/external/chromium_org/chrome/browser/ui/cocoa/
Dbrowser_window_cocoa.mm498 chrome_translate_client->GetLanguageState();
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dlocation_bar_view_mac.mm751 ChromeTranslateClient::FromWebContents(web_contents)->GetLanguageState();
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dlocation_bar_view.cc1152 ChromeTranslateClient::FromWebContents(web_contents)->GetLanguageState(); in RefreshTranslateIcon()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view.cc1174 chrome_translate_client->GetLanguageState(); in ShowTranslateBubble()
/external/chromium_org/chrome/browser/policy/
Dpolicy_browsertest.cc2048 chrome_translate_client->GetLanguageState(); in IN_PROC_BROWSER_TEST_F()