diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-10 20:42:47 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-10 20:42:47 +0000 |
commit | 5981e2d822372fb03c7e97ac122f4f7290dd499f (patch) | |
tree | aea82a17bc92fbe092720dbb879202c5dea83976 /ui/native_theme | |
parent | c3da595f4c87b295db2bfbf56fcf994f53881449 (diff) | |
download | chromium_src-5981e2d822372fb03c7e97ac122f4f7290dd499f.zip chromium_src-5981e2d822372fb03c7e97ac122f4f7290dd499f.tar.gz chromium_src-5981e2d822372fb03c7e97ac122f4f7290dd499f.tar.bz2 |
Move ui/base/win/dpi.h to ui/gfx/dpi_win.h
Also moves hidpi switch to gfx/switches.h
R=sky@chromium.org
http://crbug.com/103304
Review URL: https://codereview.chromium.org/23451036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/native_theme')
-rw-r--r-- | ui/native_theme/native_theme_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc index 1839de3..79081b7 100644 --- a/ui/native_theme/native_theme_win.cc +++ b/ui/native_theme/native_theme_win.cc @@ -23,8 +23,8 @@ #include "third_party/skia/include/core/SkCanvas.h" #include "third_party/skia/include/core/SkColorPriv.h" #include "third_party/skia/include/core/SkShader.h" -#include "ui/base/win/dpi.h" #include "ui/gfx/color_utils.h" +#include "ui/gfx/dpi_win.h" #include "ui/gfx/gdi_util.h" #include "ui/gfx/rect.h" #include "ui/gfx/rect_conversions.h" @@ -243,7 +243,7 @@ gfx::Size NativeThemeWin::GetPartSize(Part part, case kScrollbarVerticalThumb: case kScrollbarHorizontalTrack: case kScrollbarVerticalTrack: - size.cx = size.cy = ui::win::GetSystemMetricsInDIP(SM_CXVSCROLL); + size.cx = size.cy = gfx::win::GetSystemMetricsInDIP(SM_CXVSCROLL); return gfx::Size(size.cx, size.cy); } |