Chromium Code Reviews| Index: ui/native_theme/native_theme_mac.h |
| diff --git a/ui/native_theme/native_theme_mac.h b/ui/native_theme/native_theme_mac.h |
| index 6fe3f61d1c47405df19cfb0d264944203507b706..67b1a60233363a200db988b228ae148ffc2550d4 100644 |
| --- a/ui/native_theme/native_theme_mac.h |
| +++ b/ui/native_theme/native_theme_mac.h |
| @@ -14,6 +14,8 @@ namespace ui { |
| // Mac implementation of native theme support. |
| class NATIVE_THEME_EXPORT NativeThemeMac : public NativeThemeBase { |
| public: |
| + static const int kComboboxCornerRadius = 5; |
| + |
| static NativeThemeMac* instance(); |
| // Overridden from NativeTheme: |
| @@ -30,6 +32,10 @@ class NATIVE_THEME_EXPORT NativeThemeMac : public NativeThemeBase { |
| const gfx::Rect& rect, |
| const MenuItemExtraParams& menu_item) const override; |
| + static skia::RefPtr<SkShader> GetButtonBackgroundShader( |
|
tapted
2016/03/22 23:04:32
nit: should have a comment
Elly Fong-Jones
2016/03/23 18:07:44
Done.
|
| + State state, |
| + int height); |
| + |
| private: |
| NativeThemeMac(); |
| ~NativeThemeMac() override; |