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

Unified Diff: ui/native_theme/native_theme_win.h

Issue 1482863002: Add support for drawing window caption buttons on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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_base.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..72976cda7c7e47ba8d0c4a413c5f17b28ef9a734 100644
--- a/ui/native_theme/native_theme_win.h
+++ b/ui/native_theme/native_theme_win.h
@@ -259,6 +259,12 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
HRESULT PaintTabPanelBackground(HDC hdc, const gfx::Rect& rect) const;
+ HRESULT PaintCaptionButton(HDC hdc,
+ Part part,
+ State state,
+ const gfx::Rect&rect,
+ const ExtraParams& extra) const;
+
HRESULT PaintTextField(HDC hdc,
Part part,
State state,
« no previous file with comments | « ui/native_theme/native_theme_base.cc ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698