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 "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/native_theme/native_theme_base.h" | 9 #include "ui/native_theme/native_theme_base.h" |
10 #include "ui/native_theme/native_theme_export.h" | 10 #include "ui/native_theme/native_theme_export.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 State state, | 33 State state, |
34 const gfx::Rect& rect) const override; | 34 const gfx::Rect& rect) const override; |
35 void PaintMenuPopupBackground( | 35 void PaintMenuPopupBackground( |
36 SkCanvas* canvas, | 36 SkCanvas* canvas, |
37 const gfx::Size& size, | 37 const gfx::Size& size, |
38 const MenuBackgroundExtraParams& menu_background) const override; | 38 const MenuBackgroundExtraParams& menu_background) const override; |
39 void PaintMenuItemBackground( | 39 void PaintMenuItemBackground( |
40 SkCanvas* canvas, | 40 SkCanvas* canvas, |
41 State state, | 41 State state, |
42 const gfx::Rect& rect, | 42 const gfx::Rect& rect, |
43 const MenuListExtraParams& menu_list) const override; | 43 const MenuItemExtraParams& menu_item) const override; |
44 | 44 |
45 private: | 45 private: |
46 NativeThemeMac(); | 46 NativeThemeMac(); |
47 ~NativeThemeMac() override; | 47 ~NativeThemeMac() override; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac); | 49 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace ui | 52 } // namespace ui |
53 | 53 |
54 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ | 54 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ |
OLD | NEW |