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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm

Issue 2697293003: [Mac RTL] Only tie the avatar button to the left side of the screen when it's moved to that side. (Closed)
Patch Set: Created 3 years, 10 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/browser_window_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
index c868408137d7c97e5f9562ee8924d6fa9ce62e91..d749a22b8041d1276024806a8f946c7301088e07 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
@@ -186,7 +186,7 @@ const CGFloat kFrameColorDarkUpperBound = 0.33;
[[avatarButton cell] setHighlightsBy:NSNoCellMask];
[avatarButton setBordered:YES];
- if (cocoa_l10n_util::ShouldDoExperimentalRTLLayout())
+ if (cocoa_l10n_util::ShouldFlipWindowControlsInRTL())
[avatarButton setAutoresizingMask:NSViewMaxXMargin | NSViewMinYMargin];
else
[avatarButton setAutoresizingMask:NSViewMinXMargin | NSViewMinYMargin];
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698