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

Unified Diff: ui/native_theme/native_theme_win.h

Issue 1797053002: Move theme part drawing functions only used on Windows to NativeThemeWin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile Created 4 years, 9 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 | « ui/native_theme/native_theme_aura.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 8a1c3bf218037060e979776be43eaf714e6bc908..03483650bc57ab4f54b36911a12a9fb7621e5696 100644
--- a/ui/native_theme/native_theme_win.h
+++ b/ui/native_theme/native_theme_win.h
@@ -125,6 +125,11 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
// Update the locally cached set of system colors.
void UpdateSystemColors();
+ // Painting functions that paint to SkCanvas.
+ void PaintMenuSeparator(SkCanvas* canvas, const gfx::Rect& rect) const;
+ void PaintMenuGutter(SkCanvas* canvas, const gfx::Rect& rect) const;
+ void PaintMenuBackground(SkCanvas* canvas, const gfx::Rect& rect) const;
+
// Paint directly to canvas' HDC.
void PaintDirect(SkCanvas* canvas,
Part part,
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698