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

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: Remove PaintComboboxArrow 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
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 8539fe663c5596101958d19bfaa0a28bd1c075ad..907dd903193d3832a832222d46c86995546f2e71 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:
@@ -1708,7 +1704,6 @@ NativeThemeWin::ThemeName NativeThemeWin::GetThemeName(Part part) {
return TEXTFIELD;
case kWindowResizeGripper:
return STATUS;
- case kComboboxArrow:
case kMenuCheckBackground:
case kMenuPopupBackground:
case kMenuItemBackground:
@@ -1754,7 +1749,6 @@ int NativeThemeWin::GetWindowsPart(Part part,
return SBP_THUMBBTNVERT;
case kWindowResizeGripper:
return SP_GRIPPER;
- case kComboboxArrow:
case kInnerSpinButton:
case kMenuList:
case kMenuCheckBackground:
@@ -1948,7 +1942,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