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

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

Issue 2901973002: [Mac] Mirror profile switcher UI in RTL (Closed)
Patch Set: + supervised user badge 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
Index: chrome/browser/ui/cocoa/l10n_util.h
diff --git a/chrome/browser/ui/cocoa/l10n_util.h b/chrome/browser/ui/cocoa/l10n_util.h
index cf36a2229a3d8da367555b3c68d2c48ac5fa8110..3d0997b71c81fab26009c08fbbee3cf358fa53a9 100644
--- a/chrome/browser/ui/cocoa/l10n_util.h
+++ b/chrome/browser/ui/cocoa/l10n_util.h
@@ -56,6 +56,10 @@ NSCellImagePosition LeadingCellImagePosition();
// Returns NSImageTrailing when available (10.12+), otherwise
// NSImageRight for LTR and NSImageLeft in RTL.
NSCellImagePosition TrailingCellImagePosition();
+// Returns NSMinXEdge for LTR and NSMaxXEdge for RTL.
+NSRectEdge LeadingEdge();
+// Returns NSMaxXEdge for LTR and NSMinXEdge for RTL.
+NSRectEdge TrailingEdge();
// Returns an autoreleased image containing |image| flipped
// across the x axis.
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/l10n_util.mm » ('j') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698