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

Unified Diff: chrome/browser/ui/cocoa/browser_window_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 | « no previous file | chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
index 9af374e6fbd853e6737c09108988f14395f940e8..8ddd5622038b2aef11caba5d9b1ef15d45a81cc3 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -1651,10 +1651,6 @@ bool IsTabDetachingInFullscreenEnabled() {
[[AvatarIconController alloc] initWithBrowser:browser_.get()]);
}
view = [avatarButtonController_ view];
- if (cocoa_l10n_util::ShouldDoExperimentalRTLLayout())
- [view setAutoresizingMask:NSViewMaxXMargin | NSViewMinYMargin];
- else
- [view setAutoresizingMask:NSViewMinXMargin | NSViewMinYMargin];
[view setHidden:![self shouldShowAvatar]];
// Install the view.
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698