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

Unified Diff: chrome/browser/ui/cocoa/l10n_util.mm

Issue 2873763003: Rename and move ExperimentalMacRTL flag (Closed)
Patch Set: 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 | « chrome/browser/ui/cocoa/l10n_util.h ('k') | chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/l10n_util.mm
diff --git a/chrome/browser/ui/cocoa/l10n_util.mm b/chrome/browser/ui/cocoa/l10n_util.mm
index 99935ef996ba0489d1edc9eb348e6d8794a47d91..857770e2c2c0b5787b119b3288016f41cd785cc4 100644
--- a/chrome/browser/ui/cocoa/l10n_util.mm
+++ b/chrome/browser/ui/cocoa/l10n_util.mm
@@ -8,6 +8,7 @@
#include "base/mac/mac_util.h"
#include "base/strings/string_util.h"
#include "base/strings/sys_string_conversions.h"
+#include "chrome/common/chrome_features.h"
#import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTweaker.h"
namespace cocoa_l10n_util {
@@ -84,12 +85,8 @@ NSString* TooltipForURLAndTitle(NSString* url, NSString* title) {
return [NSString stringWithFormat:@"%@\n%@", title, url];
}
-const base::Feature kExperimentalMacRTL{"ExperimentalMacRTL",
- base::FEATURE_DISABLED_BY_DEFAULT};
-
bool ShouldDoExperimentalRTLLayout() {
- return base::i18n::IsRTL() &&
- base::FeatureList::IsEnabled(kExperimentalMacRTL);
+ return base::i18n::IsRTL() && base::FeatureList::IsEnabled(features::kMacRTL);
}
bool ShouldFlipWindowControlsInRTL() {
« no previous file with comments | « chrome/browser/ui/cocoa/l10n_util.h ('k') | chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698