| 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 fcf68d99634379baa24d16970b50a7c17b9f5b6d..9d83c19246b90090e43ddaa40fcbe6be403d1907 100644
|
| --- a/chrome/browser/ui/cocoa/l10n_util.h
|
| +++ b/chrome/browser/ui/cocoa/l10n_util.h
|
| @@ -43,4 +43,17 @@ extern const base::Feature kExperimentalMacRTL;
|
| // uses of base::i18n::IsRTL().
|
| bool ShouldDoExperimentalRTLLayout();
|
|
|
| +// 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
|
|
|