Chromium Code Reviews| Index: ui/native_theme/common_theme.cc |
| diff --git a/ui/native_theme/common_theme.cc b/ui/native_theme/common_theme.cc |
| index cf6b6afdaaa165a1aec1a5a316fcdbe09671ad66..12a162158d176ad4e6a794f39223ac6d2293409d 100644 |
| --- a/ui/native_theme/common_theme.cc |
| +++ b/ui/native_theme/common_theme.cc |
| @@ -405,22 +405,6 @@ SkColor GetAuraColor(NativeTheme::ColorId color_id, |
| return gfx::kPlaceholderColor; |
| } |
| -gfx::Size CommonThemeGetPartSize(NativeTheme::Part part, |
|
tapted
2016/04/05 08:45:01
remove the declaration in common_theme.h
Elly Fong-Jones
2016/04/05 20:04:24
Done.
|
| - NativeTheme::State state, |
| - const NativeTheme::ExtraParams& extra) { |
| - gfx::Size size; |
| - switch (part) { |
| - case NativeTheme::kComboboxArrow: |
| - return ui::ResourceBundle::GetSharedInstance().GetImageNamed( |
| - IDR_MENU_DROPARROW).Size(); |
| - |
| - default: |
| - break; |
| - } |
| - |
| - return size; |
| -} |
| - |
| void CommonThemePaintComboboxArrow(SkCanvas* canvas, const gfx::Rect& rect) { |
|
tapted
2016/04/05 08:45:02
Can this method (and the declaration) be removed?
Elly Fong-Jones
2016/04/05 20:04:24
Done.
|
| gfx::ImageSkia* arrow = ui::ResourceBundle::GetSharedInstance(). |
| GetImageSkiaNamed(IDR_MENU_DROPARROW); |