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

Unified Diff: ui/native_theme/native_theme_win.cc

Issue 1817613002: MacViews: draw Mac combobox arrows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move drawing to PlatformStyle/Combobox 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
Index: ui/native_theme/native_theme_win.cc
diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
index 8544127572261b50c5d3c05d700d1c03d2c5c13a..c04eb1117921606cc5144fcfbb1870fa3eded42a 100644
--- a/ui/native_theme/native_theme_win.cc
+++ b/ui/native_theme/native_theme_win.cc
@@ -242,9 +242,6 @@ void NativeThemeWin::Paint(SkCanvas* canvas,
return;
switch (part) {
- case kComboboxArrow:
- CommonThemePaintComboboxArrow(canvas, rect);
- return;
case kMenuPopupGutter:
PaintMenuGutter(canvas, rect);
return;
@@ -464,7 +461,6 @@ void NativeThemeWin::PaintDirect(SkCanvas* canvas,
case kWindowResizeGripper:
PaintWindowResizeGripper(hdc, rect);
return;
- case kComboboxArrow:
case kSliderTrack:
case kSliderThumb:
case kMaxPart:
@@ -1713,7 +1709,6 @@ NativeThemeWin::ThemeName NativeThemeWin::GetThemeName(Part part) {
return TEXTFIELD;
case kWindowResizeGripper:
return STATUS;
- case kComboboxArrow:
case kMenuCheckBackground:
case kMenuPopupBackground:
case kMenuItemBackground:
@@ -1759,7 +1754,6 @@ int NativeThemeWin::GetWindowsPart(Part part,
return SBP_THUMBBTNVERT;
case kWindowResizeGripper:
return SP_GRIPPER;
- case kComboboxArrow:
case kInnerSpinButton:
case kMenuList:
case kMenuCheckBackground:
@@ -1953,7 +1947,6 @@ int NativeThemeWin::GetWindowsState(Part part,
NOTREACHED();
return 0;
}
- case kComboboxArrow:
case kInnerSpinButton:
case kMenuList:
case kMenuCheckBackground:

Powered by Google App Engine
This is Rietveld 408576698