diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-12 20:23:10 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-12 20:23:10 +0000 |
commit | edb4c82c5b851305a2045fc4661912c7d6b10de4 (patch) | |
tree | 4df3f11cf27ed31811637ef3149affc3bd056f39 /base/win_util.h | |
parent | 3fad9ce12443c3cecdcb0759586e77ac8a639a4c (diff) | |
download | chromium_src-edb4c82c5b851305a2045fc4661912c7d6b10de4.zip chromium_src-edb4c82c5b851305a2045fc4661912c7d6b10de4.tar.gz chromium_src-edb4c82c5b851305a2045fc4661912c7d6b10de4.tar.bz2 |
Add code to be able to detect windows7 and 2008 in GetWinVersion.
Review URL: http://codereview.chromium.org/21274
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9694 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/win_util.h')
-rw-r--r-- | base/win_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/win_util.h b/base/win_util.h index 2af65a4..5c49efd 100644 --- a/base/win_util.h +++ b/base/win_util.h @@ -23,6 +23,8 @@ enum WinVersion { WINVERSION_XP = 2, WINVERSION_SERVER_2003 = 3, WINVERSION_VISTA = 4, + WINVERSION_2008 = 5, + WINVERSION_WIN7 = 6, }; void GetNonClientMetrics(NONCLIENTMETRICS* metrics); |