| Index: gfx/native_theme_win.h
|
| diff --git a/gfx/native_theme_win.h b/gfx/native_theme_win.h
|
| index 504ce4629008f16a88bf41ea63e1755541cec1a8..51751054cbecc44dea19c9221f63e664693e4754 100644
|
| --- a/gfx/native_theme_win.h
|
| +++ b/gfx/native_theme_win.h
|
| @@ -43,6 +43,7 @@ class NativeTheme {
|
| TEXTFIELD,
|
| TRACKBAR,
|
| WINDOW,
|
| + PROGRESS,
|
| LAST
|
| };
|
|
|
| @@ -207,6 +208,12 @@ class NativeTheme {
|
| RECT* rect,
|
| skia::PlatformCanvas* canvas) const;
|
|
|
| + HRESULT PaintProgressBar(HDC hdc,
|
| + RECT* bar_rect,
|
| + int value_part_id,
|
| + RECT* value_rect,
|
| + skia::PlatformCanvas* canvas) const;
|
| +
|
| bool IsThemingActive() const;
|
|
|
| HRESULT GetThemePartSize(ThemeName themeName,
|
| @@ -269,6 +276,7 @@ class NativeTheme {
|
|
|
| // Returns a handle to the theme data.
|
| HANDLE GetThemeHandle(ThemeName theme_name) const;
|
| + HRGN GetClipHandle() const;
|
|
|
| // Function pointers into uxtheme.dll.
|
| DrawThemeBackgroundPtr draw_theme_;
|
| @@ -284,7 +292,8 @@ class NativeTheme {
|
|
|
| // Handle to uxtheme.dll.
|
| HMODULE theme_dll_;
|
| -
|
| + // A cache of original clipping handle
|
| + mutable HRGN clip_;
|
| // A cache of open theme handles.
|
| mutable HANDLE theme_handles_[LAST];
|
|
|
|
|