Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: components/translate/core/browser/translate_manager.cc

Issue 2130623002: rollback omnibar icon changes based on UX feedback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix patch/merge issue Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/translate/core/browser/translate_ui_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/browser/translate_manager.cc
diff --git a/components/translate/core/browser/translate_manager.cc b/components/translate/core/browser/translate_manager.cc
index 689b70abadafdd04cda61e97e886500dfc546990..9de6910142947c366c9ce227ff78d874f936f506 100644
--- a/components/translate/core/browser/translate_manager.cc
+++ b/components/translate/core/browser/translate_manager.cc
@@ -167,12 +167,6 @@ void TranslateManager::InitiateTranslation(const std::string& page_lang) {
return;
}
- // In the 2016Q2 UI, enable the translate in language state once we reach
- // the above check and let omnibar to display the translate icon.
- if (base::FeatureList::IsEnabled(kTranslateUI2016Q2)) {
- language_state_.SetTranslateEnabled(true);
- }
-
TranslateAcceptLanguages* accept_languages =
translate_client_->GetTranslateAcceptLanguages();
// Don't translate any user black-listed languages.
« no previous file with comments | « no previous file | components/translate/core/browser/translate_ui_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698