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 7e6175c13c4f4cf9adf64776a699b07fd69e1b6e..5a3ac588cd4cb58155664360b07e9bdf1569e2d2 100644 |
--- a/chrome/browser/ui/cocoa/l10n_util.h |
+++ b/chrome/browser/ui/cocoa/l10n_util.h |
@@ -52,6 +52,15 @@ bool ShouldDoExperimentalRTLLayout(); |
// OSes would make Chrome stick out. |
bool ShouldFlipWindowControlsInRTL(); |
+// TODO(lgrey): Remove these when all builds are on 10.12 SDK. |
shrike
2017/05/03 17:35:55
Can you add something like a check for min deploym
lgrey
2017/05/03 21:32:48
Done
|
+ |
+// Returns NSImageLeading when available (10.12+), otherwise |
+// NSImageLeft for LTR and NSImageRight in RTL. |
+NSCellImagePosition LeadingCellImagePosition(); |
+// Returns NSImageTrailing when available (10.12+), otherwise |
+// NSImageRight for LTR and NSImageLeft in RTL. |
+NSCellImagePosition TrailingCellImagePosition(); |
+ |
// Returns an autoreleased image containing |image| flipped |
// across the x axis. |
NSImage* FlippedImage(NSImage* image); |