From 935aa54d9a5e2e617c61c9f8dcea398768413443 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Fri, 15 Oct 2010 01:59:15 +0000 Subject: Move windows version-related stuff out of base/win_util and into base/win/windows_version. Many files now only need to include this instead of all of win_util. Remove a bunch of unused code from base/win_util. There was a surprising amount. Replace the AppUserModel property key with the one from the SDK now that we use the Win7 SDK. Move GetLogonSessionOnlyDACL from win_util to ipc since it's only used in that one place. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62694 0039d316-1c4b-4281-b951-d872f2087c98 --- gfx/native_theme_win.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gfx/native_theme_win.cc') diff --git a/gfx/native_theme_win.cc b/gfx/native_theme_win.cc index 5ee77f9..6d143c9 100644 --- a/gfx/native_theme_win.cc +++ b/gfx/native_theme_win.cc @@ -11,7 +11,7 @@ #include "base/logging.h" #include "base/scoped_handle.h" -#include "base/win_util.h" +#include "base/win/windows_version.h" #include "gfx/gdi_util.h" #include "gfx/rect.h" #include "skia/ext/platform_canvas.h" @@ -535,7 +535,7 @@ HRESULT NativeTheme::PaintProgressBar(HDC hdc, // The thickness of the bar frame inside |value_rect| const int kXPBarPadding = 3; - bool pre_vista = win_util::GetWinVersion() < win_util::WINVERSION_VISTA; + bool pre_vista = base::win::GetVersion() < base::win::VERSION_VISTA; HANDLE handle = GetThemeHandle(PROGRESS); if (handle && draw_theme_ && draw_theme_ex_) { draw_theme_(handle, hdc, PP_BAR, 0, bar_rect, NULL); -- cgit v1.1