Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Unified Diff: ui/native_theme/native_theme_win.h

Issue 2182083002: Remove BitmapPlatformDevice from NativeThemeWin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch back to initialization-via-construction once Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/skia_utils_win.cc ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_win.h
diff --git a/ui/native_theme/native_theme_win.h b/ui/native_theme/native_theme_win.h
index 03483650bc57ab4f54b36911a12a9fb7621e5696..fa2c82ce608fe55a610904f8a99c81202d8c8b56 100644
--- a/ui/native_theme/native_theme_win.h
+++ b/ui/native_theme/native_theme_win.h
@@ -131,7 +131,8 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
void PaintMenuBackground(SkCanvas* canvas, const gfx::Rect& rect) const;
// Paint directly to canvas' HDC.
- void PaintDirect(SkCanvas* canvas,
+ void PaintDirect(SkCanvas* destination_canvas,
+ HDC hdc,
Part part,
State state,
const gfx::Rect& rect,
@@ -140,7 +141,8 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
// Create a temporary HDC, paint to that, clean up the alpha values in the
// temporary HDC, and then blit the result to canvas. This is to work around
// the fact that Windows XP and some classic themes give bogus alpha values.
- void PaintIndirect(SkCanvas* canvas,
+ void PaintIndirect(SkCanvas* destination_canvas,
+ HDC destination_hdc,
Part part,
State state,
const gfx::Rect& rect,
« no previous file with comments | « skia/ext/skia_utils_win.cc ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698