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

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

Issue 2852043002: Add a flag to enable Translate Compact Infobar on Android. (Closed)
Patch Set: fix Created 3 years, 7 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 | « components/translate/core/browser/translate_infobar_delegate.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/browser/translate_infobar_delegate.cc
diff --git a/components/translate/core/browser/translate_infobar_delegate.cc b/components/translate/core/browser/translate_infobar_delegate.cc
index c945a5c692d9ee1ce8b7912fdd1fc78cefc2944b..5fa42a5c705c0dbf1ac90aca3eba30477184e3d5 100644
--- a/components/translate/core/browser/translate_infobar_delegate.cc
+++ b/components/translate/core/browser/translate_infobar_delegate.cc
@@ -28,10 +28,6 @@ namespace translate {
namespace {
-// Feature flag for "Translate UI Redesign" project.
-const base::Feature kTranslateCompactUI{"TranslateCompactUI",
- base::FEATURE_DISABLED_BY_DEFAULT};
-
// Counts used to decide whether infobars should be shown.
// Android and iOS implementations do not offer a drop down (for space reasons),
// so we are more aggressive about showing the shortcut to never translate.
@@ -52,6 +48,9 @@ const int kNeverTranslateMinCount = 3;
} // namespace
+const base::Feature kTranslateCompactUI{"TranslateCompactUI",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
const size_t TranslateInfoBarDelegate::kNoIndex = TranslateUIDelegate::kNoIndex;
TranslateInfoBarDelegate::~TranslateInfoBarDelegate() {
« no previous file with comments | « components/translate/core/browser/translate_infobar_delegate.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698