OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ | 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ |
6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ | 6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ |
7 | 7 |
8 #include "ui/native_theme/fallback_theme.h" | 8 #include "ui/native_theme/fallback_theme.h" |
9 #include "ui/native_theme/native_theme_export.h" | 9 #include "ui/native_theme/native_theme_export.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... | |
22 // Overridden from NativeThemeBase: | 22 // Overridden from NativeThemeBase: |
23 virtual void PaintMenuPopupBackground( | 23 virtual void PaintMenuPopupBackground( |
24 SkCanvas* canvas, | 24 SkCanvas* canvas, |
25 const gfx::Size& size, | 25 const gfx::Size& size, |
26 const MenuBackgroundExtraParams& menu_background) const OVERRIDE; | 26 const MenuBackgroundExtraParams& menu_background) const OVERRIDE; |
27 virtual void PaintMenuItemBackground( | 27 virtual void PaintMenuItemBackground( |
28 SkCanvas* canvas, | 28 SkCanvas* canvas, |
29 State state, | 29 State state, |
30 const gfx::Rect& rect, | 30 const gfx::Rect& rect, |
31 const MenuListExtraParams& menu_list) const OVERRIDE; | 31 const MenuListExtraParams& menu_list) const OVERRIDE; |
32 virtual void PaintScrollbarTrack( | |
tapted
2014/08/11 01:00:58
Nit: place these above the PaintMenu* functions, t
Andre
2014/08/12 21:42:37
Done.
| |
33 SkCanvas* canvas, | |
34 Part part, | |
35 State state, | |
36 const ScrollbarTrackExtraParams& extra_params, | |
37 const gfx::Rect& rect) const OVERRIDE; | |
38 virtual void PaintScrollbarThumb(SkCanvas* sk_canvas, | |
39 Part part, | |
40 State state, | |
41 const gfx::Rect& rect) const OVERRIDE; | |
32 | 42 |
33 private: | 43 private: |
34 NativeThemeMac(); | 44 NativeThemeMac(); |
35 virtual ~NativeThemeMac(); | 45 virtual ~NativeThemeMac(); |
36 | 46 |
37 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac); | 47 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac); |
38 }; | 48 }; |
39 | 49 |
40 } // namespace ui | 50 } // namespace ui |
41 | 51 |
42 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ | 52 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ |
OLD | NEW |