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

Unified Diff: Source/platform/mac/VersionUtilMac.h

Issue 1299713004: Reland #2: Add a short term solution to fix OSX 10.11 system font rendering problems. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against top of tree. Created 5 years, 4 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 | « Source/platform/fonts/mac/FontFamilyMatcherMacTest.mm ('k') | Source/platform/mac/VersionUtilMac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/VersionUtilMac.h
diff --git a/Source/platform/mac/VersionUtilMac.h b/Source/platform/mac/VersionUtilMac.h
index 2eee2d069fe26637c7b2def4742d9f93a0f3c74a..6be479880ee2b8a4cc36f98e54b13823339ca34a 100644
--- a/Source/platform/mac/VersionUtilMac.h
+++ b/Source/platform/mac/VersionUtilMac.h
@@ -16,6 +16,12 @@ PLATFORM_EXPORT bool IsOSLionOrEarlier();
PLATFORM_EXPORT bool IsOSMavericksOrEarlier();
PLATFORM_EXPORT bool IsOSMavericks();
+// Yosemite is Mac OS X 10.10, Darwin 14.
+PLATFORM_EXPORT bool IsOSYosemite();
+
+// El Capitan is Mac OS X 10.11, Darwin 15.
+PLATFORM_EXPORT bool IsOSElCapitan();
+
} // namespace blink
#endif // VersionUtilMac_h
« no previous file with comments | « Source/platform/fonts/mac/FontFamilyMatcherMacTest.mm ('k') | Source/platform/mac/VersionUtilMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698