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

Unified Diff: ui/native_theme/native_theme_base.cc

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.h ('k') | ui/native_theme/native_theme_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_base.cc
diff --git a/ui/native_theme/native_theme_base.cc b/ui/native_theme/native_theme_base.cc
index 017b07afe9675c99b1c2fc2e4b1362d12cd26732..a2f5d7087b15f8b7401a60a07204a57091e454cc 100644
--- a/ui/native_theme/native_theme_base.cc
+++ b/ui/native_theme/native_theme_base.cc
@@ -150,6 +150,10 @@ gfx::Size NativeThemeBase::GetPartSize(Part part,
case kTrackbarThumb:
case kTrackbarTrack:
case kWindowResizeGripper:
+ case kCaptionMin:
+ case kCaptionMax:
+ case kCaptionRestore:
+ case kCaptionClose:
NOTIMPLEMENTED();
break;
default:
@@ -262,6 +266,10 @@ void NativeThemeBase::Paint(SkCanvas* canvas,
case kTrackbarThumb:
case kTrackbarTrack:
case kWindowResizeGripper:
+ case kCaptionMin:
+ case kCaptionMax:
+ case kCaptionRestore:
+ case kCaptionClose:
NOTIMPLEMENTED();
break;
default:
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698