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 a7d8a8069652f35ec6f90a85f348fb7419e0b50c..dfab8680e14ada13b736d3fa281b065597fa3a37 100644 |
--- a/chrome/browser/ui/cocoa/l10n_util.h |
+++ b/chrome/browser/ui/cocoa/l10n_util.h |
@@ -49,4 +49,17 @@ bool ShouldDoExperimentalRTLLayout(); |
// OSes would make Chrome stick out. |
bool ShouldFlipWindowControlsInRTL(); |
+// TODO(lgrey): Remove these when all builds are on 10.12 SDK. |
+ |
+// 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); |
+ |
} // namespace cocoa_l10n_util |