diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-20 23:30:47 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-20 23:30:47 +0000 |
commit | 49fdb5a9291f52ce995a2e16c4f1fe6cfdef3edb (patch) | |
tree | 6cf2ef095ff7af44dd21ca691f9d5f0523095265 /base/gfx/native_theme.h | |
parent | 3362262e25c76beabd31a5e7e3e2cfedfe1f5ac1 (diff) | |
download | chromium_src-49fdb5a9291f52ce995a2e16c4f1fe6cfdef3edb.zip chromium_src-49fdb5a9291f52ce995a2e16c4f1fe6cfdef3edb.tar.gz chromium_src-49fdb5a9291f52ce995a2e16c4f1fe6cfdef3edb.tar.bz2 |
Chromium side of trackbar drawing. This is needed to support <input type="range">.
This code will not be called until I land the upstream hooks to RenderThemeChromiumWin.cpp to use it.
BUG=8931
Review URL: http://codereview.chromium.org/42451
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12231 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx/native_theme.h')
-rw-r--r-- | base/gfx/native_theme.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/base/gfx/native_theme.h b/base/gfx/native_theme.h index 2e923d4..519bf94 100644 --- a/base/gfx/native_theme.h +++ b/base/gfx/native_theme.h @@ -41,6 +41,7 @@ class NativeTheme { STATUS, TAB, TEXTFIELD, + TRACKBAR, WINDOW, LAST }; @@ -199,6 +200,13 @@ class NativeTheme { bool fill_content_area, bool draw_edges) const; + HRESULT PaintTrackbar(HDC hdc, + int part_id, + int state_id, + int classic_state, + RECT* rect, + skia::PlatformCanvasWin* canvas) const; + bool IsThemingActive() const; HRESULT GetThemePartSize(ThemeName themeName, |