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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VersionUtilMac_h 5 #ifndef VersionUtilMac_h
6 #define VersionUtilMac_h 6 #define VersionUtilMac_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // Mavericks is Mac OS X 10.7, Darwin 11. 12 // Mavericks is Mac OS X 10.7, Darwin 11.
13 PLATFORM_EXPORT bool IsOSLionOrEarlier(); 13 PLATFORM_EXPORT bool IsOSLionOrEarlier();
14 14
15 // Mavericks is Mac OS X 10.9, Darwin 13. 15 // Mavericks is Mac OS X 10.9, Darwin 13.
16 PLATFORM_EXPORT bool IsOSMavericksOrEarlier(); 16 PLATFORM_EXPORT bool IsOSMavericksOrEarlier();
17 PLATFORM_EXPORT bool IsOSMavericks(); 17 PLATFORM_EXPORT bool IsOSMavericks();
18 18
19 // Yosemite is Mac OS X 10.10, Darwin 14.
20 PLATFORM_EXPORT bool IsOSYosemite();
21
22 // El Capitan is Mac OS X 10.11, Darwin 15.
23 PLATFORM_EXPORT bool IsOSElCapitan();
24
19 } // namespace blink 25 } // namespace blink
20 26
21 #endif // VersionUtilMac_h 27 #endif // VersionUtilMac_h
OLDNEW
« 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