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

Side by Side Diff: Source/platform/mac/VersionUtilMac.h

Issue 1288823004: Reland #1: Fix the mechanism by which Blink determines OSX version number. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix logic error in unit test. 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
« no previous file with comments | « Source/platform/mac/ThemeMac.mm ('k') | Source/platform/mac/VersionUtilMac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
13 PLATFORM_EXPORT bool IsOSLionOrEarlier();
14
12 // Mavericks is Mac OS X 10.9, Darwin 13. 15 // Mavericks is Mac OS X 10.9, Darwin 13.
13 PLATFORM_EXPORT bool IsOSMavericksOrEarlier(); 16 PLATFORM_EXPORT bool IsOSMavericksOrEarlier();
14 PLATFORM_EXPORT bool IsOSMavericks(); 17 PLATFORM_EXPORT bool IsOSMavericks();
15 18
16 } // namespace blink 19 } // namespace blink
17 20
18 #endif // VersionUtilMac_h 21 #endif // VersionUtilMac_h
OLDNEW
« no previous file with comments | « Source/platform/mac/ThemeMac.mm ('k') | Source/platform/mac/VersionUtilMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698